can you please make a tutorial on training your own data using google colab?
@pratyushprajapati39082 жыл бұрын
Thank you thank you thank you so much sir... 🙏🙏🌹🌹 I was doing this object detection using raspberry Pi for my final year project. Because of you I have learned a new thing and saved my thousands of rupees... Again thank you sir... 🙏🌹
@SiriusFuenmayor9 ай бұрын
really nice, it worked perfeclty with my raspberry pi3 model A. I was identified as a person an my face as a dog which is quite accurate.
@robertoguerra5375 Жыл бұрын
NICE!!! Thank you for this video!!! At least we know that the raspberry has not become self-aware 😅
@陳穎豪-i7c2 жыл бұрын
great video! thank you for teaching me how to implement object detection with my raspiberry 4.
@gemininyte279 Жыл бұрын
I got to the end and it asked to install open cv2, so do I need to install that into the env?
@woodenkadegaming41912 жыл бұрын
hey very good till i got to the last line of code with this error Traceback (most recent call last): File "/home/pi/project/examples/lite/examples/image_classification/raspberry_pi/classify.py", line 20, in import cv2 File "/home/pi/project/env/lib/python3.9/site-packages/cv2/__init__.py", line 5 from .cv2 import ^ SyntaxError: invalid syntax how do Ifix?
@mxchaotic9 ай бұрын
I have this same issue, by anychance were you able to fix?
@dayandnightgames20 күн бұрын
I'm in too
@marvinjaycampana40172 жыл бұрын
I've got an error missing cv2. Does this needs installing Open CV before anything else?
@alexpadilla3446 Жыл бұрын
Where you able to fix it? Same error
@VissuSalvatore8 ай бұрын
it keeps saying no module named tflite_support is found. can someone please help me?
@EngineerAt_UTAC3 ай бұрын
You made it look easy? I need to use this feature to locate Number plates in my ALPR application.
@MrknisterKanister Жыл бұрын
would it be possible to differ between different cats (they have differnt fur pattern)?
@wanalmakamelia95611 ай бұрын
do you already know? because im also want to different 2 different cats, longhair and shorthair
@alexfernandesportrai Жыл бұрын
Hi I get an error everytime I try to install picamera array. I used a fresh SD card with Raspberry Pi buster legacy. note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for numpy Failed to build numpy ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
@mxchaotic9 ай бұрын
I have this same issue
@geshtoolee8 ай бұрын
did you find the solution to it? i'm cramming a school project and ran into this problem @@mxchaotic
@fifossucrilhos5 ай бұрын
Try python 3.7
@eeksy292 жыл бұрын
Hi Sam, I get a ModuleNotFoundError: No module named 'tflite_runtime' in the python process, what should I do?
@eeksy292 жыл бұрын
I have followed the process well
@Ducerobot Жыл бұрын
Couldn't get it to load numpy for pi camera array . That pretty much stopped me right there is there some numpy package not mentioned here that must be installed first?.......it went on the third try wonder why ahhhhh the wonder years 😁
@RETROGAME-FIX Жыл бұрын
Hi sir your tutorial was the one that worked after 3 days of finding. I wanted to know how to shutdown the video feed? And how can i get the boundries around the object? And how can we make it a standalone live feed system to a android phone or tablet? I mean i dont have to put the commands all the time. Thank you.
@user-zm6kj7oi3d2 ай бұрын
ERROR: unable to read from webcam. verify your webcam settings I use the debian 64 bit bullseye os
@mohamedshoeib82799 ай бұрын
hey this is so cool , i have a question ... what if i take your code(python) and trying to connect it with oher devices using C programming ?
@charleslinquist9 ай бұрын
I would like to perform object detection on a pi, and don't know if OpenCV or TensorFlow is the best tool. I want train the sw to detect any given object, and I also need an output that indicates the position, direction and (hopefully) speed of a moving object - a "follow me" or "follow a given object" feature. Any ideas or help would e appreciated. I'm a relative novice.
@fadodundamilare43922 ай бұрын
what the model number of webcam used in this demo?
@yasmineboucetta13975 ай бұрын
Can I use this tutorial with python3.7.3 version ?
@gasiboi37345 ай бұрын
Hi, i noticed that the video streaming of your Pi have 14 fps on it. I have tried installing Ultralytics YoloV8 on my Pi with the models also exported to NCNN. Now I also use a 720p webcam, however, my Pi can only give me 2fps max. I wonder if you were using a Google Coral USB Accelerator making it possible to reach 14fps for your stream. Did you? Or was it just the Raspberry Pi's power to deliver 14fps. Or does the brand of webcam even matters when it comes to fps? Would greatly appreciate a reply. Thanks. PS. I am using a Raspberry Pi 4B 8gb
@swat3608511 ай бұрын
Thank you for you brief and precise tutorial ! LMS (France)
@amandapanda375027 күн бұрын
I've been trying to attempt this tutorial. I'm using a 8 GB RAM raspberry pi on a 250GB SD card and the interface keeps on crashing on me. And I'm having storage issues due to the size of Tensor Flow and OpenCV. Any suggestions on how to mitigate this issue?
@shahriarrashid10719 ай бұрын
Hi I'm trying this on a Raspberry pi4B with Debian 12 and raspberry pi NoIR camera V2 and I'm getting and error: "Unable to read from Webcam. Please verify your webcam settings." Could you please advise.
@narendradesilva31269 ай бұрын
got the same issue, if anyone knows how to resolve it, I would welcome some help
@tammymathews84555 ай бұрын
did you figure it out? have the same problem
@shahriarrashid10715 ай бұрын
@@tammymathews8455 i downgraded to debian 11 bullseye to make it work.
@BigGetit12 жыл бұрын
Great video, thanks for making this!
@sudhanshugorwadkar3839 Жыл бұрын
Which algorithm is used for image classification in this tutorial?
@JaidevBali7 ай бұрын
I am getting error python -m pip install subprocess-exited-with-error while sh setup.sh pls respond as quick as possible.love your videos bye! Thanks, Jaidev
@sudhanshugorwadkar3839 Жыл бұрын
Can I stream this opencv object detection footage to a webpage?
@صادقصالح-س7ج2 жыл бұрын
I have picamera but your code can not run with me. look what is the error unable to read from webcam
@mathusudhanbaskaran84972 жыл бұрын
The same problem for me also... it shows an error. "ERROR: Unable to read from webcam. Please verify your webcam settings."
@staj-io3fw Жыл бұрын
could you find a solution
@Flim_Flom Жыл бұрын
Very cool, is there a way to add a highlighted box around the object?
@drubug2 жыл бұрын
After about 19 failed attempts, this one finally worked... My issue was trying to use Bullseye - PiCam and VNC... a combo that doesnt work!
@dronnomical Жыл бұрын
How did you fix this ? I'm running into the same issue
@miguelposada368410 ай бұрын
Thank you so much for the video, pretty clear! However when I get to the final step after running python3 classify.pi I get errono 2 no such file in directory. Could anyone help me solving this?
@jeremy_tt43412 жыл бұрын
Awesome video!Thanks so much
@Bllackmage Жыл бұрын
what web cam do u use for the project. or what would u consider
@SamWestbyTech Жыл бұрын
I have the logitech 720p. It's easy and cheap
@joachimhomann8663 Жыл бұрын
Thank you for this nice video. But i have just a IP-camera with a rtsp-stream. How can I use this cam?
@SamWestbyTech Жыл бұрын
I haven't worked with wireless cameras before, sorry
@aynonsense7716 Жыл бұрын
Will it work on raspberry pi 2?
@almegdadkhalid5522 Жыл бұрын
Hi Sam ,When I try to import tensorflow I get this error, Descriptor can't be created directly
@monerbenor66242 жыл бұрын
amazing, worked :)))))))))))))))))))))))))))))))) thanks alot
@eliotcousseau30496 ай бұрын
I need help i tap this sudo apt-get upgrade -y and you wait like 5min me i juste have this line apt-listchanges : Reading changelogs. . . for like 45 min do you know why ?
@acmadianfaizalcasarungan51812 жыл бұрын
do you have a guide in running yolov4 tiny on raspi
@DHTSciFiArtist2 жыл бұрын
Can you use a webcam with the raspberry PI and this program as well.
@SamWestbyTech2 жыл бұрын
Yes you can. That is what I'm doing
@nanaba9027 Жыл бұрын
hey how do i do this with pi camera 3
@loll1057 Жыл бұрын
how is the fps on this one soo decent, i did couple of projects on opencv and all of them were really slow despite few optimizations
@TheTobiasEnglev2 жыл бұрын
Hello, i followed your guide, but i am getting this error code: ImportError: libIlmImf-2_5.so.25: cannot open shared object file: No such file or directory, i cant seem to get around it, any ideas how?
@JaidevBali7 ай бұрын
run this sudo apt-get install libatlas-base-dev
@valemanriquez2317 Жыл бұрын
Hi sam can you help me? please, so sorry for my bad english but i have an error when i copy and paste in raspberry, the raspberry asks me for a user and password from git hub and i dont know what is that
@mathusudhanbaskaran84972 жыл бұрын
When I run the code classify.py, it shows an error. "ERROR: Unable to read from webcam. Please verify your webcam settings."
@mathusudhanbaskaran84972 жыл бұрын
can anyone help me
@Andreas20482 жыл бұрын
@@mathusudhanbaskaran8497 Try this: sudo raspi-config Select 'Interface Options' and then enable 'Legacy camera support'. Finish then restart your Raspberry Pi and then run classify.py again.
@staj-io3fw Жыл бұрын
@@Andreas2048 didnt work can you help me
@AbdullahiAhmad-po7qx Жыл бұрын
Sir Help me on how to draw bounding box on detecting picture
@mkpula112 жыл бұрын
Hi Sam, fantastic video tutorial. Thank You. Have you tried (and what is necessary) to run with the Coral USB Accelerator?
@SamWestbyTech2 жыл бұрын
I have not but they look really cool!
@ineeditpvp172 Жыл бұрын
what is the meaning of PEP 517
@christianbrunner11992 жыл бұрын
Hi, thank you for that great video. Do you think it’s possible to take a Foto, select an area in it and then compare the next photos to that area and check if the same object is in it?
@MidwestMusicEnthusiast11 ай бұрын
Looking for a similar solution. Did you find anything?
@christianbrunner119911 ай бұрын
Unfortunately not. I solved my problem in a different way. wanted to check if tax stamps are applied to a product. I just got a luminescence sensor now. @@MidwestMusicEnthusiast
@sibiselvaraj91162 жыл бұрын
Raise 0SError (port audio library not found) how do I fix this
@meontheweb5628 Жыл бұрын
Hi does it work with color classification?
@clarkmichaelnavarro35178 ай бұрын
Hi! I wanna know if you made this project?
@dronemate3 ай бұрын
I totally dont understand
@chaitanyavekaria2025 Жыл бұрын
Hi, I get following error when I try to install tflite-runtime using command "python3 -m pip install tflite-runtime" ERROR: Could not find a version that satisfies the requirement tflite_runtime(from version: none) ERROR: No matching distribution found for tflite_runtime
@francessaubreyballestra6 ай бұрын
How do I activate it if I use rpi camera?
@francessaubreyballestra6 ай бұрын
It says no module named cv2
@Satish_Lakhan292 жыл бұрын
I want to make when any object detect then voice output via speaker so know which object detect
@SamWestbyTech2 жыл бұрын
Yes you can! You can edit the sample python code take the object it detects and then use a text to speech library to read that through your speakers
@Satish_Lakhan292 жыл бұрын
@@SamWestbyTech I want to glow led when my custom object detect.where I put this code for this?
@Satish_Lakhan292 жыл бұрын
@@SamWestbyTech thanks
@kevingeorgejohn6072 жыл бұрын
Can I get the list of objects this code can detect using the pi board and camera?
@staj-io3fw Жыл бұрын
could you help if you did
@KavinSRA2 жыл бұрын
Hey its a good work, can we add another webcam to detect the object that detecting object using multiple cameras?
@SamWestbyTech2 жыл бұрын
Yes that should be possible. You'll have to run two scripts at the same time accessing the separate cameras
@Aaaa-ew8ji Жыл бұрын
What should I write to run by usb camera instead of picamera[array] ?
@charlesblithfield6182 Жыл бұрын
Thanks for this video Sam. I ran a similar set but my version has bounding boxes around the objects. It also always detects my hand, bounds it and labels it “person “. I want to do object detection of a custom data set, specifically I want to use the pi to identify tree species from their bark. Do you know how to make a custom labelled data set to be used as training data and how to implement it?
@shahriarrashid10719 ай бұрын
Did you ever get a reply about this?
@charlesblithfield61829 ай бұрын
@@shahriarrashid1071 no reply. It’s for a system to detect Ontario tree species from just the bark pattern. I’ve been assembling image sets for training, I understand I need a lot of images but am not sure how much is enough.
@shahriarrashid10719 ай бұрын
@@charlesblithfield6182 i tried to detect plant disease from leaf images and i used about 500-800 images per disease for a test accuracy of 90%+.. so i guess same could apply to you? (i used a version of the plant village dataset available online)
@akpamsokon Жыл бұрын
hi, i need help with the script
@karanashu63910 ай бұрын
Hey I am getting error message of : externally -managed-environment in setup of virtual environment
@Ellixified10 ай бұрын
do python3 -m venv venv then source venv/bin/activate and type the command again
@benardmumba33382 жыл бұрын
Hai Sam great staff going on here I have been trying to implement a new one security camera that detects an object and unlike sending email but it gives you a call.. when object is detected..
@SamWestbyTech2 жыл бұрын
Sounds like an interesting project!
@benardmumba33382 жыл бұрын
@@SamWestbyTech yeah and I thought you could help
@ruhulislam30342 жыл бұрын
is there a way to make a custom object detection and or after training your own model and adding that to make it classify objects that would be much appreciated if you could contact me as I need this for dissertation work
@SamWestbyTech2 жыл бұрын
It is possible. Look up a tutorial for “transfer learning object detection”
@Aaaa-ew8ji Жыл бұрын
I used the object detection for my graduation project It’s work at the first time But when I run it again it’s give me that it doesn’t have a python project file I returned all the steps and re-download python and I still have the same problem Please help
@SamWestbyTech Жыл бұрын
Perhaps you need to re-activate your virtual environment
@jane40392 жыл бұрын
Sir can you make a video “how to use Resnet50 in raspberry pi for face recognition “ thank u
@matr22372 жыл бұрын
I get an error in the end. Last command (python3 classify.py) starts but then stops and says "struct.error: unpack_from requires a buffer of at least 4 bytes". How to fix this?
@madhurareddy71436 ай бұрын
Hii sam, its been 1hr but sh setup.sh is not executed completely, it just paused, I tried many times but always stopping at the same line(i.e; Installing build dependencies). Please help me to resolve this problem .
@fifossucrilhos5 ай бұрын
I had an issue when using pyton 3.11, try using 3.7
@user-zm6kj7oi3d4 ай бұрын
were u able to solve the problem?
@SohanDomingo2 жыл бұрын
How to enable the bounding box for an object ?
@staj-io3fw Жыл бұрын
how can i add a bounding box
@AmanChauhan-xu7iw6 ай бұрын
Hello sir, Many thanks for the video, while running the example fielERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-errorpip install numpy any idea anyone has how i can remove from this error I am using python 3.11.2 and tpu 2.14.0
@user-zm6kj7oi3d4 ай бұрын
were u able to solve the problem?
@toanmatsumoto88282 жыл бұрын
awesome video! but everytime after I trued to download the example I am asked for an username and password. I there something wrong on my end?
@SamWestbyTech2 жыл бұрын
Ahh thanks for pointing this out. This likely means you don't have git setup. You don't have to set it up. You can download the files manually here github.com/tensorflow/examples/archive/refs/heads/master.zip Just download and extract the zip and put it in your project folder
@alagappauniversityMCA Жыл бұрын
hi bro now 2023 , raspberry pi source/apt not upgrade (connection error)
@marianafernandes51312 жыл бұрын
Hello, Sam. I am trying to run this script with a Google Teachable Machine model, but I got some errors. Do you know if it's possible to use this type of model?
@marianafernandes51312 жыл бұрын
If you could make a video about it that would be great.
@SamWestbyTech2 жыл бұрын
What kind of errors do you have? I found this tutorial on Teachable Machine and TFLite github.com/christianversloot/machine-learning-articles/blob/main/using-teachable-machine-for-creating-tensorflow-models.md
@franciscovelasquezferrada11652 жыл бұрын
OMG Teachable machine looks great to create models.. the easiest way possible, thank you
@sameerwork8553 Жыл бұрын
were u able to figure it out? I'm also trying to do this. Need it urgently for my final year project
@qutebamazen54912 жыл бұрын
Thank you so much bro. can you implement Real-Time face emotion detection using raspberry pi 4 because I have a task about it and I got some error can you help us to implement it. Thank you again. Have a nice day and coding.
@dhruvlamba11182 жыл бұрын
Did anyone encounter the following error? ERROR: Unable to read from webcam. Please verify your webcam settings.
@staj-io3fw Жыл бұрын
could you find
@monerbenor66242 жыл бұрын
Great Video, thank you so much... do you have a camera pi setup video?
@SamWestbyTech2 жыл бұрын
Thanks! No, sorry I don't have a pi camera setup video
@HEMANGSHUKLA_2 жыл бұрын
import cv2 no module named cv 2 please help
@SamWestbyTech2 жыл бұрын
Make sure you reactivate your virtual environment
@obelusstem1999 ай бұрын
Damn, bro. I am more impressed with your jawline😂
@schlingelgen Жыл бұрын
With that thumbnail you make it seem like this is real object detection with positioning information, while in reality this is only image classification. I don't think that you're misleading people on purpose, and many viewers seem to like the solution, but it would save future viewers time when they are looking specifically for object detection ...
@carmengomezalarcon18507 ай бұрын
Failed to import tflite_runtime: cannot import name 'core' from 'tflite_support'