- 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.
Valid Bounding Boxes for YOLO v2
2 views (last 30 days)
Show older comments
Jacopo Biasetti
on 13 Jul 2022
Edited: Vivek Akkala
on 27 Oct 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
0 Comments
Accepted Answer
Vivek Akkala
on 27 Oct 2022
Edited: Vivek Akkala
on 27 Oct 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:
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!