1 | initial version |
Upgrade OpenCV? Version 2.4.10 contains another check in solvePnPRansac
CV_Assert(opoints.depth() == CV_32F || opoints.depth() == CV_64F);
So does the latest git snapshot: https://github.com/Itseez/opencv/blob/master/modules/calib3d/src/solvepnp.cpp#L204