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
- (If not already done:) Install Anaconda
- Clone git@github.com:bbo-lab/calibcam.git
- Open Anaconda prompt via Start Menu
- Using
cd
anddir
, navigate to the calibcam directory INSIDE the repository (which may also be named calibcam) - Create conda environment using
conda env create -f environment.yml
- Switch to multitrackpy environment:
conda activate calibcam
- Navigate to repository (folder containing setup.py) and install via:
pip install .
Usage
Windows
- From
[repository]/calibcam/boards
, copy the appropriate board into the calibration video directory and rename toboard.npy
- Open Anaconda prompt via Start Menu
- Switch to calibcam environment:
conda activate calibcam
- Run the program with
python -m calibcam
- In GUI, click "Perform calibration"
- Select all calibration videos
- After calibration, check reprojection in GUI
- Run
multicalibration_matlab_mcl_gen.m
in the video directory in MATLAB - 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
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8305b76101b477644bdad22eab6ace1daec01228694c00ce24d3dd417eef1400 |
|
MD5 | 60387483a87ce7f5d9798f12d4eb0e87 |
|
BLAKE2b-256 | 6f6c35faf09daf74b9e330df29b998076c08a89dc2b6bf1b97f9c7ac8b4ebc2e |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec06bdd2e620b6f0f4330a4a9e5981879693c9bc5d8d19622a8dfc5f8562fa39 |
|
MD5 | c5c755a0f89bb702dfe1f8458b67d42c |
|
BLAKE2b-256 | 61652f74de6c826d0348ac38828c89838ca036c69fc858fda65f707ca6096708 |