Live Object Detection in Python

  Рет қаралды 139,634

NeuralNine

NeuralNine

Күн бұрын

Today we learn how to implement live object detection in Python, using machine learning and OpenCV.
Resources: github.com/chuanqi305/MobileN...
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
🐍 The Python Bible Book: www.neuralnine.com/books/
💻 The Algorithm Bible Book: www.neuralnine.com/books/
👕 Programming Merch: www.neuralnine.com/shop
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine.com/
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/NeuralNine
🎙 Discord: / discord
🎵 Outro Music From: www.bensound.com/
Timestamps:
(0:00) Intro
(0:15) Set Up & Resources
(3:15) Object Recognition on Images
(21:32) Live Object Recognition
(24:33) Outro

Пікірлер: 156
@eepikki
@eepikki 2 жыл бұрын
This is the best programming channel on youtube. It teaches well, clear and all in 1 part. Deserves 10 million subscribes atleast
@deansiro8297
@deansiro8297 2 жыл бұрын
Real true
@frettmann5317
@frettmann5317 Жыл бұрын
Agree with you because akcent is understandable 👍
@rai.ben9951
@rai.ben9951 Жыл бұрын
@@frettmann5317 do you have the code
@nonaali5725
@nonaali5725 Жыл бұрын
Right
@harishh.s4701
@harishh.s4701 2 жыл бұрын
Greatly appreciate the content and the effort behind it :) I found an opencv error in line 17 in the code. The error said "cv2.dnn has no attribute readNetFromCaffee". In case anyone else also has the same problem, changing the function from cv2.readNetFromCaffee to cv2.readNet helped solve this issue
@ahmedachtibat8661
@ahmedachtibat8661 2 жыл бұрын
thanks bro
@harishh.s4701
@harishh.s4701 2 жыл бұрын
@@ahmedachtibat8661 You're welcome :)
@shaunloo6649
@shaunloo6649 Жыл бұрын
bro i got problem with it
@MARCOS12361
@MARCOS12361 Жыл бұрын
still getting error sir
@amirmoezi8316
@amirmoezi8316 2 жыл бұрын
Thanks a million for your invaluable content... it's just wonderful
@Learner5411
@Learner5411 16 күн бұрын
This is the best project topic to choose !! .. i got many things from u to learn ! THANKYOU SO MUCH !! this channal will grow very much , as AI is coming into the consideration at school level more !! The way u tell the code and present is the best !! thanku ~~!
@VisuallyExplained
@VisuallyExplained 2 жыл бұрын
Wonderful content, I am a fan! Random question: how did you make the intro music?
@leveltube10
@leveltube10 2 жыл бұрын
Thank you for sharing content like this, I really appreciate this :)
@zachfenton608
@zachfenton608 2 жыл бұрын
Vielen Dank, bin sehr beeindruckt davon.
@oscartrejo6217
@oscartrejo6217 2 жыл бұрын
Hey man a lot of thanks you explain very well i got a question i need to find an object that is not common where do i find the model for this object or how can i make my own model?????
@muthurubant5812
@muthurubant5812 2 жыл бұрын
You are rocking bro🔥🔥🔥🔥.............. I am always fan for you✨
@wko_
@wko_ 2 жыл бұрын
How this channel haven't one million subscribers yet??? I N S A N E !
@zivanaf
@zivanaf 9 ай бұрын
Great video thank you! Where can I find different type of models? in this case, the model does include bottles but i also need (in example) cans
@w7bani156
@w7bani156 2 жыл бұрын
Hi Mr That’s amazing tut 🥰✨♥️ i want to asked you If i want to detect more object what can i do ? Thanks you for every thing
@rtr195807
@rtr195807 2 жыл бұрын
As always, thank you very much!
@lukasm09
@lukasm09 5 ай бұрын
addition for the facecam part: For me it only worked, when I moved following code out of the for-loop. Also added to exit the program when pressing 'q'. cv2.imshow("Detected Objects", image) key = cv2.waitKey(1) if key == ord('q'): break
@OmarHosam203
@OmarHosam203 2 жыл бұрын
Your video ideas are very good
@Djdjejrhe2283
@Djdjejrhe2283 2 жыл бұрын
This Works Beutifully!
@renovationfox8955
@renovationfox8955 2 жыл бұрын
Thanks a million, you rock!
@mahmoodjamshidian9525
@mahmoodjamshidian9525 2 жыл бұрын
It was very useful. And I had a question, can this program be used to confirm the "I'm not a robot" section in Selenium?
@mahmoodjamshidian9525
@mahmoodjamshidian9525 2 жыл бұрын
Translated by Google Translate
@collegemoviesadda3938
@collegemoviesadda3938 2 жыл бұрын
Im not getting access to files you provided links in description. Please help
@AJain-18
@AJain-18 2 жыл бұрын
Nice video !!! Keep it up bro !
@arek7198
@arek7198 Жыл бұрын
good learning, thanks a lot
@kelixoderamirez
@kelixoderamirez Жыл бұрын
permission to learn sir. thank you
@nasaudeanbogdan7791
@nasaudeanbogdan7791 2 жыл бұрын
Hello, thank you so much for the video, I have a question, if i wanted to see the distance from the camera to the objects/person, what should i use ?
@gtair1520
@gtair1520 Жыл бұрын
Almost impossible. Best way would be to use a rangefinder ofc.
@prod.ot5
@prod.ot5 2 жыл бұрын
Gotta keep the notifications
@Deethreeful
@Deethreeful 2 жыл бұрын
Could you explain how to get that model on the computer? if i just use the files, nothing happens
@starrovers13
@starrovers13 Жыл бұрын
Excellent video! Do you guys think technology is at that level where object recognition code can identify a e.g. crack on the wall as well?
@rajveersoni1703
@rajveersoni1703 8 ай бұрын
i am making one
@jjspellarts8664
@jjspellarts8664 Жыл бұрын
How can we add new object category to the list?
@parinayseth8813
@parinayseth8813 2 жыл бұрын
I have done the whole code correct but still not getting the prediction in the image output, it's just the image gets opened without any prediction
@Unknown-dw2be
@Unknown-dw2be 9 ай бұрын
If I want to use a different model like yolo for example does it work the same way?
@digigoliath
@digigoliath 2 жыл бұрын
Awesome!!! TQVM!!
@JADE2238
@JADE2238 2 жыл бұрын
Bro please make a video on drone object detection of that contest by mutazas workshop. i was working on that drone object detection. all were right but my program were not detecting cars properly so please make a video. That contest is over right now
@dgadstv3876
@dgadstv3876 4 ай бұрын
may i know sir what editor you have?
@alansmith109
@alansmith109 2 жыл бұрын
I was wondering what studio it is that you use for python?
@XiBomB4
@XiBomB4 Жыл бұрын
looks like pycharm
@imveryhungry112
@imveryhungry112 Жыл бұрын
where did the file mobilenetssd_deploy.caffemodel come from? It is not in the voc folder on the github site.
@vpvpranav
@vpvpranav Жыл бұрын
i too have the same dbt
@tecnom7133
@tecnom7133 10 ай бұрын
Thanks man
@KamehlionHD
@KamehlionHD 10 ай бұрын
files: drive.google.com/drive/folders/13nAcSOx_S8QkbDw_oEimv0yRyfJazUNG
@stefanhyltoft
@stefanhyltoft 10 ай бұрын
Thank you
@iHydrogen
@iHydrogen 10 ай бұрын
our hero
@baltimoralt6633
@baltimoralt6633 10 ай бұрын
cheers
@ANAND_PATELP217
@ANAND_PATELP217 8 ай бұрын
thanks bhai thanks yaar
@EvilDragon138
@EvilDragon138 8 ай бұрын
you are a legend
@-moeurnsoklin1594
@-moeurnsoklin1594 Жыл бұрын
What & Where is the edition codes if I want Windows Notifications when the objects detected?
@stevensantos8002
@stevensantos8002 Жыл бұрын
how do you create that file model and put caffemodel and prototxt.txt?
@jjspellarts8664
@jjspellarts8664 Жыл бұрын
Thankyou sir
@user-ee2oe4nz1x
@user-ee2oe4nz1x 2 жыл бұрын
I can't access the links you provide
@capture-everything54
@capture-everything54 2 жыл бұрын
how can we catch a frame from video or online videos?
@kwamenadadson
@kwamenadadson 2 жыл бұрын
Thanks Bro but how can I use It to recognize a polygon
@tonkofonko
@tonkofonko 8 ай бұрын
Looks like good.
@saijin758
@saijin758 Жыл бұрын
Can I use this for object detection on screen?
@bvladimirpl
@bvladimirpl Жыл бұрын
1 more subs. Thanks for share this super useful vid.
@cosminpopescu6127
@cosminpopescu6127 Жыл бұрын
Acces denied when i try to download mobilenet SSD
@KamehlionHD
@KamehlionHD 10 ай бұрын
drive.google.com/drive/folders/13nAcSOx_S8QkbDw_oEimv0yRyfJazUNG
@user-cx9zv8nj9i
@user-cx9zv8nj9i 3 ай бұрын
The same
@prajwalrao6381
@prajwalrao6381 Ай бұрын
How to solve these
@varungupta974
@varungupta974 2 жыл бұрын
please can you tell me how do you make your intro
@mayurmoundekar5252
@mayurmoundekar5252 2 жыл бұрын
Hello Sir I want to add one feature in this project In case screen will empty NO Object are in the screen. So it will display "NO OBJECT DETECTED" How we add this feature I try some if statement code but it was not succes Please help me to add this feature Please provide code
@jahnavilalwani2365
@jahnavilalwani2365 2 жыл бұрын
I'm not able to access caffe model Please help if someone got access
@SA-oj3bo
@SA-oj3bo 2 жыл бұрын
Well explained and interesting demo but it seems there is a long way to go to detect all persons and objects as good and as fast as we do....
@user-oj8wj1ds8t
@user-oj8wj1ds8t 9 ай бұрын
i have completed python can i make these projects now
@barnacode
@barnacode 10 ай бұрын
It says I need access to google drive
@jubabi_studies4462
@jubabi_studies4462 Жыл бұрын
How to detect other objects ??
@PXOG7270
@PXOG7270 2 жыл бұрын
Hello sir Nice project but I am having a problem with saving and using the prototxt file
@PXOG7270
@PXOG7270 2 жыл бұрын
It is showing a problem that Can't open "MobileSSD_deploy.prototxt.txt" in function 'cv:dnn:ReadProtoFromTextFile'
@PXOG7270
@PXOG7270 2 жыл бұрын
I think it's the problem with the extension Because I can't save it with extension prototxt
@PXOG7270
@PXOG7270 2 жыл бұрын
Please help sir I see your every video and also I make the fantastic project's
@PXOG7270
@PXOG7270 2 жыл бұрын
Please help
@prognadiptosaha5792
@prognadiptosaha5792 10 ай бұрын
How can i get the code you wrote?
@pierregametvshorts3395
@pierregametvshorts3395 2 жыл бұрын
Hey, i have cv2.error: OpenCV(4.5.5) :-1: error: (-5:Bad argument) in function 'putText' > Overload resolution failed: > - Can't parse 'org'. Input argument doesn't provide sequence protocol > - Can't parse 'org'. Input argument doesn't provide sequence protocol what is solutions ? please help
@pierregametvshorts3395
@pierregametvshorts3395 2 жыл бұрын
your line is 41
@siddhesh3651
@siddhesh3651 Жыл бұрын
Sir please help I am not able to download the caffe model
@KamehlionHD
@KamehlionHD 10 ай бұрын
drive.google.com/drive/folders/13nAcSOx_S8QkbDw_oEimv0yRyfJazUNG
@user-vc7is1mc6d
@user-vc7is1mc6d 4 ай бұрын
Amazing
@sathvikreddy5799
@sathvikreddy5799 2 жыл бұрын
Please tell me the name of intro music.
@LukieHZX
@LukieHZX 2 жыл бұрын
Instead of np.random.whatever you could import random and use random.whatever, don't you?
@user-fh5et8qe9i
@user-fh5et8qe9i 4 ай бұрын
Hi, im getting a unexpected type error when I try to resize the image. The project is working, but makes the image extremely zoomed in, any tips on how to solve this ?
@user-fh5et8qe9i
@user-fh5et8qe9i 4 ай бұрын
Resolved this by adding image = cv2.resize(image, (600, 600) to the code. But how can I find out all the possibilities of items in the class to see what else can be detected as well ?
@omarjalled9211
@omarjalled9211 6 ай бұрын
Where can i find the code source pls :')
@AdiKamyk
@AdiKamyk 7 ай бұрын
Hi, Could You share me MobileNet-SSD deploy ? I can't dowload this. :(
@minusharma1738
@minusharma1738 2 жыл бұрын
Nice.
@shivkaustubh6024
@shivkaustubh6024 7 ай бұрын
Not able to access the deploy file from chuanqi , asks for access request...somebody help me with this
@mhteach3120
@mhteach3120 5 ай бұрын
I have the same problem Did you find a solution?
@munakalabhalachandarareddy8826
@munakalabhalachandarareddy8826 5 ай бұрын
drive.google.com/drive/folders/13nAcSOx_S8QkbDw_oEimv0yRyfJazUNG@@mhteach3120
@giorgosvalanides6300
@giorgosvalanides6300 Жыл бұрын
i cand deploy the model can you help?
@aiwithdheeraj5597
@aiwithdheeraj5597 2 жыл бұрын
Custom object detection sir next time
@subhammohta5383
@subhammohta5383 Жыл бұрын
Hey,i am not able to get the access for caffemodel , can u please help me with that
@Sulltan-al
@Sulltan-al Жыл бұрын
me too i can't access it
@im_muhilan
@im_muhilan Жыл бұрын
@@Sulltan-al me too bro
@rolandkiraly2138
@rolandkiraly2138 Жыл бұрын
here u can find the files: drive.google.com/drive/folders/13nAcSOx_S8QkbDw_oEimv0yRyfJazUNG
@dosaimre
@dosaimre Жыл бұрын
@@rolandkiraly2138 Many thanks for the link. Köszi a segítséget, sikerült innen letölteni 👍
@rolandkiraly2138
@rolandkiraly2138 Жыл бұрын
@@dosaimre anytime😁
@abdulnasser7624
@abdulnasser7624 2 жыл бұрын
Hello, how long does it take to get permission for the ‘MobileNet-SSD’ file?
@jaydeepghosh1717
@jaydeepghosh1717 2 жыл бұрын
Did you get
@jaysee_6292
@jaysee_6292 2 жыл бұрын
I was having trouble with this too... I requested permission but I'm not sure if that's how to go about it. I know you commented 5 months ago but did you ever get it?
@user-ur7to7ff7v
@user-ur7to7ff7v 2 жыл бұрын
@@jaysee_6292 did you get the model?
@tanmaypanda7701
@tanmaypanda7701 7 ай бұрын
hey anyone have the cafe model drive link ? pls share
@gtakadze1247
@gtakadze1247 2 жыл бұрын
why drive is close ?
@amitdutta3875
@amitdutta3875 2 жыл бұрын
can you make a video on custom object detection.
@wz_lx24
@wz_lx24 2 жыл бұрын
With this Video you could do it yourself.
@leveltube10
@leveltube10 2 жыл бұрын
@@wz_lx24 Maybe he would like to recognize unicorns, so he has to train a model to do that ^^
@munakalabhalachandarareddy8826
@munakalabhalachandarareddy8826 5 ай бұрын
i am not able to access caffemodel in github can anyone resolve this please urgent...
@user-ee2oe4nz1x
@user-ee2oe4nz1x 2 жыл бұрын
how to get the model
@thesas5132
@thesas5132 2 жыл бұрын
Where can I find the source code?
@johnmelbolaybolay6269
@johnmelbolaybolay6269 Жыл бұрын
Hello, how do I get access to download deploy?
@cynthialai199723
@cynthialai199723 Жыл бұрын
just search the file name, there are other deploy out there you can download and no need access
@vishalshaw2297
@vishalshaw2297 Жыл бұрын
cv2.dnn and cv2.imread not working..How to fix it?
@niniaeri
@niniaeri Жыл бұрын
have you fixed it?
@jankolodziej2752
@jankolodziej2752 2 жыл бұрын
Hi, can you link code ???
@biteprogram
@biteprogram Жыл бұрын
When I click deploy, it says I have not access. Please help me!
@untoastedbread0
@untoastedbread0 Жыл бұрын
from @KamehlionHD: drive.google.com/drive/folders/13nAcSOx_S8QkbDw_oEimv0yRyfJazUNG
@quangtranminh624
@quangtranminh624 Ай бұрын
@@untoastedbread0 but how can I the file caffemodel, plz help me. It says "The file is not displayed in the text editor because it is either binary or uses an unsupported text encoding." on my visual studio code
@deepakporwal9477
@deepakporwal9477 2 жыл бұрын
not able to download files please allow me to dowmload
@subhaschandramishra8374
@subhaschandramishra8374 10 ай бұрын
Where is the code to copy 😅
@ANAND_PATELP217
@ANAND_PATELP217 8 ай бұрын
not working netssd link
@krishnagarg6874
@krishnagarg6874 Жыл бұрын
Can you share the code
@selmamilena2503
@selmamilena2503 Жыл бұрын
am i the only one that cant not download the files from git?
@KamehlionHD
@KamehlionHD Жыл бұрын
yes its says i need access edit: drive.google.com/drive/folders/13nAcSOx_S8QkbDw_oEimv0yRyfJazUNG
@selmamilena2503
@selmamilena2503 Жыл бұрын
@@KamehlionHD omg thank you so much
@untoastedbread0
@untoastedbread0 Жыл бұрын
@@KamehlionHD thanks
@legend9002
@legend9002 10 ай бұрын
@@KamehlionHD I appreciate that thank you
@cameronvincent
@cameronvincent 6 ай бұрын
4 legs and long thing definitely a giraffe and not a chair
@mimurajam1501
@mimurajam1501 2 жыл бұрын
fucking cool
@luka2239
@luka2239 Жыл бұрын
it says I need access to download deploy?
@rushipatel8260
@rushipatel8260 Жыл бұрын
same maybe the user changed access
@bnfx5684
@bnfx5684 23 күн бұрын
I love you
@bnfx5684
@bnfx5684 23 күн бұрын
I want to make code from you. my lovely husband
@JabiloJoseJ
@JabiloJoseJ 2 жыл бұрын
error: (-2:Unspecified error) FAILED: fs.is_open(). Can't open "/MobileNetSSD_deploy.prototxt" in function 'cv::dnn::ReadProtoFromTextFile' I am getting this error .... can anyone help me, please..
@dia2abuomar452
@dia2abuomar452 2 жыл бұрын
did u know the solution??
@VASUDHARANIPATHEDAMIS
@VASUDHARANIPATHEDAMIS Жыл бұрын
why do I get this error net = cv2.dnn.readNetFromCaffe(prototxt_path, model_path) cv2.error: OpenCV(4.7.0) D:\a\opencv-python\opencv-python\opencv\modules\dnn\src\caffe\caffe_io.cpp:1126: error: (-2:Unspecified error) FAILED: fs.is_open(). Can't open "models\MobileNetSSD_deploy.prototxt" in function 'cv::dnn::ReadProtoFromTextFile'
@stefanhyltoft
@stefanhyltoft 10 ай бұрын
Gee yeah I wonder why
@adithyay1901
@adithyay1901 19 күн бұрын
Hello Can anybody help to get the cafe model file that is MobileNetSSD_deploy.caffemodel
@Shubhamzingh
@Shubhamzingh Ай бұрын
not able to get that MobileNetSSD_deploy.caffemodel
@BPractical-
@BPractical- Жыл бұрын
Anyone else having trouble downloading the "MobileNetSSD_deploy.caffemodel"? When I click the link it says that I don't have permission and that I have to ask for it. I asked permission a couple hours ago and still don't got it.
@KamehlionHD
@KamehlionHD 10 ай бұрын
drive.google.com/drive/folders/13nAcSOx_S8QkbDw_oEimv0yRyfJazUNG
@quangtranminh624
@quangtranminh624 Ай бұрын
drive.google.com/drive/folders/13nAcSOx_S8QkbDw_oEimv0yRyfJazUNG I have the file right here but I don't know how to open it. It says: "The file is not displayed in the text editor because it is either binary or uses an unsupported text encoding."
10 weird algorithms
9:06
Fireship
Рет қаралды 1,1 МЛН
Just try to use a cool gadget 😍
00:33
123 GO! SHORTS
Рет қаралды 61 МЛН
ГДЕ ЖЕ ЭЛИ???🐾🐾🐾
00:35
Chapitosiki
Рет қаралды 10 МЛН
Which one is the best? #katebrush #shorts
00:12
Kate Brush
Рет қаралды 21 МЛН
Универ. 10 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:04:59
Комедии 2023
Рет қаралды 1,2 МЛН
Object Detection using OpenCV | Python | Tutorial for beginners 2020
29:29
DeepLearning_by_PhDScholar
Рет қаралды 233 М.
Live Face Recognition in Python
16:16
NeuralNine
Рет қаралды 140 М.
How to make advanced image recognition bots using python
15:01
Kian Brose
Рет қаралды 1,3 МЛН
Neural Network Python Project - Handwritten Digit Recognition
22:48
Object Tracking with Opencv and Python
30:03
Pysource
Рет қаралды 593 М.
Object Detection in 10 minutes with YOLOv5 & Python!
10:45
Rob Mulla
Рет қаралды 225 М.
Generative AI in a Nutshell - how to survive and thrive in the age of AI
17:57
Настоящий детектор , который нужен каждому!
0:16
Ender Пересказы
Рет қаралды 335 М.
Cadiz smart lock official account unlocks the aesthetics of returning home
0:30
Неразрушаемый смартфон
1:00
Status
Рет қаралды 791 М.
🔥Идеальный чехол для iPhone! 📱 #apple #iphone
0:36
Bluetooth Desert Eagle
0:27
ts blur
Рет қаралды 7 МЛН