google-research-datasets/Objectron

Question about OBJECT_ORIENTATION

rgs-edu opened this issue · 2 comments

Can someone explain why the feature "OBJECT_ORIENTATION" has 9 values.

Separately
the class method box.fit returns orientation (3 values), translation and scale.
I guess this method essentially returns parts of a transformation matrix which transform a scaled axis aligned cube to the bounding box. If this is the case, what does orientation represent?
My guess -- angles(or cosines of the angle) at which box has to be rotated at an angle to the 3 axes...ie first value is the cosine of the angle between x-axis and line joining centre of box to origin and so forth?

Can you pls confirm?

It is a 3x3 rotation matrix. It is the top left corner of the transformation matrix. box.Fit method also returns a 3x3 rotation matrix.

Thanks.