Open aaronlsmiles opened 1 year ago
The (C++)API "projectPoints()" supports max. 8 parameters, but your code tries to use 9 parameters...
See the documentation for different publicly available versions of OpenCV:
https://docs.opencv.org/3.4/d9/d0c/group__calib3d.html#ga1019495a2c8d1743ed5cc23fa0daff8c https://docs.opencv.org/4.5.0/d9/d0c/group__calib3d.html#ga1019495a2c8d1743ed5cc23fa0daff8c https://docs.opencv.org/4.6.0/d9/d0c/group__calib3d.html#ga1019495a2c8d1743ed5cc23fa0daff8c
Are you sure you are using the API in the correct way?
Apologies if my question wasn't clear. I understand that the code tries 9 arguments, what I'm asking is how to combine those parameters that are left and right, so that I will be able to give projectPoints
5 arguments.
I am trying to obtain the reprojection errors (RPE) during stereo-camera calibrate.
For the left I used the following code after calculating left camera parameters:
And the following code after calculating the right parameters:
However, when I attempt the following code to obtain the stereo RPE:
I get this error:
projectPoints() takes at most 8 arguments (9 given)
What can I do here to get the combined rvecs, tvecs, mtx, and dist, so that I can give projectPoints 5 arguments and obtain the stereo RPE?
Cheers!