Space between an object and the ground truth bounding box Which way is better for drawing the ground truth boxes for object detection?


Drawing as tight as the sides of the box touch the border of the object, or


Make a little space between the box and the object?
The first image is a better bounding box.  A perfect bounding box has no space in between the edges of the object and the box, but it also fully contains the object.