This is an implementation of the " A Flexible New Technique for Camera Calibration" by Zhengyou Zhang.
- Wrapper.py: Main script to run the calibration and rectification pipeline.
- Place your calibration images (e.g., chessboard photos) in the
Calibration_Imgs/directory. - Run the main script:
python3 Wrapper.py- Visualizations of detected corners will be saved in
corner_vis/. - Rectified images will be saved in
Rectified_Images/.
- Python 3.x
- OpenCV (cv2)
- NumPy
- SciPy
Install dependencies with:
pip install opencv-python numpy scipy- Course HW Page: https://rbe549.github.io/spring2026/hw/hw1/
- Zhang's Paper: https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/tr98-71.pdf