Objectron icon indicating copy to clipboard operation
Objectron copied to clipboard

2D bounding boxes

Open finnweiler opened this issue 4 years ago • 3 comments

Is there a way to extract accurate 2D bounding box data from the 3D bounding boxes?

finnweiler avatar Jun 17 '21 09:06 finnweiler

You can fit a 2D bounding box to the projections of the 3D bounding box vertices.

jianingwei avatar Jun 17 '21 16:06 jianingwei

You are correct, I can extract a rough 2D bounding box by drawing a box around the 3D box projection (marked in red). My actual goal is to have an accurate 2D bounding box (marked in green).

screenshot

finnweiler avatar Jun 18 '21 05:06 finnweiler

I'm unaware of an easy way to find the tight green bounding box from the 3D bounding box. Alternatively you can find a rotated bounding box that's fits the object tightly.

jianingwei avatar Dec 07 '21 16:12 jianingwei