Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

We need to give rvec and tvec as vector<cv::Mat>

In the sample code rvec and tvec is of cv::Mat

Source: https://stackoverflow.com/a/36605425

The error can also happen if obPts or imPts have the wrong dimension. They should be "a vector of vectors of" points.