I am trying to do some simple AR with Aruco tags and I am having trouble determining the correct perspective.
The problem occurs when it is unclear which side of the tag is closer to the camera.
For example, in the image, the two codes are on the same plane pointing the same direction, but the z-axes are pointed in different directions (The code on the bottom is showing the correct orientation):
Image is posted in comments, I don't have high enough karma for links yet.
I am not doing anything fancy, just a simple detectMarkers
with drawAxis
call for the results.
What can be done to ensure I don't get these false perspective reads?