ar_track_alvar rotation changes suddenly

asked 2019-09-19 11:58:02 -0600

Hank gravatar image

updated 2023-06-18 09:40:45 -0600

lucasw gravatar image

I had that problem that some markers get detected as their mirrored version and then suddenly get a flipped z axis facing the rear side. Same as @Mehdi. How could you solve this? which orentation is right?

edit retag flag offensive close merge delete



Well they should always be facing the camera otherwise it wouldn't make sense, so check the quaternion range of markers with a Z vector facing the camera and try to get some threshold.

Mehdi. gravatar image Mehdi.  ( 2019-09-20 05:05:23 -0600 )edit