I'm doing fisheye camera calibration with Opencv.
I found object points and image points using chessboard image.
The next step is the functionretval, K, D, rvecs, tvecs = cv.fisheye.calibrate(objectPoints, imagePoints, image_size, K, D)
How to get K
(Output 3x3 floating-point camera matrix) and D
(Output vector of distortion coefficients)? As far as I understand it this function returns these parameters (K
and D
) but it also asks to pass it as arguments.