NVlabs / Deep_Object_Pose

Deep Object Pose Estimation (DOPE) – ROS inference (CoRL 2018)
Other
1.03k stars 287 forks source link

symmetry for a cube #312

Open pt127 opened 1 year ago

pt127 commented 1 year ago

i would like to recognize a one color cube in the real world. I am aware that I have to consider the symmetries of the cube. How would the transformation matrices have to be set up, since there is symmetry of 4 times 90 degrees in each axis? has anyone had any experience with this? Thx for any help

mintar commented 1 year ago

there is symmetry of 4 times 90 degrees in each axis

Not quite. The cube has *6 4 == 24** symmetries:

If you just specify 4 times 90° in each of the 3 axes, you will get 4 4 4 == 64 symmetries, which would be wrong because there are duplicates.

You have to write a script that calculates these symmetries and stores them in the symmetries_discrete field, like I did for the hex screw object.

Maybe you can use this StackOverflow answer as a starting point.