DEV Community

Tyrell Wellicq
Tyrell Wellicq

Posted on

2 2 2 2 2

How do you train your dataset for your video with Python YOLOv5 in the shortest way?

YOLO stands for “You Look Only Once” and is an extremely fast object detection framework that uses a single convolutional neural network. YOLO is generally faster than other object detection systems because it looks at the entire image at once, rather than scanning the image pixel-by-pixel. YOLO does this by dividing an image into a grid, and then each part of the grid is classified and localized (i.e. objects and structures are created). Then it predicts where to place the bounding boxes. The estimation of these bounding boxes is done with regression based algorithms as opposed to classification based algorithms.

Generally, classification-based algorithms are completed in two steps:

  • Selecting the region of interest (ROI — Region of Interest)
  • Application of convolutional neural network (CNN) to selected regions to detect the object(s).

YOLO’s regression algorithm estimates the bounding boxes for the entire image at once, making it significantly faster and a great option to boot.

The definition of topics such as computer vision, artificial neural networks, machine learning is not the subject of this article. In short, YOLO is an open source computer vision framework or library written in Python.

What are the must-haves on your computer?

First of all, I should point this out. Python coders know that Anaconda software is extremely slow and confusing at downloading and installing libraries. Of course, you can go and write your Python codes with the software (Spyder, PyCharm, etc.) there, but do not confuse the Python path you downloaded locally with Anaconda’s!

So that all this does not happen, we will make it possible for you to install and work with YOLO in the cleanest way, without messing with Anaconda, in the way I will explain now. Here are the things you need to install:

....

Read the full article and give it a clap on Medium: Article here

Heroku

Deploy with ease. Manage efficiently. Scale faster.

Leave the infrastructure headaches to us, while you focus on pushing boundaries, realizing your vision, and making a lasting impression on your users.

Get Started

Top comments (6)

Collapse
 
elliot_alderson_6927b4d20 profile image
Elliot Alderson

nice article tho

Collapse
 
javadev4life profile image
baran

yea

Collapse
 
tyrell_wellicq_767cb57340 profile image
Tyrell Wellicq

thx broooooo

Collapse
 
javadev4life profile image
baran

claaaaaaaap

Collapse
 
elliot_alderson_6927b4d20 profile image
Elliot Alderson

xd

Collapse
 
tyrell_wellicq_767cb57340 profile image
Tyrell Wellicq

thank uuuuuuuu

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay