| 1 | initial version |
We need to give
rvecandtvecasvector<cv::Mat>In the sample code
rvecandtvecis ofcv::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.