see this link:link...that is my code and now i got correct RMS,camera matrix and distortion coefficient without any error after capturing chessboard pattern image..and also every time when i run i got same output as below:
processing image10.jpg... ok
processing image3.jpg... ok
processing image2.jpg... ok
processing image8.jpg... ok
processing image7.jpg... ok
processing image1.jpg... ok
processing image5.jpg... ok
processing image4.jpg... ok
RMS: 0.137022853601
camera matrix:
[[ 271.40850489 0. 306.38705314]
[ 0. 271.08688021 234.03565551]
[ 0. 0. 1. ]]
distortion coefficients: [ -3.55461489e-01 1.45402260e-01 -1.33385142e-03 1.63603888e-04
-2.96650946e-02]
when i put this parameters in undist.py file as shown in link..it give me image with more fisheye effect...so where is problem?..how i get normal image without fisheye effect?why it shows me a image with more fisheye effect than it has inplace of removing fisheye effect,when i add this parameters to undist.py(means image shows in more round shape than it is already)?where i have to do changes?plz help me..Thanks in advance.