Multiple cameras calibration and fusion with OpenCV Python.
Project description
camera-fusion
Multiple cameras correction calibration and fusion with OpenCV Python. This package use ChAruco board to achieve accurate multi-cameras fusion.
Installation
pip install camera-fusion
Depending of your environment, you could have to compile OpenCV from source with Python bindings.
Quickstart
Calibration
Print a ChAruco board, for example the one in the ./resources folder.
Measure the length of the Aruco marker and the length of the black chess square. Then start the calibration scripts.
Usage examples
Generate the lens correction calibration file for a specific camera.
python3 ./bin/camera_calibration
Generate homographies between multiple cameras to fuse/blend on a specific plane. If no lens correction calibration exist for the cameras, they will be generate.
python3 ./bin/camera_fusion
Simple blending methods are implemented:
- Blue channel to RGB blending
- Gray scale to RGB blending
- Weighted blending
- Difference
Use cases
This project was made to create a super low-cost degree of linear polarization imager. With three cheap repurposed webcams, we achieve decent results and frame-rate.
Development
Test:
tox
Build:
make all
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
Built Distribution
File details
Details for the file camera-fusion-0.0.8.tar.gz
.
File metadata
- Download URL: camera-fusion-0.0.8.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6f5a8705fc437eef4d231ce91e32c7aa85a4b26c970efef2b80323e668be82d |
|
MD5 | 79f87bc68ecfd3edfbb7a095420906d1 |
|
BLAKE2b-256 | e8e413764ca8397c7e32b0dd758c476c18ab6cfd63b2766096c2dc27f41655be |
File details
Details for the file camera_fusion-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: camera_fusion-0.0.8-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c829003a003485ab5b385242e48c44e6803b4232ccf0a11dc834f3b51ab20b37 |
|
MD5 | df99d9c9f865e245c9a7ed4c1f749238 |
|
BLAKE2b-256 | 100546f4f1ffc0748c6e77803d71b601f376f68613a3fc60de739708c55f1ec5 |