Pixy2 Camera - Image Recognition for Arduino & Raspberry Pi

  Рет қаралды 406,975

DroneBot Workshop

DroneBot Workshop

Күн бұрын

Check out the Pixy2, a smart camera with image recognition capabilities!
Pixy2 from DFRobot - www.dfrobot.com/product-1752....
Full article with code at dronebotworkshop.com/pixy2-ca...
More articles and tutorials: dronebotworkshop.com
Join the conversation on the forum: forum.dronebotworkshop.com
Subscribe to the newsletter and stay in touch: dronebotworkshop.com/subscribe/
The Pixy2 is a low cost yet powerful camera that is capable of object recognition, line tracking, and simple barcode reading. The device is the latest iteration of the Pixy Cam, a project built by Charmed Labs in conjunction with the Robotics Institute at Carnegie Mellon University.
With a variety of interfaces and lots of code libraries and samples, the Pixy2 can be used with an Arduino, Raspberry Pi, Beaglebone Black, or just about any computer, microcomputer, or microcontroller.
In this video, I will show you how the Pixy2 works, how to hook it up, and how to train it using software called PixyMon which runs on Windows, Linux, and Mac OS X. I’ll then show you how to easily hook up your Pixy2 to an Arduino and run code to detect an object, lines, intersections, and simple barcodes.
Thanks to its onboard processor the coding for Pixy2 is very simple. It provides a very easy method of adding vision to your next Arduino or Raspberry Pi project.
Here is the table of contents for this video:
00:00 - Introduction
02:18 - Pixy2 Introduction
05:53 - Pixy2 Unboxing
08:02 - Using PixyMon
14:01 - Color Signature Training
20:32 - Arduino Hookup
21:48 - CCC Hello World Demo
27:44 - Line Tracking Intro
29:24 - Line Hello World Demo
As always there is a detailed article on the DroneBot Workshop website.
And while you are there please consider joining my newsletter, it’s my way of keeping in touch - dbot.ws/dbnews.

