Valid Bounding Boxes for YOLO v2

2 visualizaciones (últimos 30 días)
Jacopo Biasetti
Jacopo Biasetti el 13 de Jul. de 2022
Editada: Vivek Akkala el 27 de Oct. de 2022
Hi,
I'm trying to understand what are the requirements the Bounding Boxes for YOLO v2 training need to satisfy.
Can the position and the width and height of the bounding boxes be fractional?
I noticed that in an example for the fasterRCNNObjectDetector a function called helperSanitizeBoxes.m is used, where fractional boxes are rounded. Is this a requirement for the bounding boxes or can they be fractional?
In the examples for YOLO this "sanitation" step is not present and from MATLAB documentation it seems that the bounding boxes can have fractional values both in location and size.
Thanks,
Jacopo

Respuesta aceptada

Vivek Akkala
Vivek Akkala el 27 de Oct. de 2022
Editada: Vivek Akkala el 27 de Oct. de 2022
YOLO v2 doesn't have a constraint on the fractional bounding boxes. Your input can have fractional values such as the bounding box position, height, and width.
Other requirments include:
  • The values of position, height and widht should not be zero
  • Height and width of the bounding box should not exceed total height of the image and width respectively.

Más respuestas (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by