Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To make the cameraCalibrate function use the initial cameraMatrix you specified, you have to give a flags parameter with the value CV_CALIB_USE_INTRINSIC_GUESS;

try

calibrateCamera(objectPoints,imagePoints,imageSize,cameraMatrix,distCoeffs,rvecs,tvecs,CV_CALIB_USE_INTRINSIC_GUESS);