Camera self-calibration method based on two vanishing points