Closed birolkuyumcu closed 4 years ago
saving coords with this code
_> double midX = objBox.box.x() + objBox.box.width() / 2.;
double midY = objBox.box.y() + objBox.box.height() / 2.; double width = objBox.box.width(); double height = objBox.box.height();_
but in Yolo
Where x, y, width, and height are relative to the image's width and height.
not from mid
In Yolo, x and y mean the center position of object.
saving coords with this code
_> double midX = objBox.box.x() + objBox.box.width() / 2.;
but in Yolo
not from mid