1 | initial version |
We need to give
rvec
andtvec
asvector<cv::Mat>
In the sample code
rvec
andtvec
is 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.