# Reprojection error with opencv

Hi, I'm looking for a method to obtain all the reprojection errors in a calibration. I know that the functions calibrateCamera and StereoCalibrate returns the final reprojection error but I need the maximum of all reprojection errors used for the final reprojection error calculation.

I have found the code for calculate all the reprojection errors but I'm interested in a more automatic method.

Is there any function to get all the reprojection errors calculated by the function calibrateCamera in openCV?

Thanks!