Replies: 1 comment
-
@Brayan532 to draw bounding boxes, ensure your coordinates are correct. The format you provided seems to be |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
implementation of yolov8 in Keras leads to getting the raw data including the bounding boxes. e.g. boxes = [
[1.314, 3.2655, 4.061, 35.858, 1.00], # box with confidence
[3.2099, 19.822, 4.0029, 48.796, 1.00],
[3.5606, 37.578, 4.0002, 53.052, 0.95],
[3.6445, 421.08, 4, 436.6, 0.8], # lower confidence
[3.6519, 428.88, 4, 445.43, 0.75]
]
question: How can we draw this box? I've tried the following approach but didn't work: xmin = int(x_center - width / 2)
ymin = int(y_center - height / 2)
xmax = int(x_center + width / 2)
ymax = int(y_center + height / 2)
I'm not sure whether I am calculating right or not?
Beta Was this translation helpful? Give feedback.
All reactions