Skip to main content

Multiple cameras calibration and fusion with OpenCV Python.

Project description

PyPI version PyPI pyversions PyPI status PyPI license

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
camera_fusion-0.0.8-py3-none-any.whl (18.7 kB) Copy SHA256 hash SHA256 Wheel py3
camera-fusion-0.0.8.tar.gz (15.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page