I am using cameraCalibrate function on openCV(C++), and I know imagePoints(2D) and objectPoints(3D). I have obtained ImagePoints and ObjectPoints 300 points each. So I don’t need image and I don’t have image size. but I have to put image size to use the function. How can I subtitute OR use the function without image size. at first I wrote ‘None’, but it did’t work. I am very new to Camera calibration code and I would really appreciate any advice I could get. Thank you.
**C++ cv::calibrateCamera(objpoints, imgpoints, cv::Size(gray.rows,gray.cols), cameraMatrix, distCoeffs, R, T);
**PYTHON ret, mtx, dist, rvecs, tvecs = cv2.calibrateCamera(objpoints, imgpoints, gray.shape[::-1], None, None)