If you would like to follow along, here are the prerequisites: 1. Pycharm IDE with opencv installed 2. Coco.names file 3. Config and Weights file 4. Test image or webcam All the files can be downloaded from the below link under the "Intermediate" section by the heading "Object Detection Opencv" www.murtazahassan.com/courses/opencv-projects
@LearningTechCom3 жыл бұрын
" classIds, confs, bbox = net.detect(img,confThreshold=thres" this code getting error" what can i do
@mrSolo2953 жыл бұрын
there is nothing inside "-----Intermediate----" section??
@yunusemre90443 жыл бұрын
I can't find the files under the intermediate section. Can u please share them again? We love the video, it rocks!
@bobyau8755 Жыл бұрын
The weights Are in the dataset folder downloaded from kaggle
@yenupurigyaneswarasaikumar650 Жыл бұрын
classIds, confs, bbox = net.detect(img, confThreshold=thres) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ i am getting error
@pete12313 жыл бұрын
This was great, so easy and quick. I watched so many other tutorials and there are always a million dependencies and errors, this was awesome, thanks!
@_BENJOSEPH3 жыл бұрын
how to download COCO dataset?
@karatekidj13803 жыл бұрын
Peter, could you possibly help me with fixing my error?
@parthverma70892 жыл бұрын
i am having issues in getting the resource files such as ssd mobile net v3 and frozen inference....can u plz help me
@Ibloop5 ай бұрын
@@parthverma7089 If you still care go to the link in the description under download code, and then enroll for the course and then go to the lesson that says "Code Files" and then download the files at the top, it might not notify you that you downloaded the files but they will go onto your system
@hilmannaufal71284 жыл бұрын
8:48 "Sometime time it good to be lazy" quote of the day😁
@bryanirvine39144 жыл бұрын
Wonderful tutorial. Thank you so much for sharing your knowledge for free, you make the world a better place.
@murtazasworkshop4 жыл бұрын
You are so welcome!
@universalduggal17083 жыл бұрын
I went on your website to see the weight files and couldn't find them. Where are they?
@ddtdilireba3 жыл бұрын
yes...I also couldn't find it
@mark_coker3 жыл бұрын
www.computervision.zone/topic/basic-code/
@am_editz91452 жыл бұрын
Those are paid 😥
@llewsub4 ай бұрын
@@am_editz9145 So this whole tutorial is a waste of time then lol wtf
@qweqwe-kd4yc4 жыл бұрын
Good Job Murtaza. Hello from Turkiye to Pakistan
@luisfernandomanzano99532 жыл бұрын
This is just gold. Thank you so much Murtaza I'm a broke student but eager to dive into Computer Vision and thanks to your altruism in making this content I am can to learn something that otherwise I would not be able to. Thank you
@parthverma70892 жыл бұрын
i am having issues in getting the resource files such as ssd mobile net v3 and frozen inference....can u plz help me
@nobody-kn9kw10 ай бұрын
I gotta say, this video was just what I was searching for, great work man!!!
@yamzthe9 ай бұрын
I have error in classIds,confs,bbox=net.detect(img,confThresholf=thres) Assertion failed, !ssize.empty() in function What should I do?
@reold4 жыл бұрын
Good Job from India to Pakistan! (Others are saying you live in pakistan)
@ezzeldin1013 жыл бұрын
Sir can you put the links of the resources files in the description, please? We cannot perform anything without these files.
@mohammedkamran85592 жыл бұрын
Did u get those files??
@mohammedazzan75292 жыл бұрын
@@mohammedkamran8559 did you get them?
@krizz5825 Жыл бұрын
@@mohammedazzan7529 ys
@omereroglu6772 Жыл бұрын
@@krizz5825 how?
@allenqueen2 жыл бұрын
You sir, are a god amongst men.
@sohailali57414 жыл бұрын
Excellent tutorial.! Can you please make a tutorial on how to train Object Detection models using our own dataset?
@shaik.gulshanmohiddin59664 жыл бұрын
towardsdatascience.com/creating-your-own-object-detector-ad69dda69c85 u can check here!!
@گیمینگ3 жыл бұрын
Chekc the ai guy gethub he is explaining everything good but not perfect, I need a video as you said to
@brokeunistudent24743 жыл бұрын
@@shaik.gulshanmohiddin5966 hey shaik, im having some issues with the installation, could you help me solve it? cannot import name 'model_lib_v2' from 'object_detection"
@mmf37754 жыл бұрын
Great Tutorial Murtaza .from Iran to Pakistan
@atulchandradash84774 жыл бұрын
Awesome Sir ...... This the one of the best video i seen in youtube......you code are esay to understand.....thank so much sir... That One is really esay to use .....
@Cosyboy0123 ай бұрын
very helpful. Thank you so much
@mohammedsadiq69 Жыл бұрын
This is my first video of its and it's the third time in watching it today so I pressed the big red button directly
@amirhosseinesteghamat76214 жыл бұрын
Can you please give straight link to the dataset and the files you add to project at the start of video
@vyjayanthiseshadri43183 жыл бұрын
thank you soo muchh!Very informative and detailed video
@StormRaider20103 жыл бұрын
Thanks a lot for the tutorial, as usual well explained and straight to the point. Can you please point me to where I can download all the files you have imported at the start of the lesson. I can't find them. Thanks
@mohammedkamran85592 жыл бұрын
Did u get them??
@aniketkumarsingh28492 жыл бұрын
@@mohammedkamran8559 yes i need them'
@zerlinalilin9 ай бұрын
It's work! thanks a lot!!!
@alasthereshopeforyou.1719 Жыл бұрын
Thank you very Much. This has been very very helpful!
@shepbryan43153 жыл бұрын
This was super helpful! Your live coding is very impressive. Thanks!
@mcmouli20023 жыл бұрын
Excellent explanation. You made me to fell in love with openCV.
@Idan_Nesimov3 жыл бұрын
what means box[2] and box[3] ?
@hilaryyee Жыл бұрын
Thanks for the video! Love it! Can you do a tutorial on adding custom classes to the coco dataset for Object Detection with OpenCV Python? :)
@AI_CANISTER4 жыл бұрын
i dont understand why videos like this still get people who dislike it......
@gksugidivya6758 күн бұрын
🎉🎉🎉 same feeling broo
@venrajful4 жыл бұрын
Excellent tutorial. I'm currently working on a project that requires an ai to be able to recognize 4 different objects and then determine their orientation orientation this helped a lot with recognition.
@murtazasworkshop4 жыл бұрын
Glad it was helpful!
@venrajful4 жыл бұрын
@@murtazasworkshop It indeed was. The big challenge is now how to determine how the object is oriented relative to the camera. Found a lot of papers online but no real explanation on how to do it.
@edimameyanga38843 жыл бұрын
@@murtazasworkshop Where can i download the coco dataset from? And the .pb file? please
@krizz5825 Жыл бұрын
I am also working on a project, will this program work on Arduino?please reply
@yamzthe9 ай бұрын
I have error in classIds,confs,bbox=net.detect(img,confThresholf=thres) Assertion failed, !ssize.empty() in function What should I do?
@cyberthunder10123 жыл бұрын
love your work from bangladesh
@kelixoderamirez2 жыл бұрын
permisiion to learn sir. thank you
@Python-eu7ok2 жыл бұрын
Thanks Really Helpful I love 🌹 your videos
@2000varma3 жыл бұрын
Excellet tutorial! Can you please explain why we have set the input parameters(Size, Scale, Mean, SwapRB) to the net object?
@parthverma70892 жыл бұрын
i am having issues in getting the resource files such as ssd mobile net v3 and frozen inference....can u plz help me
@albertjackinson4 жыл бұрын
I will definitely put this to use in my own project sometime! Thank you for making this tutorial.
@shova5243 жыл бұрын
Can i get your project name?
@hackercop3 жыл бұрын
Thanks so much for making this, I learn't a lot from you.
@irvinsanchez34052 жыл бұрын
What cam are you using?, Are you using a ESP32?
@bhubeshsr62814 жыл бұрын
need weekly thrice videos like these please I am sharing this with all my friends
@dennisasamoah22134 жыл бұрын
great tutorial from a great teacher
@amjadmoughal Жыл бұрын
Good work keep it up bro.
@dinmalikogli59833 жыл бұрын
jazakallahu khoyron bro
@cealisher3 жыл бұрын
It worked thanks alot
@kanonghaemi24444 жыл бұрын
you are BEST . tanx for sharing .
@هاجرأسامة-و3ز4 жыл бұрын
Thank you! I have a question. How can I get the config and weight files?
@mathandscienceeveryday13394 жыл бұрын
I have the same question
@gabetower61654 жыл бұрын
Follow the first link in the discription. And enrole it's free.
@Ibloop5 ай бұрын
@@gabetower6165 The link in the course doesn't work anymore
@sayanmondal1612 жыл бұрын
SystemError: returned a result with an exception set Sir can you help me out with this? I've searched for this error in several places but can't seem to be of help... I'm using VS Code as a platform... Thank You
@michaelderamus6622 жыл бұрын
Does this work anymore? I'm getting an error for the following. net = cv2.dnn.DetectionModel(weightsPath, configPath) AttributeError: module 'cv2.dnn' has no attribute 'DetectionModel'
@jeremypei36103 жыл бұрын
Thank you so much sir!!!!!!!
@humpreyzoeagustin79583 жыл бұрын
Hi I'm a computer engineering student from the Philippines, I am thankful for your videos this video helps me a lot and I am also currently enrolled at your website and I'm very thankful for this :)))))
@yamzthe9 ай бұрын
I have error in classIds,confs,bbox=net.detect(img,confThresholf=thres) Assertion failed, !ssize.empty() in function What should I do?
@RaghunathTambde9 ай бұрын
Check the VideoCapture if it is "1" make it "0"
@AHMADKELIX2 жыл бұрын
permission to learn sir.thanks you
@서주아이스주-s6c3 жыл бұрын
Thank u verry much i love you❤️❤️
@hackercop3 жыл бұрын
You are a hero!
@hiteshsingh22224 жыл бұрын
Incredible... Thanks for the effort and time
@lorddevincecifra32003 жыл бұрын
How to connect the camera to the laptop? In order for it to access the program. And does this needs a microcontroller?
@aykutsirma42603 жыл бұрын
I am getting this error: net = cv2.dnn_DetectionModel(weightsPath,configPath) AttributeError: module 'cv2.cv2' has no attribute 'dnn_DetectionModel' Do you know or anyone know how to solve this problem? thank you.
@nadeemshaikh92574 жыл бұрын
Assalamualykm bro yr videos help me alot ♥
@cybercity23742 жыл бұрын
For real man you inspired many of my main projects on AI. Thank you
@FaisalR3 жыл бұрын
awesome thanks for the tutorial
@pagbigl29773 жыл бұрын
how to solved net = cv2.dnn_DetectionModel(weightsPath,configPath) SystemError: returned a result with an error set
@madshyrup42263 жыл бұрын
Have you fixed it? I'm having the same problem
@guhanprabhu85133 жыл бұрын
@@madshyrup4226 did you fixed it? i also having same problem and could you tell that where did you det config and weight files i get it from a github page. thanks in advance
@sakshamsinha51643 жыл бұрын
Yes plz tell having same problem wat to do
@hoavannguyen82753 жыл бұрын
@@sakshamsinha5164 I think your weight file was broken. Download a new file
@Renatic1233 жыл бұрын
Where can we found the fronzen_interference_graph? Thank you
@antoinelangevin29553 жыл бұрын
"Speed and accuracy" The mouse = Hot Dog 0:08
@mr.anonymous84103 жыл бұрын
Thanks a lot bro.
@vikky452 Жыл бұрын
sir please help, its showing Traceback (most recent call last): File "H:\object_detection\object_d.py", line 31, in cv2.putText(img,classNames[classId-1].upper(),(box[0]+10,box[1]+30), IndexError: list index out of range
@ibbsinn10 ай бұрын
same , did you find the fix?
@patrickpuentelml49584 жыл бұрын
I love it this video. GREAT JOB :) Murtaza's you are an expert in this field I need your help How can I custom and training my own SSD MOBILENET ? I want to recognize my own object but with a CNN like this video i don't want to use the Haar Cascade method. Plese I'm working in my last project and for me is more cool using SSD MOBILENET with a predictions instead using HaarCascade. Please could you made a video training your own SSD MOBILE NET please, please, please
@YaMaxim2 жыл бұрын
Why do you put the wrong link for your code? Download code doesn't mean buy courses! :(
@junkmauler2 жыл бұрын
Can you do a video on how to train new objects from a collection of images? Your content is great!
@parthverma70892 жыл бұрын
i am having issues in getting the resource files such as ssd mobile net v3 and frozen inference....can u plz help me
@dompower5004 жыл бұрын
Since your videos are always easy to follow and efficient, we are eagerly waiting sir. Thsnk you for working hard to bring excellent tutorials. Can you pls cover a subject how to control relay or any device from pyCharm running on windows? (Bcs of GPIO, I will be able to do in Raspberry)
@murtazasworkshop4 жыл бұрын
Hi . There is a similar tutorial i have done that communicates with arduino using serial communication and controls a servo . You can check that. kzbin.info/www/bejne/iqrQiX2MoJJ8bLM
@dompower5004 жыл бұрын
@@murtazasworkshop Thank you very much sir.
@parthverma70892 жыл бұрын
i am having issues in getting the resource files such as ssd mobile net v3 and frozen inference....can u plz help me
@mohammedazzan75292 жыл бұрын
@@parthverma7089 did you get the solution? i too am having problems
@yenupurigyaneswarasaikumar650 Жыл бұрын
classIds, confs, bbox = net.detect(img, confThreshold=thres) i am getting error over here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^@@murtazasworkshop
@ofekyofi4 жыл бұрын
Great video!! everything worked perfectly
@anime_fusionlab127 ай бұрын
can u pls explain how to do it
@RixtronixLAB3 жыл бұрын
Nice, thanks :)
@alexandrpetrov11104 жыл бұрын
Thanks!
@mrclash13572 жыл бұрын
hi its good tutorual but can you tell me how I add anthor coco names like names that were not in coco name if I add that can be destroy the code?
@gouruhemanth2 жыл бұрын
dir, please tell us ,the method used is machine learning or transfer learning?? please reply fast.
@حيدرنوريطالب3 жыл бұрын
thanks murtaza
@mhmaryam93594 жыл бұрын
Merciiiiii pour votre effort
@overflow50274 жыл бұрын
Interesting cant wait!
@anggingwahyuwibowo1144 жыл бұрын
Request Tutorial: - Detect rotation angle from template.
@Maihoe14 жыл бұрын
Can I do this using a hikvision IP camera rather than webcam? If so then can you do a quick tutorial on this? Thanks for your hard work. It is much appreciated
@Be_Wondered4 жыл бұрын
SystemError: returned a result with an error set Can you please help me in this case.
@501ismail5013 жыл бұрын
I solved it by downloading same files as Murtaza used (there is a link in the descriptions)
@pranavsundriyal12513 жыл бұрын
I am not able to open any file from the link in the description, please help
@501ismail5013 жыл бұрын
@@pranavsundriyal1251 you need to enroll the course first
@dhaneshkumareswaran17583 жыл бұрын
@@501ismail501 where
@mohammedazzan75292 жыл бұрын
@@501ismail501 where is it man wtf>?????????
@mohamedosama1307 Жыл бұрын
Oooh, it works!!!😀🤩 thank you so much for this♥, how can I do this using my mobile cam? And guys I'm using web cam laptop so the "cap = cv2.VideoCapture(0)" the value should be (0) for me, (1) did not works.
@samarthas67953 жыл бұрын
Hi Bro, I am running the code but after 5 to 10 sec i get an error Error: Traceback (most recent call last): File "e:\ObjectDetector\venv\main.py", line 30, in cv2.putText(img, classNames[classId-1].upper(), (box[0]+10, box[1]+30), cv2.FONT_HERSHEY_COMPLEX,1,(0,255,0)) IndexError: list index out of range [ WARN:0] global C:\Users unneradmin\AppData\Local\Temp\pip-req-build-m8us58q4\opencv\modules\videoio\src\cap_msmf.cpp (438) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback What shoul i do to correct it?
@mujeebrahman52912 жыл бұрын
any leads on this one?
@Ashwinisn2422 жыл бұрын
Any fixes on this kindly help
@syedshouvikislam64042 жыл бұрын
@@Ashwinisn242 any fix?
@DylanCahill642 жыл бұрын
This issue is answered here: stackoverflow.com/questions/67448987/indexerror-list-index-out-of-range-object-detection The problem is actually with when you are reading and stripping coco.names. Have a read of that link and it explains it well in the answers :)
@naoureskraiem64824 жыл бұрын
Good job Naoures from tunsia
@thinhtruong58314 жыл бұрын
Thanks you very much for this video. I hope you will guide custom Data Mobile net ssd
@01learnwithme2 жыл бұрын
Sir Ye Ssd_mobile_v3_large_coco wali files kaha se import ke Hain
@pranshutyagi43383 жыл бұрын
Bro can u tell me how you have learned ML and AI, I mean from where or which sourcee
@fanymaulidinr99073 жыл бұрын
i got an error, "line 31" List Out of The Range. what should I do?
@balensoran36662 жыл бұрын
did you find the solution???? please help me
@emadtayefeh5143 жыл бұрын
Can you please make a video about scanning the area by LIDAR?
@Java-fj3mk2 жыл бұрын
Thanks a lot for this great tutorial. I have watched couple of the videos here in KZbin, but no one make it straight forward like you. In line 22 why you didn't flatten the bbox when you use it with the zip function?
@edSabio5723 жыл бұрын
Dr. Murtaza, I need to know how to close up the 'complete' course in your website. At times, I play the video straight from youtube. when I log in in my account it is showing not complete. My question is, do I have to log in to continue the lesson? there is no option to 'continue' later...
@janabj33353 жыл бұрын
which software you using? plz tell me @Murtaza's
@harshalsonawane88502 жыл бұрын
Can we improve the model's accuracy!?
@kapilgurav6725 Жыл бұрын
plzz help me out I am stuck with this error cv2.putText(img, classNames[classId - 1].upper(), (box[0] + 10, box[1] + 30), ~~~~~~~~~~^^^^^^^^^^^^^ IndexError: list index out of range
@radatechnologies58443 жыл бұрын
Hi! it was such a great tutorial but you haven't attached the .pb and .pbtxt files link, it will be great if you can provide the link.
@salmankhan244 жыл бұрын
simply awesome
3 жыл бұрын
How to get the initial files you put in to project? Coco names and SSD files.
@burakm.4314 жыл бұрын
What is the algorithm used (cascade classifier etc.)? How does it detect objects? Can it be used for a specific object? Thank you, good job.
@huseyinozker21003 жыл бұрын
it can be used for a specific object. For only one object you can create your own haar cascade or for a lot of object you can train your own dataset.
@yamzthe9 ай бұрын
I have error in classIds,confs,bbox=net.detect(img,confThresholf=thres) Assertion failed, !ssize.empty() in function What should I do?
@JH-on1rw3 жыл бұрын
Thanks for lecture, Did you run Pycharm to using code?
@freemanwong1063 жыл бұрын
thank you the video. I wonder where we train the model?
@rgbsirius2 жыл бұрын
Can you do object detection with recorded video instead of the image?
@pipoyII4 жыл бұрын
I having a problem with cv2.dnn_DetectionModel(). Can you help me how to fix this?
@notkekoii4 жыл бұрын
i have the same problem if u know help me
@fajarnabil4963 жыл бұрын
@@notkekoii yes me too, how i can fix it?
@rrsrini3 жыл бұрын
Wonderful tutorial
@PS-Partha3 жыл бұрын
where did i get coconames
@nogafathi23593 жыл бұрын
My research in Fully convolution Network.. in small object detection so from. where I should be start.. please help me... give me some advices
@jocemarvosskovacs33842 жыл бұрын
Great! Congrats 🙌 Is there some place where I can get another model to detect? I need detect pimples, acnes, and skin marks in faces. Thank you 😊🙏
@bhavinmoriya92162 жыл бұрын
Thanks for the video? Where do you find frozen weights? Could plz share a link?