How can I find the bounding box center coordinates (x, y) using Python?

Asked 2 years ago, Updated 2 years ago, 54 views

The above bounding box center coordinates (x, y) are normalized from 0 to 1 for image size 288. And The size of the bounding box is normalized from 0 to 1 for image size 288.

Example: 0.426259 0.311151 → 122.76259289.611488

I'd like to change the bounding box center coordinate value like the example information above. What's the formula or method?

python opencv

2022-09-20 15:08

1 Answers

>>> .425259*288
122.474592
>>> .31151*288
89.71488000000001
>>> 


2022-09-20 15:08

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.