Skip to main content

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

Release files for camera-fusion 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for camera-fusion 0.0.8
File Size Uploaded
camera-fusion-0.0.8.tar.gz 15.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for camera-fusion 0.0.8
File Interpreter ABI Platform
camera_fusion-0.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 34.5 kB

Release files / camera-fusion-0.0.8.tar.gz

Download URL camera-fusion-0.0.8.tar.gz
Size 15.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a6f5a8705fc437eef4d231ce91e32c7aa85a4b26c970efef2b80323e668be82d
BLAKE2b-256 checksum
How to use checksums
e8e413764ca8397c7e32b0dd758c476c18ab6cfd63b2766096c2dc27f41655be
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / camera_fusion-0.0.8-py3-none-any.whl

Download URL camera_fusion-0.0.8-py3-none-any.whl
Size 18.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c829003a003485ab5b385242e48c44e6803b4232ccf0a11dc834f3b51ab20b37
BLAKE2b-256 checksum
How to use checksums
100546f4f1ffc0748c6e77803d71b601f376f68613a3fc60de739708c55f1ec5
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.8 This release

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page