this is an image of the marker set mask at roughly 300 mm from the center of the camera (measured with a ruler). I added labels to make sure the SimpleBlobDetector
was correctly finding the markers.
The output tvec
from SolvePnPRansac
is: [[265.90126038] [ 84.38081316] [185.9831118 ]]
So based on this it’s looking like the actual Z-distance is about 1.5 greater than the output of SolvePnPRansac
.