Valid Bounding Boxes for YOLO v2

2 Ansichten (letzte 30 Tage)
Jacopo Biasetti
Jacopo Biasetti am 13 Jul. 2022
Bearbeitet: Vivek Akkala am 27 Okt. 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

Akzeptierte Antwort

Vivek Akkala
Vivek Akkala am 27 Okt. 2022
Bearbeitet: Vivek Akkala am 27 Okt. 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.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by