Skip to content

Implementation of Camera Calibration using Zhang’s Method.

License

Notifications You must be signed in to change notification settings

sinaenjuni/Zhang-s-Method

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zhang-s-Method

Zhang's Method is one of the camera calibration techniques.

Demo

Figure_1 Figure_2

Installation

You can install the required packages using requirements.txt file.

pip install -r /path/to/requirements.txt

Also, install next to packages manually.

opencv
numpy
pytransform3d

Usage

# image_points are lists of points that get a feature extractor on a checkboard.
# world_points are lists of generated get_world_point() function.
Homography = compute_homography(image_points, world_points)

Intrinsic matrix, Inverse of Intrinsic matrix = compute_intrinsic(list of Homograpy)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Releases

No releases published

Packages

No packages published

Languages