Closed yongwuML closed 3 years ago
Hi, @yongwuSHU
You can calibrate your camera using a checkerboard pattern and OpenCV functions. I think following articles would be helpful. https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_calib3d/py_calibration/py_calibration.html https://www.learnopencv.com/camera-calibration-using-opencv/
hi, @hysts Thank your replay. If I got a video from internet, could I get the distortion coefficients by OpenCV functions? Sorry to bother you.
@yongwuSHU
I don't think it's possible to get the distortion coefficients in that case.
@hysts Thank you, actually, I want to pre-process the dataset EYEDIAP, it provided intrinsic parameters (martix 3*3), but no distortion coefficients. Could you give some ideas. Thank you.
@yongwuSHU
In my understanding, cameras in EYEDIAP datasets are already undistorted, but i'm not 100% sure, so you might want to contact with the authors.
@hysts Thank you, trully. I have sent some emails to authors , but no reponse. So, I can set distortion coefficients to [0,0,0,0,0] in your understanding?
@yongwuSHU
Oh, I see. Yes, I think it's OK to assume all distortion coefficients are zero.
@hysts Thank you very much.
Thank you for the excellent work, I want to how can I get distortion coefficients, I find that is array [0,0,0,0,0,]. It is correct? I think it's not all zero.