Skip to main content

Calibrate intrinsic and extrinsic parameters of cameras with charuco boards

Project description

calibcam

A charuco based calibrator for camera setups (intrinsic and extrinsic coordinates).

Installation

Windows

  1. (If not already done:) Install Anaconda
  2. Create conda env conda env create -f https://raw.githubusercontent.com/bbo-lab/calibcam/main/environment.yml
  3. Switch to multitrackpy environment: conda activate calibcam
  4. Install with pip install bbo-calibcam

Usage

Windows

  1. From [repository]/calibcam/boards, copy the appropriate board into the calibration video directory and rename to board.npy
  2. Open Anaconda prompt via Start Menu
  3. Switch to calibcam environment: conda activate calibcam
  4. Run the program with python -m calibcam
  5. In GUI, click "Perform calibration"
  6. Select all calibration videos
  7. After calibration, check reprojection in GUI

BBO internal MATLAB use only:

  1. Run multicalibration_matlab_mcl_gen.m in the video directory in MATLAB
  2. Save resulting mcl file into video directory

Alternatively, run purely commandline-based with

$ python -m calibcam --help
usage: __main__.py [-h] [--videos [VIDEOS [VIDEOS ...]]] [--board BOARD]

Calibrate set of cameras

optional arguments:
  -h, --help            show this help message and exit
  --videos [VIDEOS [VIDEOS ...]]
  --board BOARD

Project details


Download files

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

Source Distribution

bbo-calibcam-1.2.0.tar.gz (29.9 kB view details)

Uploaded Source

Built Distribution

bbo_calibcam-1.2.0-py3-none-any.whl (31.2 kB view details)

Uploaded Python 3

File details

Details for the file bbo-calibcam-1.2.0.tar.gz.

File metadata

  • Download URL: bbo-calibcam-1.2.0.tar.gz
  • Upload date:
  • Size: 29.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10

File hashes

Hashes for bbo-calibcam-1.2.0.tar.gz
Algorithm Hash digest
SHA256 b9200e29c11d392572a909901989ae9830e0e88329cd191af1bf22d01c3b0616
MD5 5a33e3580b3d1b276b232bac3e78b2da
BLAKE2b-256 eba812f5d79764f8ecbe9b877f51b8b98107406d34fdd1bc4df5ad50acab154f

See more details on using hashes here.

File details

Details for the file bbo_calibcam-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: bbo_calibcam-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 31.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10

File hashes

Hashes for bbo_calibcam-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c118cceb3b20e79217cdfbf7f1c7e28926bb8711895a139b39125822919e691a
MD5 a2922877e569104f876e5c0d9d3e223f
BLAKE2b-256 289dfc71fbb6c6be0178df5727318aad08f004893a3458faf109dd99f597dcf7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page