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

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

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

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay