AruCo Marker Distance in TVEC is wrong

I don’t see the problem. looks reasonable to me.

remember, that pose is the marker’s pose in the camera’s frame (i.e. it transforms marker-space points to camera-space points).

if you want the camera’s position in marker space, you need to invert the transformation.