Ask Your Question

Niko's profile - activity

2012-07-25 02:50:29 -0500 received badge  Student (source)
2012-07-24 15:40:51 -0500 asked a question How can solvePnPRansac be used with double values?

I'm trying to use solvePnPRansac() to compute the 3D pose from a known 2D projection of the object. My values (intrinsic camera parameters, model points (3D), image points (2D)) are all double values. The normal solvePnP() does not complain about that.

However, when I try to use solvePnPRansac, it yields an error message:

Assertion failed < opoints.depth() == CV_32F >

How can I use this function with double values? (working with float does not give the desired results)