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. Clone git@github.com:bbo-lab/calibcam.git
  3. Open Anaconda prompt via Start Menu
  4. Using cd and dir, navigate to the calibcam directory INSIDE the repository (which may also be named calibcam)
  5. Create conda environment using conda env create -f environment.yml
  6. Switch to multitrackpy environment: conda activate calibcam
  7. Navigate to repository (folder containing setup.py) and install via: pip install .

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
  8. Run multicalibration_matlab_mcl_gen.m in the video directory in MATLAB
  9. 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.1.1.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

bbo_calibcam-1.1.1-py3-none-any.whl (31.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bbo-calibcam-1.1.1.tar.gz
  • Upload date:
  • Size: 20.7 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.1.1.tar.gz
Algorithm Hash digest
SHA256 8305b76101b477644bdad22eab6ace1daec01228694c00ce24d3dd417eef1400
MD5 60387483a87ce7f5d9798f12d4eb0e87
BLAKE2b-256 6f6c35faf09daf74b9e330df29b998076c08a89dc2b6bf1b97f9c7ac8b4ebc2e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bbo_calibcam-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 31.1 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ec06bdd2e620b6f0f4330a4a9e5981879693c9bc5d8d19622a8dfc5f8562fa39
MD5 c5c755a0f89bb702dfe1f8458b67d42c
BLAKE2b-256 61652f74de6c826d0348ac38828c89838ca036c69fc858fda65f707ca6096708

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