I am using OpenCV-Python to correct lense distortion on pictures. I use the script given in this tutorial.
If I apply the script on the picture provided by the author of the script, its working.
However, if I use my own picture, I can either get a ROI = (0,0,0,0) or a ROI such that the crop is not good.
I don't understand why. I don't know what to do :./
- Is there a specific way to take picture of the chessboard?
- chessboard should be close/far from the camera?
- I should take several pictures?
- the camera should not move?
- Should I define the size of my chessboard square somewhere?
Thank you in advance for your answer.
M.