YOLO (You only Look Once )-A real-time object detection algorithma
On this page
YOLO is a state-of-art real-time object detection algorithm.

Object detection is a computer vision task, which focus on
predicting an object's presence
andlocalization in an image
.
How does YOLO work?
YOLO network treats Object Detection as a regression problem. It divides our image into regions, and predicts bounding boxes and probability for each region.
- Divide image into an SxS grid
- If the center of object falls into a particular grid,
- that grid cell predicts a set of bounding box coordinates for the object
- along with a confidence value associated with each of the predicted bounding boxes
- If the bounding box doesn't contain object in it
- the value will be equal to zero.

IOU
IOU implies Intersection over Union, which means we would take the size of intersection of two bounding boxes and divide it by union of two bounding boxes.
IOU = $\frac{SizeOfIntersection}{SizeOfUnion}$
Loss Function
YOLO uses sum-squared error
as its loss function.
Loss function or cost function is used to determine the error between the output of our algorithms and the given target value. It expresses how far off the mark our computed output is. The optimization strategies aim at minimizing the cost function.