Пікірлер: 294
@joeritchey4348
@joeritchey4348 5 жыл бұрын
Great video! We’ll explained!! Also, I love the fight that you’re having with keeping your hands from moving around. Please keep the videos coming.
@MrJos2218
@MrJos2218 5 жыл бұрын
I love the way you explain each introduction it makes me more confident in learning arduino.
@realhusky
@realhusky 5 жыл бұрын
Thank you for taking the time to put together really clear and easy to understand content!
@Mystic0Dreamer
@Mystic0Dreamer 5 жыл бұрын
This is a great device for robotics! Thanks for making a video on it. I'll definitely be getting some of these for my robots. I especially like the barcode feature as those can be used to make certain the robot knows which room it's in for certain, etc. Thanks Bill.
@rickrose2235
@rickrose2235 5 жыл бұрын
This tutorial is awesome. Your tutorials just keep getting better and better, & I'm learning a lot.
@infinytower3317
@infinytower3317 5 жыл бұрын
You are one huge treasure trove on the KZfaq planet! Thanks a lot for providing invaluable learning tools!
@Ninjamstrboy
@Ninjamstrboy 5 жыл бұрын
Awesome content! Please do a video on your workshop! It looks super organized and well stocked.
@AngryRamboShow
@AngryRamboShow 5 жыл бұрын
Was hoping you'd be back in the workshop soon! Always a pleasant show!
@Cptnbond
@Cptnbond 5 жыл бұрын
As always well presented material and just at the right pace. Thank you for your work, you will soon reach 100k subscribers.
@tly7486
@tly7486 5 жыл бұрын
you are a high school teacher that I've never had. Thank you!
@ColdHawk
@ColdHawk Жыл бұрын
Wouldn’t one be lucky to have this gentleman teaching tech in the local high school.
@TheSpyder19
@TheSpyder19 5 жыл бұрын
SWEET ! Thank you ! I just ordered one for my Omnibot 2000 upgrade project ! You, Sir, are AWESOME !
@josephmelkin8209
@josephmelkin8209 4 жыл бұрын
Where did you order pixy 2 cam? Pls do reply..thanks in advance
@swapshots4427
@swapshots4427 3 жыл бұрын
I just tore apart my Blade 350QX which has no6 been able to bind since I crashed it. I have decided to build another, which led me to you, which led me to Arduino. My first kits should be in mailbox tomorrow and you will be in my daily routine. Thankyou for your concise content.!
@user-hr5ts9vm8u
@user-hr5ts9vm8u 5 жыл бұрын
I am Korean. I can't speak English. But I am still listening and listening hard. Thank you very much.
@Demirci91
@Demirci91 5 жыл бұрын
Aaaaaaaaaaaaaaaaaaaaaaaaaa yeah you welcome
@technoking6636
@technoking6636 5 жыл бұрын
I am Moroccan I can speak English so i'm learning a lot thank u very much
@user-hr5ts9vm8u
@user-hr5ts9vm8u 5 жыл бұрын
@@technoking6636 These days, translation is easy so you can study as much as you like. I'd like some good information.
@sunwoosik
@sunwoosik 5 жыл бұрын
언어를 떠나서 이분 말씀은 귀에 잘 들어오지 않나요? 진행이나 표정도 편하고 설명도 상당한 준비로 꼼꼼하게 해 주시고, 정말 멋진 분이라 생각 합니다.
@andymouse
@andymouse 5 жыл бұрын
Welcome my friend
@slashghero
@slashghero 5 жыл бұрын
Wow, this is soo beautifully explained!!
@johnroe4360
@johnroe4360 5 жыл бұрын
Another brilliant vid. I think you are an amazing teacher. Wish i had teachers like you when I was at school and college 60 years ago.
@MindTrip888
@MindTrip888 4 жыл бұрын
Agreed. Wish I had this tech 50 years ago. And now days its for under $20 for most things, and some of those sensors less than a few bucks! I am very excited about this now and have SUBSCRIBED with a passion to this YODA in his field. There is NO TRY, Just Do It! ;)
@MindTrip888
@MindTrip888 4 жыл бұрын
Its also good to have come in late, as it were, as I am not hanging out for the next video. For the main ones I want for now are already done and ready to view. Timing is a lot of everything, and keep the ball rolling with the momentum. Hope you are enjoying yourself and expanding your ideas. With a good android phone with USB OTG, I think the software for an AI robot would all be able to fit nicely. Recognition like this Pixy2, and self learning.
@alijabari8715
@alijabari8715 5 жыл бұрын
great great channel. thank you for sharing videos of your workshop
@Eman6240
@Eman6240 5 жыл бұрын
Very well presented. Looks like a very cool device. Gotta get one. By the way, I'm envious of your workshop. Very nice setup.
@HugBearWithAHat
@HugBearWithAHat 5 жыл бұрын
Great video! Would like to see the Pixy2 in an actual line following robot. Could be a multi-episode project. Anyway, awesome video, keep them coming.
@benjidaniel5595
@benjidaniel5595 2 жыл бұрын
This was such a fantastically informative video. The Pixy looks perfect for a project I have in mind.
@artemyevtushenko8722
@artemyevtushenko8722 3 жыл бұрын
Thank you for yet another amazing video. You deserve more subscribers!
@thatgenzdev
@thatgenzdev 4 жыл бұрын
All the information are presented with ease thanks and keep to teach us.
@anubhavkalita675
@anubhavkalita675 4 жыл бұрын
Your workshop is so much organised 😍
@BrianDressel
@BrianDressel 3 жыл бұрын
I love all your videos, keep em coming! Thanks.
@ansarahmed3660
@ansarahmed3660 4 жыл бұрын
very informative about the subject. Moreover, I love the workshop, so systematically arranged with all sorts of components there.
@DavidFernandez-bg6mv
@DavidFernandez-bg6mv 3 жыл бұрын
This man is a legend, I would like him to be my teacher. plz never stop your videos!!
@johnacsyen
@johnacsyen 5 жыл бұрын
Thanks for this tutorial. Your workshop is neat.
@ryanruthrhona
@ryanruthrhona 5 жыл бұрын
Could you please make a video of your workshop...the kinds of storage options you use and how your workbench and equipment is arranged. It looks super neat.
@wallaceshackleton1889
@wallaceshackleton1889 4 жыл бұрын
At the start of the video, I thought...what good is this to me and at the end I was thinking...this has some interesting possibilities. Thanks for an informative video.
@fabiolus2007
@fabiolus2007 3 жыл бұрын
As always, amazing tutorial !!!
@jackyli6716
@jackyli6716 5 жыл бұрын
that's cool~ i love this tutorial so much~ thank you so much!
@lfmtube
@lfmtube 3 жыл бұрын
Perfect instructional video! Congratulations!
@JustConquering
@JustConquering 5 жыл бұрын
Awesome, I love your channel, very useful content ++ .
@TcMauricio
@TcMauricio 4 жыл бұрын
Gotta get one of these, thank you!
@Reach41
@Reach41 5 жыл бұрын
After watching this, I decided that the Pixy2 is mature enough now for my needs.
@mohamedramy8909
@mohamedramy8909 5 жыл бұрын
thank you so much i really needed the help!!
@Hamad.Kuwaitt
@Hamad.Kuwaitt 5 жыл бұрын
I love your channel and your teaching ❤️
@opalprestonshirley1700
@opalprestonshirley1700 5 жыл бұрын
That is one awesome piece of hardware. Thanks.
@makespace8483
@makespace8483 5 жыл бұрын
Nice job. Very helpful!
@YamamotoGenryusaiShigekuni
@YamamotoGenryusaiShigekuni 5 жыл бұрын
Man, you're amazing! I love your videos. Very educational.
@mihaiciornei5648
@mihaiciornei5648 5 жыл бұрын
LOVE YOUR CALM. TNK S FOR YOUR VIDEOS.
@markestes570
@markestes570 5 жыл бұрын
Excellent video. Thank you!
@AnthonyYZebre
@AnthonyYZebre 4 жыл бұрын
A lot to learn really. So amazing of course.
@behm2211
@behm2211 2 жыл бұрын
Great clip. Thank you!
@redserpent
@redserpent 5 жыл бұрын
mind blowing for a little over $50 bucks! Great video.
@tohcp5729
@tohcp5729 2 жыл бұрын
I always support you . very good detail guide and impressive all presentation and essential info share . I had follow you more than 7 years..if I not wrong
@TechnoAutomation
@TechnoAutomation 5 жыл бұрын
Very interesting products. I wish have one in my work shop
@DIYDaveT
@DIYDaveT 5 жыл бұрын
Great video, perfectly understandable even at 1.75x playback speed. This is amazing tech, probably military grade from 10 years ago. In other words, bleeding edge to Amazon commodity in a decade. Just amazing.
@fabiolsmineiro
@fabiolsmineiro 2 жыл бұрын
I was thinking about buying this camera, so, i decided watch some videos about, after watching this video i ordered in Amazon. Thanks for this video.
@ptawethe2nd
@ptawethe2nd 4 жыл бұрын
Your channel is fantastic
@eassil2495
@eassil2495 3 жыл бұрын
this channel is very underrated
@bimbomix9917
@bimbomix9917 5 жыл бұрын
love this channel!
@teammadmax4905
@teammadmax4905 2 жыл бұрын
와우 픽시2캠 사용해서 색인식이랑 학습을 하던 도중에 궁금한게 생겨서 검색했따가 해결하고가네요 ...구조에 대해서 제가 잘못알고 있었네요 ... 비록 영어 설명이지만 잘 이해하고 갑니다 꽤좋은 모듈기계같습니다 픽시2캠은 ! 좋은영상감사합니다.!
@qzorn4440
@qzorn4440 4 жыл бұрын
gee, i have one of these in the box somewhere, got off on RPi-opencv... so much to do... need to use this wonderful info and get busy with the Pixy2 width measurement Low-OK-High_IO thanks :)
@abhishektiwari931
@abhishektiwari931 4 жыл бұрын
Sir u R doing great work ...thanks alot
@dowtec-engineering4084
@dowtec-engineering4084 4 жыл бұрын
Very cool vid!
@seeingdragons4319
@seeingdragons4319 2 жыл бұрын
Excellent video and content
@shinigamilee5915
@shinigamilee5915 5 жыл бұрын
Great explanation.
@jameselliott9397
@jameselliott9397 5 жыл бұрын
FYI... you could set your font in Arduino a good bit larger and add ample margin because it is off the edge of my screen.
@MrWahjudi
@MrWahjudi 5 жыл бұрын
Its very professional video ... Big thumbs up
@davethenerd42
@davethenerd42 2 жыл бұрын
I'm getting into this stuff because I recently went to Disney World and "made" a BB "robot" at the Galaxy's Edge Droid Depot. This thing has zero autonomy and the interactive features are explored in a matter of minutes. Hopefully, I can use what I'm learning here to come up with some worthwhile mods. I'd love to see you rip one apart and experiment with it!
@faceprofesor
@faceprofesor 3 жыл бұрын
Thank you very much for the videos you make. I have a question: Is there any function in the pixy library to capture a snapshot of the detected object? Thank you very much.
@pymobileindo
@pymobileindo 5 жыл бұрын
very good explanation sir
@mecommenting
@mecommenting 5 жыл бұрын
Please make a tutorial about how to have a nice and clean workshop!!!
@fishescape8847
@fishescape8847 5 жыл бұрын
that´s a fantastic tool...thanks for the video...you are such a great mentor. I have a question: Can pixy2 be used to detect different species of fish or detectable items must be objects? Thanks a lot
@emadabuhagag222
@emadabuhagag222 3 жыл бұрын
thank you , very helpful
@Zhaymoor
@Zhaymoor 5 жыл бұрын
amazing ,, thank you so much
@mk48sz33
@mk48sz33 5 жыл бұрын
What an awesome tutorial!!! Please make more videos! Can you make a video showing how to use the readings from the camera with the Arduino to turn on an LED for example when the camera finds a golf ball?
@joelapin953
@joelapin953 2 жыл бұрын
kzfaq.info/get/bejne/fdSeedxh2qzJY3k.html
@Sven.W
@Sven.W 5 жыл бұрын
Great video! Is it possible to combine the line following with shape identification?
@wingel82
@wingel82 3 жыл бұрын
you are the best!!! thanks a lot!!!
@pastelmakine5044
@pastelmakine5044 5 жыл бұрын
Very nice presentation, clear and understandable speech. Excellent work. Thank you.
@Dronebotworkshop
@Dronebotworkshop 5 жыл бұрын
You are very welcome Oguz.
@domenicomonteleone3055
@domenicomonteleone3055 Жыл бұрын
@@Dronebotworkshop Thank you kindly for your videos I follow you 💯 from #YSW respect back to you please keep making videos and help out as many people as you can with there projects excellent work you do Top Quality workmanship
@inayathussain9236
@inayathussain9236 5 жыл бұрын
i was waiting for a video on esp8266. but this one is also excellent. i hope next time the video will be on esp8266
@robertlyttle2188
@robertlyttle2188 5 жыл бұрын
love your videos
@devdharma3050
@devdharma3050 5 жыл бұрын
Thank you so much :)
@doverivermedia3937
@doverivermedia3937 2 жыл бұрын
Fantastic video. Very clear and well presented. Thank you. 🇬🇧
@prodbyrish
@prodbyrish 4 жыл бұрын
Hi, Thanks a lot for the video! I would like to know how I can display the signature name for an object through the Arduino serial monitor. I would also like to know how I can make the Arduino do a specific action after detecting a specific object. Thanks again!
@willydoesfighting
@willydoesfighting 5 жыл бұрын
very nice video, thank you
@weeklydynamo
@weeklydynamo 4 жыл бұрын
Thank you for sharing good content. After seeing this, I bought a pixy2 and started experimenting. But the situation shown in 17:40 to 17:50 in your explanation makes me feel uncomfortable. I can't handle pixels of small boxes like you when my pixy2 recognizes colors. I want to know how or where pixels can be resized. First of all, I will look again carefully.
@vinceaikido
@vinceaikido 5 жыл бұрын
Good video sir but i would like to know what is the max range for objects recognition with this camera ? And do you know if it recognyze well shiny object like a LED ?
@electronic7979
@electronic7979 5 жыл бұрын
Useful video 👍 Excellent 👍
@unionse7en
@unionse7en 5 жыл бұрын
I guess for non spherical objects (they look the same no matter how oriented), like the flashlight you would train using multiple orientations, then accept all of those different blocks as the same object ..
@ImamSuharjo1
@ImamSuharjo1 5 жыл бұрын
Thanks
@alrayahalsanhoory806
@alrayahalsanhoory806 4 жыл бұрын
can we use it to recognize hand signs for example peace sign and others signs with our hands and if we can dose it possible to use what the pixy2 recognizes to make the Arduino give commands? thank you for ur videos it is very helpful.
@mohammadrezaakbari9960
@mohammadrezaakbari9960 5 жыл бұрын
Hi.Thanks for full explanation. Does pixy camera can recognize black color (like a black ball)?
@KimberleyBianca
@KimberleyBianca 4 жыл бұрын
Thanks so much
@ZoomtronicBlogspot
@ZoomtronicBlogspot 5 жыл бұрын
hmmm.. nice idea with this pixy2 cam, I could try to integrate it with my robot vacuum cleaner to give it a CV
@danieletorresan3864
@danieletorresan3864 5 жыл бұрын
many thanks for your video; I am a musician, I would like to ask if it would be possible to use vector data to transform them into midi data for musical instruments? could you create a sample video? thank you
@jangabrielbernardo3301
@jangabrielbernardo3301 4 жыл бұрын
Can I use this camera to count how many objects have passed through its vision? Thank you for answering!
@Dasar_Hidup
@Dasar_Hidup 4 жыл бұрын
its awesome! i hve a automatic trash bin project with arduino and use pixy2 sensor camera to detect the object and recognize... can u tell me how to set pixy2 with driver motor shield ?? very very helpfull chanel... thank you
@wilsonlalo4033
@wilsonlalo4033 4 жыл бұрын
Cool I love it
@americanengineering2063
@americanengineering2063 5 жыл бұрын
great video
@rishikatlearnings7458
@rishikatlearnings7458 3 жыл бұрын
Hi, very helpful video. Can you recommend me something which can detect the moving object and a direction of travel? A pxi2cam with continuous movement of object towards it and can distinguish moving of object away from it. For ex: train a car....passing over it.
@dompower500
@dompower500 4 жыл бұрын
Excellent
@SeanSmith73
@SeanSmith73 5 жыл бұрын
superb sir - do you think this could work to detect invisible ink - say from a uv-pen, my idea is to strobe the uv light, the ink will fluoresce and i detect it with the camera?
@sbrahma0
@sbrahma0 2 жыл бұрын
Great video! How can we connect multiple pixy2 with the mega? Suggestions will be really appretiated.Thanks
@japanesemarspathfind
@japanesemarspathfind 5 жыл бұрын
In youtube, Some people uses rasbery-pie and open-cv (open-software ) to detect something. So Pixy2 joining into rasbery-pie with open-cv will produce more interesting project.
@ZupaTr00pa
@ZupaTr00pa 5 жыл бұрын
Ok, so the part in the code that says 'pixy.ccc.blocks[i].print();' prints out the xy position, size etc. Is it possible to extract that specific data for use in other functions? For example, if block 1 moves below a certain y distance, then return a signal.
@reverse_engineering
@reverse_engineering 5 жыл бұрын
Is arduino leonardo works well just like arduino UNO ?? connecting pixy2 with arduino leonardo same side? (connect pixy2 outwards of arduino leonardo board??)
@DTUElectro
@DTUElectro 4 жыл бұрын
Very goodly structured and informative video, really summed it up in a nice and easy to understand way. I do have a question though, what is it's maximum range, where it will remain accurate?
@joelapin953
@joelapin953 2 жыл бұрын
kzfaq.info/get/bejne/fdSeedxh2qzJY3k.html
@Deadonarrival990
@Deadonarrival990 4 жыл бұрын
great video keep it up m8
@ninhnguyen8488
@ninhnguyen8488 4 жыл бұрын
It is really good
Raspberry Pi Remote Camera with motionEyeOS - Build a Surveillance System
50:50
Эффект Карбонаро и нестандартная коробка
01:00
История одного вокалиста
Рет қаралды 9 МЛН
Stay on your way 🛤️✨
00:34
A4
Рет қаралды 7 МЛН
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 3,7 МЛН
Raspberry Pi Cameras - The BIG Picture
52:26
DroneBot Workshop
Рет қаралды 502 М.
80 Year Olds Share Advice for Younger Self
12:22
Sprouht
Рет қаралды 1,4 МЛН
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Рет қаралды 556 М.
Dobot Magician with Pixy2 Vision Sensor
20:12
UptimeFab
Рет қаралды 66 М.
Building your own camera - Stupid or Genius?
9:51
Linus Tech Tips
Рет қаралды 1,2 МЛН
Getting Started with LIDAR
47:27
DroneBot Workshop
Рет қаралды 1,4 МЛН
The Ultimate Guide to using Motors in Robotics (including ROS, Raspberry Pi)
25:56
Pixy 2 Machine Vision Camera Review with Arduino
9:34
educ8s.tv
Рет қаралды 60 М.
ДОМИК ИЗ АРБУЗА #юмор #cat #топ
0:40
Лайки Like
Рет қаралды 1,9 МЛН
The master set up a pillar among the people in seconds
0:17
Dice Master_1910
Рет қаралды 30 МЛН
小宇宙不要那么小气嘛!#火影忍者 #佐助 #家庭
0:11
火影忍者一家
Рет қаралды 3,5 МЛН
Dad made juice from watermelon pulp for his son.
0:32
Valja & Maxim Family
Рет қаралды 7 МЛН