YOLO Algorithm for Object Detection Implementation using Python
Vložit
- čas přidán 7. 09. 2024
- In this video, I've implemented the YOLO (You Only Look Once) algorithm which is used in object detection using Python.
Object detection is a critical capability of autonomous vehicle technology. It’s an area of computer vision that’s exploding and working so much better than just a few years ago.
YOLO is a clever convolutional neural network (CNN) for doing object detection in real-time. The algorithm applies a single neural network to the full image, and then divides the image into regions and predicts bounding boxes and probabilities for each region. These bounding boxes are weighted by the predicted probabilities.
YOLO is popular because it achieves high accuracy while also being able to run in real-time. The algorithm “only looks once” at the image in the sense that it requires only one forward propagation pass through the neural network to make predictions.
LinkedIn: / balaji2512
Watch the theoretical understanding of the YOLO algorithm: • YOLO (You Only Look On...
GitHub: github.com/bal...
Download the files -
coco.names : github.com/pjr...
yolov3.cfg : github.com/pjr...
yolov3.weights : pjreddie.com/m...
Some research papers on YOLO for better understanding of the algorithm:
pjreddie.com/m...
pjreddie.com/m...
pjreddie.com/m...
#yolo #python #ObjectDetection #DataScience
Precise and crisp explanation,expecting more live projects , thank you
Super bro. Nice explanation 👍👍🔥❤️👏🏻👏🏻
Thanks Mr Srinivasan. This really helpful
How to use camera as input?
Help needed fast
Sir weights file is not opening in visual studio code
Sir yolov3 weight is doesn't able to open
COCO is great .. but how do I use it in a macro system? (I want to analyze more words/dict and more objects).. Probably COCO is not enough for me.. :(
Hi sir i am having a error called index error in line 69 please help
same error just remove [0]
Sir I can't install opencv version 3.4.2
How can I install??
I have seen and loved this video and I found it very simple way of explanation. So I have subscribed it. Can you please create 1 video for custom dataset for multiple object detection using yolo and also please share how can we get the location of each object in image.
Thanks in advance !
yes please,even I need it..please help
Hi brother. I am really liking your videos and knowledge. Can you please tell more about your study/work experience background and how got here. Thanks in advance.
thanks bro......this video really helped me a lot
please share vedio about yolo installing please
Can we use yolov5 weight file like best.pt in opencv to extract the bbox and label??
Thanks for uploading this video it very helpful for my studies . i have one doubt how to save particular object detected frames from video with timestamp
usage: yolo.py [-h] -i IMAGE [-c CONFIDENCE] [-t THRESHOLD]
yolo.py: error: the following arguments are required: -i/--image
i am getting above . please help ji
i am getting same error
Same error
Can i get to know which version of YOLO Algorith u are using
Can you please explain how to create our own data set for this program?
Like you are importing those data set files that you downloaded, how to create one of my own?
how to add new images. like for sign language.
How to detect number plate and colour of the vehicles from an video sir.
i used the above code and run it showed the input image without boundingboxes
sir our yolo v3 algorithm also predict the Monique also a person?
So nice sir. Really i have impressed. I have doubt. In bunch of ants say 100. can we capture individual and fix the number for them as Aunt_001 upto Aunt_100. If some aunts are gone into nest (out of our frame). After some time some aunts came out those who were entered nest. Here. 1. Can we able to identify which aunts in terms of Aunt number gone into nest, as well as which all are came out from the nest. Is it possible sir. Can we fix permenent identification number for every aunt? I appreciate your reply and eagerly waiting for your answer. Thank you.
Thank you sir!
Hello brother as you have made video on gender detection. Can you make a video on real time gender detection as well as age prediction?
sir,,,,,, Please make a video on how we can convert python code into an app !!!
there is no such good vedio on it, in youtube.
We will definitely support you.
if anyone reading this comment, and knows, Please explain me,,,,,,,,,,:)
I couldn't download first two links
bro reply fast bro where to download python file bro.
Sir upload continously..please sir
Do you know any other languages another than python. If yes, pls make tutorial on them as well it would be very beneficial.😃
Sure, will try to do that. Thanks for the input :)
Bro kindly let me know how to increase accuracy of a model best way
Can you implement a model which can identify a car's company. by say identifying it's logo. There are not many resources for it. Detecting logo on an image is tough since it is small. You have any idea?
train your model with logos and corresponding features
Hello brother,
Amazed with your explanation and trying the code which you have thought.
Thanks for sharing the knowledge.
I have encountered with one problem, it is with parse the argument.
args = vars(ap.parse_args())
Usage ; [-h] -i Image [-c CONFIDENCE] [-t THRESHOLD]
error: the following arguments are required: -i/--image
An exception has occurred, use %tb to see the full traceback
I am using openCv of version 4.5.2 will it be any problem
Please help me out about this error.
i got error in the 48th line
Weight files take too long time to download?
Nice explanation and keep going.
How can I reach you?
Can u please resolve my error it's showing argument is required!!!?
Same problem can u find the solution
Hi Sir, i am getting the following errors
Kindly help me out with this
C:\Project>python yolo.py --image images/abc.jpg
Traceback (most recent call last):
File "C:\Project\yolo.py", line 67, in
ln = [ln[i[0] - 1] for i in net.getUnconnectedOutLayers()]
File "C:\Project\yolo.py", line 67, in
ln = [ln[i[0] - 1] for i in net.getUnconnectedOutLayers()]
IndexError: invalid index to scalar variable.
Looking forward for assistance ( Urgent basis).
Thanks in advance!!
Bro did you got the error resolved,
Same issue
If yes please help
1st 🙂 ❤
which python version you are using 3.7 or 3.8 plz reply
I'm using Python 3.7
Super bro 🔥🔥🔥🔥 , But how to get object detection in a video file ,can you help me
you need to convert video into list of images & then you can process that image with yolo & again make video out of it
Opencv-python version 3.4.2 is not installing on my pc
Can you mention what command you used and what error are you facing?
@@BalajiSrinivasan25 : C:\Users\PRAVEEN>pip install opencv-python==3.4.2
ERROR: Could not find a version that satisfies the requirement opencv-python==3.4.2 (from versions: 3.4.8.29, 3.4.9.31, 3.4.9.33, 3.4.10.35, 3.4.10.37, 3.4.11.39, 3.4.11.41, 3.4.11.43, 4.1.2.30, 4.2.0.32, 4.2.0.34, 4.3.0.36, 4.3.0.38, 4.4.0.40, 4.4.0.42, 4.4.0.44)
ERROR: No matching distribution found for opencv-python==3.4.2
WARNING: You are using pip version 20.2.2; however, version 20.2.4 is available.
You should consider upgrading via the 'c:\users\praveen\appdata\local\programs\python\python38\python.exe -m pip install --upgrade pip' command.
@@praveenkispotta1999, please upgrade your pip by using the below command,
c:\users\praveen\appdata\local\programs\python\python38\python.exe -m pip install --upgrade pip
And then try to install opencv by using,
pip install opencv-python==3.4.2.16
@@BalajiSrinivasan25 sir, not working on my pc.
Try pip install opencv-python==3.4.8.29
This version should work for you
Hi, did anyone run it as per the procedure. I am getting the odd error thought the file and path are present. Traceback (most recent call last):
File "yolo.py", line 48, in
LABELS = open(labelsPath).read().strip().split("
")
FileNotFoundError: [Errno 2] No such file or directory: 'yolo-coco\\coco.names'
Did you got the solution bro, I am encountering same problem
@@ratneshpndy7186 No
How to give video as input in yolo
it shows me error in line 64