Skip to content

logeshg2/Camera-Calibration

Repository files navigation

This repository is an OpenCV implementation of camera calibration.

Procedure for Camera Calibration

  1. Run the following:
python3 camera_calibration.py --devID <cam device id> --imgPath <images path> --calibrateOnly <True or False> --config_file calibConfig.yaml

NOTE: Modify calibConfig.yaml for your specific checkboard and camera configuration.

Example Img:

image

Hand-Eye Calibration (for Fanuc Robotic Arm):

Checkout perform_calibration_2.py and perform_calibration.py for hand-eye calibration abstracted usage.
calibration.py has the implementations to collect, and perform hand-eye calibration + camera camera calibration for variours targets like checkerboard and aruco board.

Old Implementation

image_capture.py is used to capture images from live feed.
image_data\ folder have sample chessboard images with patternsize = (3,6).
opencv_camera_calibration.py has the main opencv camera calibration script.

References:: https://docs.opencv.org/4.x/dc/dbb/tutorial_py_calibration.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages