Oleg42-prog / scrolls

Useful solutions/templates/patterns
0 stars 0 forks source link

Bounding box formats convertors #16

Open Oleg42-prog opened 7 months ago

Oleg42-prog commented 7 months ago

Add functions to convert between different bounding box formats. I suggest adding the following formats:

Oleg42-prog commented 7 months ago

We have 3 different bounding box representations: xyxy, xywh, cxywh

And we have 3 different coordinates systems: base image, normalised, normalised in percentages

Totaly we have 3 * 3 = 9 bounding box formats.

Total number of all convertation functions is 81, and 9 of them is identyty.