AlexeyAB / darknet

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

Drawing box around object to train, tight border or loose? #3999

Open Gaz83 opened 5 years ago

Gaz83 commented 5 years ago

When drawing boxes around the objects that you wish to detect, is it better to draw the box as close to the object boundaries as possible or leave a little gap?

For example, let's say my object is a square and is on a white background. Is it better to draw the box around the square with a little white border or should I draw it as tight as possible?

AlexeyAB commented 5 years ago

I added to readme: https://github.com/AlexeyAB/darknet#how-to-improve-object-detection