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 length of the Aruco marker and the length of the black square and start example scripts from the ./scripts folder.
Usage examples
Generate the lens correction calibration file for a specific camera.
python3 ./scripts/camera_calibration.py
Generate homographies between many camera to fuse/blend on a specific plane. If no lens correction calibration exist for the cameras, they will be generate.
python3 ./scripts/camera_calibration.py
Actually, simple blending method 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.
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
Hashes for camera_fusion-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9bd86c847ab33075f48a133069528bc920b6e23081fe28d9edf543d2d3f4a16 |
|
MD5 | 231f2c534c26df8c7cb1429c7e6fe085 |
|
BLAKE2b-256 | 9bf1043dd1967c43176f5ea3ad5d0269bc905c7347e7a095ba1b0cb59f07dd58 |