/camera_calibration

This package contains function for camera intrinsic and extrinsic calibration

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

camera_calibration

This package contains functions for camera intrinsic and extrinsic calibration.

Dependencies

The library contains python modules which are dependent on the following 3rd-party libraries:

opencv-python, numpy, matplotlib, setuptools

Additionally, it is necessary to install our camera_utils.

Installation

To install the camera_calibration package on your system, clone the GitHub repository in a folder of your choice, open the cloned repository path in a terminal and run the following command

python3 -m pip install .

Instead if you want to install the package in "editable" or "develop" mode (to prevent the uninstall/install of the package at every pkg modification) you have can run the following command:

python3 -m pip install -e .

Usage

  • camera_calibration: this function perform the intrinsic and extrinsic calibration of a camera
  • chessboard_pose_estimation: this function returns the estimate of chessboard position and orientation w.r.t. the camera get_frame
  • extrinsic_calibration: this function perform the extrinsic calibration between a list of cameras

Inside the example folder you can find a simple script to perform extrinsic calibration of two IntelRealsense cameras: calibrate_two_cameras.py.

License

Distributed under the GPLv3 License. See LICENSE for more information.

Authors

The package is provided by: