Dear Community,
For my project I need the rotation of the camera relative to a wall. The camera views the scene with a certain rotation. Measuring this by hand is difficult. For this reason I tried to use the approach of camera calibration with Aruco markers to get the rotation matrix of the camera. For this I used the following tutorial. However, I get very different results. In the picture you can see a camera. Theoretically the yaw rotation should be about 45°. But my result is in the range of about 60°.
I followed this tutorial: https://automaticaddison.com/how-to-perform-pose-estimation-using-an-aruco-marker/
Am I using the wrong method? Or am I doing something wrong? I could not find a solution to this problem, so I am asking for help here.
Thank you very much.