Object Detection using OpenCV | Python | Tutorial for beginners 2020

  Рет қаралды 244,303

DeepLearning_by_PhDScholar

DeepLearning_by_PhDScholar

Күн бұрын

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/pjr...
Configuration file
gist.github.co...

Пікірлер: 417
@NoorainRazaEC
@NoorainRazaEC 2 жыл бұрын
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
@SOHANIARYAN
@SOHANIARYAN Ай бұрын
​@@TOI700e13hii can you help me with the project
@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 3 ай бұрын
@@kanawadeatharva7705 SEND CODE FOR THIS SIR
@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.
@sudeep003gowda
@sudeep003gowda 3 жыл бұрын
You explained it very well. You made my day . I am so happy that I had learnt something new.
@chilukproducoes
@chilukproducoes 2 жыл бұрын
TNice tutorials is exactly what I needed to understand the UI. Great tutorial!
@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?
@madarbakushussain758
@madarbakushussain758 2 жыл бұрын
The best explained video for object detection I've encountered so far!! Keep it up Bro
@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??
@nasim3269
@nasim3269 3 жыл бұрын
Thank you very much sir, this was just the perfect introduction t actually implementing computer vision!
@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.
@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?
@md.sahilansari5596
@md.sahilansari5596 Жыл бұрын
Really that details hits different
@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.
@connectrRomania
@connectrRomania 2 жыл бұрын
Simple. And clear tuto thank you so much
@emmajanemackinnonlee
@emmajanemackinnonlee 2 жыл бұрын
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?
@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
@colsoyeti1
@colsoyeti1 3 жыл бұрын
Thank you for the expertly presented tutorial and demonstration.
@gursehajsinghmehta7099
@gursehajsinghmehta7099 2 жыл бұрын
Sir i cant find that particular stock footage that you used ,can you link it here.
@hackercop
@hackercop 3 жыл бұрын
Have just finished this. Thanks very much for making it. Have liked and subscribed!
@bhoomikamj7887
@bhoomikamj7887 4 ай бұрын
Heyyy..i didn't find frozen_inference_graph.pd after downloading the config file...can you please help!
@sreeja2167
@sreeja2167 2 ай бұрын
@@bhoomikamj7887 Heyyy.. I also didn't find frozen_inference_graph.pd after downloading the config file...can you please help
@top5-m7c6h
@top5-m7c6h Жыл бұрын
Thank you so much sir from the bottom of my heart 💖.......it helped me a lot in my project
@shaiksubhan245
@shaiksubhan245 Ай бұрын
Have u get graph file.. If u have it plz provide the link
@mdosama1231
@mdosama1231 Жыл бұрын
I don't find the frozen_inference_graph.pd here in the link after downloading,would you please share
@bhoomikamj7887
@bhoomikamj7887 4 ай бұрын
Yah same here
@a065vrajnirajbhairajpurasv9
@a065vrajnirajbhairajpurasv9 2 жыл бұрын
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 Жыл бұрын
Same, I am doing it in colab. Did you find the solution?
@AlexandraGriffin-w4n
@AlexandraGriffin-w4n Жыл бұрын
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.
@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 3 жыл бұрын
@@heribertojuarez6046 Yes.. I make the animation of moving objects... Thank you very much..
@Aditya-os9or
@Aditya-os9or Жыл бұрын
Where is the frozen Interface grap file
@sethatevybong6750
@sethatevybong6750 3 жыл бұрын
can you recheck the link of the configuration file? I'm unable to download the frozen model. When I download it only gives the .pbtxt file
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 3 жыл бұрын
Thank you so much for your interest, and sorry for being late in replying. I double-check the link. and of course it is a .pbtxt file, Trust me, go for it, it will work as in the video. github.com/opencv/opencv/wiki/TensorFlow-Object-Detection-API above is the link In the middle, you will find a table, please select this model as shown in the video MobileNet-SSD v3 (see #16760) 2020_01_14 weights config weights => pretrained model config=> config file I hope I have answered your question, feel free to ask anything in case you find any kind of difficulties. Stay blessed.
@nitishhdas
@nitishhdas 3 жыл бұрын
@@deeplearning_by_phdscholar6925 Same problem, When I extracted that file it has only .pbtxt file
@asfiyajabeen1965
@asfiyajabeen1965 3 жыл бұрын
Hey ! Even I am unable to download the frozen model. How did you do it? Pls guide me.
@helloworld6234
@helloworld6234 3 жыл бұрын
@@asfiyajabeen1965 I don;t know it too :(
@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
@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
@macharlajagapatibabu2654
@macharlajagapatibabu2654 3 ай бұрын
good explanation sir thank you soo much❤
@jatin9711
@jatin9711 2 жыл бұрын
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
@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!
@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
@Raini41
@Raini41 3 жыл бұрын
the best video so far and help me a lot. thank you.
@ПетяПетрушин-ж6ь
@ПетяПетрушин-ж6ь 3 жыл бұрын
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?
@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.
@muhdajim
@muhdajim 11 ай бұрын
hello sir. i have problem importing cv2. it shows TypeError: 'numpy._DTypeMeta' object is not subscriptable. how to fix this?
@shaktitamrakar2810
@shaktitamrakar2810 Жыл бұрын
Nice video.. Sir. Can you please tell me how i cn only detect animals with the help of this?
@sushmanaik2228
@sushmanaik2228 3 жыл бұрын
font_scale=3 2 font=cv2.FONT_HERSHEY_PLAIN ----> 3 for ClassInd, conf, boxes in zip(ClassIndex.flatten(), confidece.flatten(), bbox): 4 cv2.rectangle(img,boxes(255,0,0),2) 5 cv2.putText(img,ClassLabels[ClassInd-1],(boxes[0]+10,boxes[1]+40),font,fontScale=font_scale,color=(0,255,0),thickness=3) NameError: name 'confidece' is not defined sir,iam getting name error.can you please tell how to solve this error. thank you sir
@CodeHacker278
@CodeHacker278 2 жыл бұрын
you typed confidece in the zip loop you were meant to type confidence
@sushmanaik2228
@sushmanaik2228 2 жыл бұрын
@@CodeHacker278ok.. thank you sir
@CodeHacker278
@CodeHacker278 2 жыл бұрын
@@sushmanaik2228 your welcome
@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 3 жыл бұрын
Can u share the link of the frozen model
@BruceWayne-xq7bb
@BruceWayne-xq7bb 2 жыл бұрын
@@pudinanno bro can u shar link of the frozen model
@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.
@madhavioram4552
@madhavioram4552 Жыл бұрын
In above code cv2.putText....thickness is not show properly in above video plz give me an explanation regarding that....
@adzaelani6463
@adzaelani6463 3 жыл бұрын
how to solve an error like this? error: OpenCV(4.5.1) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-i1s8y2i1\opencv\modules\imgproc\src esize.cpp:4051: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'
@mrnobody1909
@mrnobody1909 3 жыл бұрын
Did you solve the problem? I have the same problem too.
@alifurkanfindik2966
@alifurkanfindik2966 Жыл бұрын
my friend it was a very good video👌😀
@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
@dipanshujoshi2397
@dipanshujoshi2397 Ай бұрын
what data set did you used for this project
@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…
@abhishekranjan2617
@abhishekranjan2617 3 жыл бұрын
bro, your code not gives an accurate result. In fact, I have tried many different videos, but unfortunately it can't pic the accurate results. In many videos, it is bird as a cat, butterfly as a dog. Please solve this issue...
@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!!
@zafrirhavia2795
@zafrirhavia2795 3 жыл бұрын
thanks for a great video I learned a lot. I would love for such great videos always. just wanted to ask , if you can paste a link to the model (frozen inference graph) for some reason is not in the zip file.
@zafrirhavia2795
@zafrirhavia2795 3 жыл бұрын
You can delete the question I found it i just un-tar the file ssd_mobilenet_v3_large_coco_2020_01_14.tar.gz
@johndo7003
@johndo7003 3 жыл бұрын
you saved me
@megamega3642
@megamega3642 Жыл бұрын
@@zafrirhavia2795 how could you un tar the file please explain mee
@mohammedazzan7529
@mohammedazzan7529 Жыл бұрын
@@megamega3642 bro you got the code for this video?
@kaziranga_national_park
@kaziranga_national_park 2 жыл бұрын
Sir, Do you help me. Actually I'm Forest Data-operator. Many capture images trapped camera for wild animals. Approx 15 lakhs. Folderwise automatically segregation and classify images. This method. Please tell me. How to work.
@SteelersFans99
@SteelersFans99 3 жыл бұрын
Thank you for the great video!! I ran into an issue at the end, the boxes around the objects would not appear on the video, and then the program would crash. The program was definitely counting and labelling the objects, I could see it building a list of everything it detected. Here is the error code: error Traceback (most recent call last) in 13 ret,frame = cap.read() 14 ---> 15 ClassIndex, confidece, bbox = model.detect(frame,confThreshold=0.55) 16 17 print(ClassIndex) error: OpenCV(4.5.1) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-kh7iq4w7\opencv\modules\imgproc\src esize.cpp:4051: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'
@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 жыл бұрын
bro can u share link of the frozen model
@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?
@polysopher
@polysopher 3 жыл бұрын
Thanks for sharing your time and knowledge! Do you have any idea what could be causing this error?
@__________________________6910
@__________________________6910 3 жыл бұрын
me too
@BruceWayne-xq7bb
@BruceWayne-xq7bb 2 жыл бұрын
can u give the graph of deep learning architecture? u did not provide that link
@shreyazalavadiya524
@shreyazalavadiya524 3 жыл бұрын
Please .. Can anyone provide documentation for this project like diagrams, project estimate and quality assurance
@Happy_Kannadiga
@Happy_Kannadiga 3 жыл бұрын
sir where can i find frozen interference graph pb
@soothingmelodies7992
@soothingmelodies7992 2 жыл бұрын
sir for video & webcam the code isn't working....... can you help?
@gowthamvignesh5802
@gowthamvignesh5802 2 жыл бұрын
Nice video man ,I liked it
@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?
@bigbull536
@bigbull536 2 жыл бұрын
Sir, webcam is not displaying the names please reply sir
@hackercop
@hackercop 3 жыл бұрын
Is it possible to run this on a GPU to speed things up. Thanks. I hope you get your PhD.
@vrishimeshram6323
@vrishimeshram6323 2 жыл бұрын
Thank you brother finding for three days how the objects detection works but none of them explain me as you 🫡
@ziaualhassain
@ziaualhassain 2 жыл бұрын
I'm trying but the model not able to detect the objects?? Did it worked fine for you?????
@vrishimeshram6323
@vrishimeshram6323 2 жыл бұрын
@@ziaualhassain ya it worked for me
@vrishimeshram6323
@vrishimeshram6323 2 жыл бұрын
@@ziaualhassain at where are you getting error
@ziaualhassain
@ziaualhassain 2 жыл бұрын
@@vrishimeshram6323 In the video part I’m getting an error in this line * ClassIndex, confidece, bbox=model.detect(frame,confThreshold=0.55) * And also the object detection is not accurate for eg. when I’m placing a mobile in front of webcam it is identifying it as a scissor
@vrishimeshram6323
@vrishimeshram6323 2 жыл бұрын
@@ziaualhassain bro try creating new jupyter notebook mine also get error at declaring model , it getting error that it is failed but when i try new will worked on
@jaimeelipascua8528
@jaimeelipascua8528 2 жыл бұрын
hhi. do you have a full tutorial of a helmet detection?
@karthikeyaanar
@karthikeyaanar 3 жыл бұрын
Thank you so much for your effort. Really helpful 👍🏽🙏🏼🙌🏽
@mohamedgamer6877
@mohamedgamer6877 2 жыл бұрын
So informative, thanks a lot!
@yasminehentati5026
@yasminehentati5026 2 жыл бұрын
i got this error : returned a result with an error set ...what should i do ?
@thanshithchoudhari9477
@thanshithchoudhari9477 2 жыл бұрын
same error
@DassaBanger
@DassaBanger 2 жыл бұрын
Amazing video. Great job
@chiragkolambe3520
@chiragkolambe3520 Жыл бұрын
sir how to change the data set and label in the same program
@dr.rajeshsarkate6127
@dr.rajeshsarkate6127 2 жыл бұрын
Having problem with dnn_DetectionModel in CV2, No such attribute error
@opffgaming9426
@opffgaming9426 Жыл бұрын
hey I'm facing an error in thershold in video how could i solve it can you tell me?
@ichad6947
@ichad6947 4 ай бұрын
'cv2.dnn.Net' object has no attribute 'setInputSize'. can you help me?
@techgaming4755
@techgaming4755 3 жыл бұрын
Greate video However i have a small issue the following error comes when i try to run the video demo please help error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'
@codewithpiyas8160
@codewithpiyas8160 3 жыл бұрын
Are you got any solution?
@thanshithchoudhari9477
@thanshithchoudhari9477 2 жыл бұрын
@@codewithpiyas8160 nooo
@muthukrishnan144
@muthukrishnan144 2 жыл бұрын
i am not able to find the file frozen inference graph. what should i do?
@shreyakumar8675
@shreyakumar8675 6 ай бұрын
How to convert this notebook to a tflite format for raspberry pi?
@jirapatdanit8769
@jirapatdanit8769 3 жыл бұрын
Can you write it to count the number of people and cars?
@pIbrarBabar
@pIbrarBabar 2 жыл бұрын
Excellent...!
@alexandrosiii5676
@alexandrosiii5676 2 жыл бұрын
if i use SSD-mobilenetv2 the above program does not work. Tell me where to read the commands for SSD-mobilenetv2
@RoksanaParvin-iu1uu
@RoksanaParvin-iu1uu Жыл бұрын
From where can I download the frozen_interface graph?
@saitalluri3251
@saitalluri3251 2 жыл бұрын
When there is dog in image it showing horse (showing next name). What should I do please tell me
@umairmughal0001
@umairmughal0001 4 жыл бұрын
Can you please teach how to features analysis using deep learning techniques? Your videos are very helpful to us. Thank you :)
@akritiagarwal3472
@akritiagarwal3472 3 жыл бұрын
Hi I am not able to download the weights document from GitHUB. Pls Help
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 3 жыл бұрын
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
@PankajsinghNegi-rs1wz
@PankajsinghNegi-rs1wz Жыл бұрын
thank u sir for this tutorial
@hemanthar8363
@hemanthar8363 3 жыл бұрын
Can you help me with the voicefeedback for the output .
@codetackle9662
@codetackle9662 3 жыл бұрын
thank you sir it very helpful for me
@rithishrevan5341
@rithishrevan5341 Жыл бұрын
How to download the weights, the link provided is going to the code
@shwetanshusood9450
@shwetanshusood9450 2 жыл бұрын
Nice video sir. Will you provide the link for code of this program.
@prashantrai5102
@prashantrai5102 2 жыл бұрын
thanku for the wonderful explaination
@lyndawakoli1596
@lyndawakoli1596 2 жыл бұрын
How can you intergrate it to have a databasse of people??
@BhatANDSingh
@BhatANDSingh 2 жыл бұрын
In the vedio part, I am getting indentation error : ClassIndex, confidece, bbox =,,,,,,,,,=0.55 I changed: str(confidence) but no help Please help
@tarkeshwarsingh7003
@tarkeshwarsingh7003 Жыл бұрын
How can I count the number of persons using this ? Please reply and help me sir
@dhakarpd4066
@dhakarpd4066 4 жыл бұрын
(-2:Unspecified error) Can't create layer "FeatureExtractor/MobilenetV3/Conv/BatchNorm/FusedBatchNormV3" of type "FusedBatchNormV3" in function 'cv::dnn::dnn4_v20190902::LayerData::getLayerInstance' can you suggest why this error is occuring in the line : ClassIndex, confidece, bbox = model.detect(img,confThreshold=0.5)
@omkarkharkar5998
@omkarkharkar5998 3 жыл бұрын
Same problem
@omkarkharkar5998
@omkarkharkar5998 3 жыл бұрын
What do
@dhakarpd4066
@dhakarpd4066 3 жыл бұрын
@@omkarkharkar5998 my issue got resolved by installing opencv contrib
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 3 жыл бұрын
Sorry guys for being late in replying as you got your answer and thank you so much for support and time
@thanshithchoudhari9477
@thanshithchoudhari9477 2 жыл бұрын
@@dhakarpd4066 how to install it sir
@abdullahalaraf228
@abdullahalaraf228 3 жыл бұрын
NameError: name 'confidece' is not defined
@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!
@Bhajra9005
@Bhajra9005 2 жыл бұрын
I like your video.......
@rabicode
@rabicode 2 жыл бұрын
will it work for pycharm?
@adityapatil1839
@adityapatil1839 2 жыл бұрын
bhai thanks yaar !!!
@furkank5614
@furkank5614 3 жыл бұрын
TypeError: 'numpy.ndarray' object is not callable Any Ideas ?
@teetanrobotics5363
@teetanrobotics5363 3 жыл бұрын
Amazing tutorial.Thanks Mate
@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)
Object Tracking with Opencv and Python
30:03
Pysource
Рет қаралды 614 М.
Un coup venu de l’espace 😂😂😂
00:19
Nicocapone
Рет қаралды 8 МЛН
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 10 МЛН
Realtime Face Emotion Recognition | Python | OpenCV | Step by Step Tutorial for beginners
32:24
OpenCV Course - Full Tutorial with Python
3:41:42
freeCodeCamp.org
Рет қаралды 3,5 МЛН
Object Detection in 10 minutes with YOLOv5 & Python!
10:45
Rob Mulla
Рет қаралды 268 М.
Object Tracking from scratch with OpenCV and Python
1:00:13
Pysource
Рет қаралды 256 М.
Un coup venu de l’espace 😂😂😂
00:19
Nicocapone
Рет қаралды 8 МЛН