Some issues with bounding box annotations
Hi,
I am encountering some issues with using the bounds
parameter in the view hierarchy. Is it absolute bounds or relative to root? And is it in XYXY format or XYWH?
Furthermore, I think width, height ordering is swapped?
Hi,
The bounds are absolute, not relative to the root, and they're in XYXY format. For example, [[24, 96], [1056, 1411]] means the top-left is [24, 96] and the bottom-right is [1056, 1411].
In this case, subtracting gives you 1032 for width and 1315 for height, which matches the size.
Hope that helps!
Hi,
I am encountering some issues with using the
bounds
parameter in the view hierarchy. Is it absolute bounds or relative to root? And is it in XYXY format or XYWH?Furthermore, I think width, height ordering is swapped?
Thank you for the quick response, greatly appreciated!