Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

std::max(ipoints.checkVector(2, CV_32F),

your img_points must be dtype=np.float32, not np.int

if you look at the assertion: std::max(ipoints.checkVector(2, CV_32F),CV_32F)

your img_points must be dtype=np.float32, not np.int