At first, I thought OpenCV used Zhang's methods for the chessboard calibration. However, after I read the source code, I found it was not true. It extracted vanishing points in order to obtain initial value for the focal length. The codes are really confusing and I have no idea of where to find the appropriate paper corresponding to the codes.
Anyone could help?