Тёмный

Object Detection using OpenCV | Python | Tutorial for beginners 2020 

DeepLearning_by_PhDScholar
Подписаться 13 тыс.
Просмотров 239 тыс.
50% 1

This video contains a stepwise implementation of python code for object detection based on the OpenCV library.
The following are the list of contents you will find inside the video.
1) basic understanding of object detection and image classification
2) installation of necessary libraries
2) line by line implementation for object detection using OpenCV
a) Single Image
b) Video.mp4
c) Live Webcam
List of labels to download
github.com/pjreddie/darknet/b...
Configuration file
gist.github.com/dkurt/54a8e8b...

Опубликовано:

 

14 окт 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 412   
@NoorainRazaEC
@NoorainRazaEC Год назад
No one on you tube do this project for biggener level , but you did in perfect manner Sir Thank you So much Sir.
@weixinteh7075
@weixinteh7075 3 года назад
This is the most selfless video for object detection have every seen! the steps by steps provided clearly and most important WORKING! it is really helpful for a beginner like me. Thanks author!! You save my life!
@TOI700e13
@TOI700e13 2 года назад
Hi it's only detecting person even if it is a car in VideoCapture .it's all good in img detection but the only problem is video object detection. could you please share your code if you've done it
@BruceWayne-xq7bb
@BruceWayne-xq7bb 2 года назад
bro, can u give the graph of deep learning architecture? u did not provide that link
@madarbakushussain758
@madarbakushussain758 2 года назад
The best explained video for object detection I've encountered so far!! Keep it up Bro
@chilukproducoes
@chilukproducoes Год назад
TNice tutorials is exactly what I needed to understand the UI. Great tutorial!
@nasim3269
@nasim3269 3 года назад
Thank you very much sir, this was just the perfect introduction t actually implementing computer vision!
@sudeep003gowda
@sudeep003gowda 2 года назад
You explained it very well. You made my day . I am so happy that I had learnt something new.
@colsoyeti1
@colsoyeti1 3 года назад
Thank you for the expertly presented tutorial and demonstration.
@sangeetagarg239
@sangeetagarg239 3 года назад
great job, Could you please teach me how a new dataset is labelled and implementation of all the approaches of object detection. As I am new to this area. I liked the way you described.
@SteelersFans99
@SteelersFans99 3 года назад
Fixed the problem with the bounding boxes: Replace “img” with “frame” in: cv2.rectangle(img,boxes,(255, 0, 0), 2) cv2.putText(img,classLabels[ClassInd-1] ......., thickness=1) Now it should work and display bounding boxes in the video! Great video! Very helpful!
@BruceWayne-xq7bb
@BruceWayne-xq7bb 2 года назад
Hey, im getting 'name cv2 is not defined' . How to correct the error
@kanawadeatharva7705
@kanawadeatharva7705 2 года назад
@@BruceWayne-xq7bb if you are getting error like module not found try to check if opencv is installed or not then just try this in cmd (pip install opencv-python)
@mohammedazzan7529
@mohammedazzan7529 Год назад
@@kanawadeatharva7705 hey bro you got the code in this video?
@kanawadeatharva7705
@kanawadeatharva7705 Год назад
@@mohammedazzan7529 yeah!!!
@deepibalachandran9956
@deepibalachandran9956 Месяц назад
@@kanawadeatharva7705 SEND CODE FOR THIS SIR
@Raini41
@Raini41 3 года назад
the best video so far and help me a lot. thank you.
@Radi0he4d1
@Radi0he4d1 Год назад
I need to put together a script that copies images containing only certain objects. I tried looking for tutorials, but all of them are hellbent on teaching people how to train AI to tell apart dogs and fish. All I needed was to be spoonfed on how to use a pre-made model. Thank you so much.
@pranavgupta9015
@pranavgupta9015 3 года назад
Hi, sir I really appreciate your detailed explanation and it's very easy to understand, there is a mismatch in labels and the pre-trained model. It took me some time but while classifying the images the model predicts the label 'fire hydrant' at position 11 and 'stop sign' at position 13, whereas in the labels list the 'stop sign' comes just after the 'fire hydrant'. How can we solve this problem?
@albertbenedict
@albertbenedict 3 года назад
quick question, what if the frame and classes doesnt show in my video/webcam? is there anything that i can do to fix that?
@karthikeyaanar
@karthikeyaanar 3 года назад
Thank you so much for your effort. Really helpful 👍🏽🙏🏼🙌🏽
@teetanrobotics5363
@teetanrobotics5363 3 года назад
Amazing tutorial.Thanks Mate
@prarthana_bhuyan
@prarthana_bhuyan 3 года назад
Thanks for teaching such complicated concept in simple words. Kindly guide me if we can integrate hardware like LED etc to such projects after detecting a specific object in real time.
@DassaBanger
@DassaBanger 2 года назад
Amazing video. Great job
@hackercop
@hackercop 3 года назад
Have just finished this. Thanks very much for making it. Have liked and subscribed!
@bhoomikamj7887
@bhoomikamj7887 2 месяца назад
Heyyy..i didn't find frozen_inference_graph.pd after downloading the config file...can you please help!
@sreeja2167
@sreeja2167 День назад
@@bhoomikamj7887 Heyyy.. I also didn't find frozen_inference_graph.pd after downloading the config file...can you please help
@connectrRomania
@connectrRomania Год назад
Simple. And clear tuto thank you so much
@mohamedgamer6877
@mohamedgamer6877 Год назад
So informative, thanks a lot!
@gursehajsinghmehta7099
@gursehajsinghmehta7099 2 года назад
Sir i cant find that particular stock footage that you used ,can you link it here.
@md.sahilansari5596
@md.sahilansari5596 10 месяцев назад
Really that details hits different
@alifurkanfindik2966
@alifurkanfindik2966 Год назад
my friend it was a very good video👌😀
@Axio95
@Axio95 3 года назад
very informative video and i learnt very much from this , if you could post more tutorials about deep learning and explainations will be helpful.
@Axio95
@Axio95 3 года назад
hi could you tell like what changes i need to make if i want to add new class files such as chair , pen , phones etc . for the real time web cam detection?
@mamoonst7195
@mamoonst7195 3 года назад
SIr I am working on a project which is to detect cotton using OPENCV Res Pi, Sir as the cotton data set is not available, is it possible to use a google image of any cotton to detect our cotton ball using HSV? Please reply.
@umairmughal0001
@umairmughal0001 3 года назад
Can you please teach how to features analysis using deep learning techniques? Your videos are very helpful to us. Thank you :)
@emmajanemackinnonlee
@emmajanemackinnonlee Год назад
given it's now 2022, would you suggest a different model that we should use? is this one outdated? or still the same one is good?
@Alpha-hj2ss
@Alpha-hj2ss 3 года назад
cv2.imshow('Object Detection Tutorial',frame) I got an error here. Does the quote name should be unique?
@ChirathLK
@ChirathLK 3 года назад
you have to run the whole code with the config files
@gowthamvignesh5802
@gowthamvignesh5802 2 года назад
Nice video man ,I liked it
@EstebantabaresML
@EstebantabaresML 3 года назад
Great video
@user-lj6kw7my6v
@user-lj6kw7my6v Год назад
Thank you so much sir from the bottom of my heart 💖.......it helped me a lot in my project
@lavanya2kowmar
@lavanya2kowmar 3 года назад
Thank you so much for this tutorial, it helped me a lot, I have a doubt, how do we know the values to set up the configuration
@rabirabail752
@rabirabail752 3 года назад
It's really helpful
@zenerd6944
@zenerd6944 Год назад
hello sir mind if i ask on how can i have audio speech whenever an object is detected how may i implement it…
@renzomontesa2088
@renzomontesa2088 3 года назад
Nice work bro
@pIbrarBabar
@pIbrarBabar 2 года назад
Excellent...!
@ShoaibKhan-ec6fh
@ShoaibKhan-ec6fh 3 года назад
help full👍👍
@vijaydattu709
@vijaydattu709 3 года назад
Thank you so much.well explained.
@refrefwgwgwegew
@refrefwgwgwegew 2 года назад
hi willing to help me with my code? I seem to get a different resolution of my video than the original...
@jatin9711
@jatin9711 Год назад
Sir can you please tell us if we want to increase that Labels dataset i.e want to include more things than how we will do that
@jamilahmarramduarte1575
@jamilahmarramduarte1575 3 года назад
sir can u help i have a reserch 1 then object detection is my study. but i dont have idea to do a object detection
@hieutle
@hieutle 3 года назад
what a absolute legend!
@hieutle
@hieutle 3 года назад
@@refrefwgwgwegew cap.set(3, width) and cap.set(4, height) whereas width and height is your preferred resolution
@hieutle
@hieutle 3 года назад
@@refrefwgwgwegew No. cap.set(3, width) where width is a number and cap.set(4, height) where height is a number. Try cap.set(3, 512) and cap.set(4, 384)
@ViralVideos.93
@ViralVideos.93 2 года назад
Sir in this project how we can add abnormalities part like if two persons are fighting or person is holding nife ,or we can say road accident then how we can show that
@lyndawakoli1596
@lyndawakoli1596 2 года назад
YOU SAVED ME ALOT ON MY FINAL YEAR PROJECT
@vigneshs1620
@vigneshs1620 2 года назад
Hi ma'am.i also stuck in last stage. Attribute error :tuple not have attributes flatten. Plz help .its also my final year project
@mohammedazzan7529
@mohammedazzan7529 Год назад
hello can you send me the code please?
@adityatiwari2325
@adityatiwari2325 3 года назад
the final video with all the boxes and names does not open up that is after typing the last code and pressing shift enter nothing happens. please help!!
@user-wq1pv4wz9e
@user-wq1pv4wz9e Год назад
For importing a video, I keep getting an error seen below. error: OpenCV(4.7.0) /Users/xperience/GHA-OCV-Python/_work/opencv-python/opencv-python/opencv/modules/imgproc/src/resize.cpp:4062: error: (-215:Assertion failed) !ssize.empty() in function 'resize' I am not really sure how to fix it and I was hoping somebody might have some insight for me.
@Happy_Kannadiga
@Happy_Kannadiga 3 года назад
sir where can i find frozen interference graph pb
@prashantrai5102
@prashantrai5102 2 года назад
thanku for the wonderful explaination
@pudinanno
@pudinanno 3 года назад
Thank you so much, explained everything very well........... i have worked on my own video and its working very nicely.
@pudinanno
@pudinanno 3 года назад
how do i calculate the accuracy of prediction of our object detection.
@pudinanno
@pudinanno 3 года назад
i have also calculated the confidence............by which it shows like for "person "-70%....if i want to do more analysis then what can i do and how to do that
@titashchowdhury441
@titashchowdhury441 2 года назад
Can u share the link of the frozen model
@BruceWayne-xq7bb
@BruceWayne-xq7bb 2 года назад
@@pudinanno bro can u shar link of the frozen model
@user-ek9ho1ny8d
@user-ek9ho1ny8d 2 года назад
That's a nice video, but how can I do the same using cv2 but for custom dataset? Change the num of classes and make the model detect the ones I've set?
@codetackle9662
@codetackle9662 3 года назад
thank you sir it very helpful for me
@mohanbansal959
@mohanbansal959 3 года назад
Nice video, Everything is very clear. Only one doubt, how can we export the frozen inference graph? It would be better if you share the link for the frozen inference graph file. Thanks
@pragyavashishtha8983
@pragyavashishtha8983 2 года назад
Same doubt.. Graphs were not there??
@danaali1710
@danaali1710 2 года назад
Hi, If I want to detect some other object outdide this 80 classes how can I do that please answer me
@zunich9177
@zunich9177 3 года назад
KEEP IT UP
@Fatimafatima-jd5ms
@Fatimafatima-jd5ms 3 года назад
Good job
@crazyworldddar9092
@crazyworldddar9092 3 года назад
Gud job
@ozkanuysal1263
@ozkanuysal1263 3 года назад
perfect.
@hemanthar8363
@hemanthar8363 3 года назад
Can you help me with the voicefeedback for the output .
@dhirajb9005
@dhirajb9005 2 года назад
I like your video.......
@muthukrishnan144
@muthukrishnan144 2 года назад
i am not able to find the file frozen inference graph. what should i do?
@astronaut4229
@astronaut4229 3 года назад
Thank you for the video! It was really helpful, but can you send us a link to the code? I'm looking forward to more of your videos!
@RoksanaParvin-iu1uu
@RoksanaParvin-iu1uu Год назад
From where can I download the frozen_interface graph?
@AbhishekSawant-yw7mu
@AbhishekSawant-yw7mu 3 года назад
Thanks a lot man !!!
@somashekarswamy8509
@somashekarswamy8509 3 года назад
where can i get information abt mobilenetv3 pls guide
@shreyakumar8675
@shreyakumar8675 3 месяца назад
How to convert this notebook to a tflite format for raspberry pi?
@jadavpur4
@jadavpur4 3 года назад
Hi... Thank you for the tutorial.. It's impressive. I have one question. Can we make the animation of moving objects a function of time? the program will run and continuous animation will run??? Thank you
@jadavpur4
@jadavpur4 2 года назад
@@heribertojuarez6046 Yes.. I make the animation of moving objects... Thank you very much..
@mdosama1231
@mdosama1231 Год назад
I don't find the frozen_inference_graph.pd here in the link after downloading,would you please share
@bhoomikamj7887
@bhoomikamj7887 2 месяца назад
Yah same here
@adityapatil1839
@adityapatil1839 Год назад
bhai thanks yaar !!!
@TsOd09
@TsOd09 3 года назад
Hi please advise what software packages kneed to me installed before beginning this tutorial? I keep getting a cv2 error when executing any commands
@adityatiwari2325
@adityatiwari2325 3 года назад
you need to download python , pylab, and matplotlib
@TsOd09
@TsOd09 3 года назад
@@adityatiwari2325 downloaded it, not getting another error
@augustineadutwen4713
@augustineadutwen4713 Год назад
please can anyone send me a link to the video used for the object detection?
@kavinyudhitia
@kavinyudhitia Год назад
nice, thanks!
@takudzwamanhovo3416
@takudzwamanhovo3416 3 года назад
how do i download the frozen inference graph
@ChristianMasculinity97
@ChristianMasculinity97 2 года назад
exactly what im asking rn
@RAZONEbe_sep_aiii_0819
@RAZONEbe_sep_aiii_0819 3 года назад
can you please share the whole code which you just implemented on screen using JN? I will be glad.
@opffgaming9426
@opffgaming9426 Год назад
hey I'm facing an error in thershold in video how could i solve it can you tell me?
@HKIIIVal
@HKIIIVal 2 года назад
This is a great video i love it, but i have a question, can you teach me how to count how many person or car in the video? like i need a counters for data also
@riyushachannel4761
@riyushachannel4761 2 года назад
Thanks bro it work 👍🏻, (auto subscribe)
@kupolusus
@kupolusus 2 года назад
so helpful video
@mairarafiquerafiquemr9163
@mairarafiquerafiquemr9163 3 года назад
Nyc geeat
@Cool-rb8nu
@Cool-rb8nu 3 года назад
So good
@mojojojo9121
@mojojojo9121 2 года назад
thank you so much! this was a really great learning experience!!
@farithmansor6092
@farithmansor6092 2 года назад
hi i have a problem in downld the graph. where you get the graph
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 2 года назад
Thank you for your interest, there might be some problem with the link so I have uploaded the frozen_interference_graph.pb separately, please use the link to download it. Thank you. drive.google.com/file/d/19seKEz-HYBkY_4DZV9ieu4gxgOnPxqhs/view?usp=sharing
@Belyrical
@Belyrical 3 года назад
👍👍👍
@cookwithstyle6286
@cookwithstyle6286 3 года назад
Helpful
@PankajsinghNegi-rs1wz
@PankajsinghNegi-rs1wz Год назад
thank u sir for this tutorial
@islamicshorts50611
@islamicshorts50611 3 года назад
awesome
@eduardoatilano9450
@eduardoatilano9450 3 года назад
Hello, anyone can help me to fix this error (it shows only when i changue the image)... 'tuple' object has no attribute 'flatten'
@vigneshkumars8517
@vigneshkumars8517 Год назад
Thank you sir!!!
@droneguy69
@droneguy69 3 года назад
Where can I get the datasets
@refrefwgwgwegew
@refrefwgwgwegew 3 года назад
Hi sir, 1) my real time video doesn't capture the whole video. Any ideas on how to get the whole video with detection instead of a screen where the video is only partially visible. 2) the video window doesnt disappear when I stop the jupyter program. I hope you can give us an update. Amazing video!
@a065vrajnirajbhairajpurasv9
Hello sir, thank you so much for this informative video, I was running the same code on my laptop, with all dependencies installed, in the last code segment I’m getting the error cv2.imshow(“Object Detection Tutorial”,frame) Invalid syntax I have rechecked the code multiple times and have also run the above code . Could you please help me with the solution
@anjalimehra4238
@anjalimehra4238 10 месяцев назад
Same, I am doing it in colab. Did you find the solution?
@bigbull536
@bigbull536 2 года назад
Sir, webcam is not displaying the names please reply sir
@rahulsatav2247
@rahulsatav2247 3 года назад
Thanku sir.. ✌️❤🤗😇
@shaheenarana5710
@shaheenarana5710 3 года назад
Great
@roitai-dev
@roitai-dev 2 года назад
Thank you Teacher
@muhdajim
@muhdajim 8 месяцев назад
hello sir. i have problem importing cv2. it shows TypeError: 'numpy._DTypeMeta' object is not subscriptable. how to fix this?
@BruceWayne-xq7bb
@BruceWayne-xq7bb 2 года назад
can u give the graph of deep learning architecture? u did not provide that link
@wonderman2864
@wonderman2864 3 года назад
Hello Sir, first of all you did a very nice job with easy explanation! Now I found some errors while detecting objects in real-time mode. For instance, phone is detected as a sink, scissors and the chair as a toilet or some kind of staffs. So how can I improve the accuracy of object detection in real time mode? In my case, it is perfectly detecting the person only. Thank you in advance :)
@Its_Ines
@Its_Ines 2 года назад
me too same Pb
@user-cq1gf8je7l
@user-cq1gf8je7l Год назад
feed the model with more data
@chiragkolambe3520
@chiragkolambe3520 Год назад
sir how to change the data set and label in the same program
@dr.rajeshsarkate6127
@dr.rajeshsarkate6127 Год назад
Having problem with dnn_DetectionModel in CV2, No such attribute error
@rithishrevan5341
@rithishrevan5341 Год назад
How to download the weights, the link provided is going to the code
@akritiagarwal3472
@akritiagarwal3472 3 года назад
Hi I am not able to download the weights document from GitHUB. Pls Help
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 2 года назад
Thank you for your interest, there might be some problem with the link so I have uploaded the frozen_interference_graph.pb separately, please use the link to download it. Thank you. drive.google.com/file/d/19seKEz-HYBkY_4DZV9ieu4gxgOnPxqhs/view?usp=sharing github.com/opencv/opencv/wiki/TensorFlow-Object-Detection-API Original Link
@norivlog159
@norivlog159 3 года назад
👍
Далее
YOLOv5 training with custom data
20:29
Просмотров 416 тыс.
Аминка ❤️
00:16
Просмотров 1,2 млн
Live Object Detection in Python
25:06
Просмотров 145 тыс.
Object Detection in 10 minutes with YOLOv5 & Python!
10:45
Object Tracking with Opencv and Python
30:03
Просмотров 601 тыс.
Object Tracking from scratch with OpenCV and Python
1:00:13
OpenCV Course - Full Tutorial with Python
3:41:42
Просмотров 3,2 млн