Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/a1rb4ck/camera-fusion
Multiple cameras calibration and fusion with OpenCV Python.
https://github.com/a1rb4ck/camera-fusion
camera-calibration camera-control image-fusion image-manipulation image-processing opencv-python opencv3-python photometry polarimetry webcam-capture
Last synced: 17 days ago
JSON representation
Multiple cameras calibration and fusion with OpenCV Python.
- Host: GitHub
- URL: https://github.com/a1rb4ck/camera-fusion
- Owner: a1rb4Ck
- License: mit
- Created: 2018-09-20T17:05:42.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-25T17:57:27.000Z (almost 6 years ago)
- Last Synced: 2024-10-09T14:29:25.244Z (28 days ago)
- Topics: camera-calibration, camera-control, image-fusion, image-manipulation, image-processing, opencv-python, opencv3-python, photometry, polarimetry, webcam-capture
- Language: Python
- Homepage: https://pypi.org/project/camera-fusion/
- Size: 4.18 MB
- Stars: 35
- Watchers: 2
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![PyPI version](https://img.shields.io/pypi/v/camera-fusion.svg)](https://pypi.python.org/pypi/camera-fusion/)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/camera-fusion.svg)](https://pypi.python.org/pypi/camera-fusion/)
[![PyPI status](https://img.shields.io/pypi/status/camera-fusion.svg)](https://pypi.python.org/pypi/camera-fusion/)
[](https://htmlpreview.github.io/?https://raw.githubusercontent.com/a1rb4Ck/camera-fusion/master/tests/reports/coverage-html/index.html)
[![PyPI license](https://img.shields.io/pypi/l/camera-fusion.svg)](https://pypi.python.org/pypi/camera-fusion/)camera-fusion
==========Multiple cameras correction calibration and fusion with OpenCV Python.
This package use ChAruco board to achieve accurate multi-cameras fusion.Installation
----------```bash
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](https://www.uco.es/investiga/grupos/ava/node/26), 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.
```bash
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.
```bash
python3 ./bin/camera_fusion
```Simple blending methods are implemented:
- Blue channel to RGB blending
- Gray scale to RGB blending
- Weighted blending
- DifferenceUse 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:
```bash
tox
```Build:
```bash
make all
```