AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.73k stars 7.96k forks source link

Normalization in YOLO #6788

Open sensationTI opened 4 years ago

sensationTI commented 4 years ago

it looks like the bounding boxes in yolo are normalized since the values (x,y,w,h) are between 0 and 1. But what is the benefit of doing this over normalizing the input image?

bulatnv commented 4 years ago

yolo style of bounding boxes are very useful when it is required to resize image. there is no need to recalculate bboxes, they are scale invariant.