Introduction - If you have any usage issues, please Google them yourself
Pdf file, which contains five from different camera auto-calibration method introduced vanishing point and vanishing line are relatively old paper, the algorithm is very detailed, very classic.