Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 867 Bytes

File metadata and controls

37 lines (24 loc) · 867 Bytes

Camera Calibration and Image Rectification

This is an implementation of the " A Flexible New Technique for Camera Calibration" by Zhengyou Zhang.

Folder Structure

  • Wrapper.py: Main script to run the calibration and rectification pipeline.

Usage

  1. Place your calibration images (e.g., chessboard photos) in the Calibration_Imgs/ directory.
  2. Run the main script:
python3 Wrapper.py
  1. Visualizations of detected corners will be saved in corner_vis/.
  2. Rectified images will be saved in Rectified_Images/.

Requirements

  • Python 3.x
  • OpenCV (cv2)
  • NumPy
  • SciPy

Install dependencies with:

pip install opencv-python numpy scipy

References