Hi @acfrost,
What you are describing involves:
- Estimating the marker’s pose
- Using the obtained Extrinsics to get a View Transform
- Inverting the View to end up with the transformation matrix for your marker using the camera centre as the origin
- Decomposing to extract the Rotation
- Go from the obtained Quaternion to Euler Angles (optional)
I tweaked the “Calculate a camera position using Aruco” help patch a little to save some time:
And here is the patch above:
Extract rotation from Aruco pose estimation.vl (102.9 KB)
Keep in mind you need to calibrate your camera and adjust the marker length in order for things to match your specific setup.
Hope that helps.
