Skip to main content

An easy-to-use library for calibrating cameras in python

Project description

Calligator

An easy-to-use library for calibrating cameras in python

The calibration library should follow these requirements:

  • [x] be able to detect points from checkerboard or charuco board easily
  • [x] save intermediate points somewhere, so that optimization can restart quickly
  • [x] optimize extrinsics and intrinsics jointly using LM method
  • [x] start with opencv intrinsics calibration if possible
  • [x] support calibration with arbitrary correspondence points using bundle adjustment
  • [ ] output common diagnostics for calibration
    • reprojection error
    • length of checkerboard grids
    • picture of calibrated camera positions
    • undistorted images to check intrinsics
  • [x] triangulation functions
  • [x] end to end function to calibrate full set of cameras from list of videos

Nice to haves

  • [x] reject outlier points
  • [x] add objective in optimization to match the object points of calibration board

Functions to implement

Camera

  • [x] distort_points
  • [X] undistort_points
  • [X] project
  • [X] undistort_image
  • [x] calibrate_images
  • [x] calibrate_points
  • [x] calibrate_videos

CameraGroup

  • [X] distort_points
  • [X] undistort_points
  • [X] project
  • [X] triangulate
  • [X] reprojection_error
  • [x] calibrate_images
  • [x] calibrate_points
  • [x] calibrate_videos

CalibrationObject

  • [X] draw
  • [X] detect_image
  • [X] detect_images
  • [X] detect_video
  • [X] get_object_points
  • [X] estimate_pose

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for calligator, version 0.2.7
Filename, size File type Python version Upload date Hashes
Filename, size calligator-0.2.7-py3-none-any.whl (20.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page