• The white circles show input points, while the coordinate axes show the resulting model pose.
• Make sure you use the focal length of your camera as obtained through a calibration process. You might want to check one of the calibration procedures available in the Camera calibration section in Chapter 2, Marker-based Augmented Reality on iPhone or iPad. The current implementation of
POSIT will only allow square pixels, so there won't be room for focal length in the x and y axes.
• Expect the rotation matrix in the following format:
[rot[0] rot[1] rot[2]]
[rot[3] rot[4] rot[5]]
[rot[6] rot[7] rot[8]]
• The translation vector will be in the following format:
[trans[0]]
[trans[1]]
[trans[2]]