Skip to main content

Python event camera drivers for Inivation and AEStream

Project description

C++/Python event camera drivers

C++ drivers wrapped in a Python library for interfacing with event-based cameras, supporting both Prophesee and iniVation devices.

Features

  • Support for Prophesee event-based cameras via OpenEB
  • Support for iniVation DVS cameras via libcaer
  • Python bindings using nanobind
  • Cross-platform support (Linux, macOS, Windows)

Installation

From PyPI

... Coming soon

From Source

Using Nix (recommended)

If you have Nix installed with flakes enabled:

# Enter development environment
nix develop

# Install in development mode
pip install -e .

Manual Installation

Prerequisites:

  • CMake (3.16 or higher)
  • C++ compiler with C++17 support
  • Python 3.9 or higher
  • OpenEB 5.0.0
  • libcaer
  1. Clone the repository:
git clone https://github.com/aestream/event-camera-drivers
cd event-camera-drivers
  1. Create and activate a virtual environment:
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
  1. Install development dependencies:
pip install scikit-build-core pytest build nanobind
  1. Install in development mode:
pip install -e .

Usage

import event_camera_drivers as evd

camera = evd.InivationCamera()
for packet in camera:
    print(packet)

Or, in conjuction with Faery (read more in the Faery documentation):

import faery

faery.events_stream_from_inivation_camera()
  ...

Development

Setup Development Environment

  1. Install Nix package manager (recommended):
curl -L https://nixos.org/nix/install | sh
  1. Enable Nix flakes (if not already enabled).

  2. Enter development environment:

nix develop

Building Wheels

pip install build
python -m build

Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under LGPLv3 - see the LICENSE file for details.

Acknowledgments

  • OpenEB - Prophesee's Open Event-Based Vision SDK
  • libcaer - Minimal C library to access neuromorphic sensors

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

event_camera_drivers-0.0.3.tar.gz (17.9 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

event_camera_drivers-0.0.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (639.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

event_camera_drivers-0.0.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (639.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

event_camera_drivers-0.0.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (640.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

event_camera_drivers-0.0.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (640.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

event_camera_drivers-0.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (641.0 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

File details

Details for the file event_camera_drivers-0.0.3.tar.gz.

File metadata

  • Download URL: event_camera_drivers-0.0.3.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for event_camera_drivers-0.0.3.tar.gz
Algorithm Hash digest
SHA256 78c5a5d481210d1c5115b3916b25df710ac4d10d0831b28e7232c74d0640564f
MD5 29138d6061c304c9784c0f51a8bbcec5
BLAKE2b-256 cc063f8298aa49050e49e7550f8d4de20806688de99afe78649d5260b5c3cff4

See more details on using hashes here.

Provenance

The following attestation bundles were made for event_camera_drivers-0.0.3.tar.gz:

Publisher: build.yml on aestream/event-camera-drivers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file event_camera_drivers-0.0.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for event_camera_drivers-0.0.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9fed240386e596d172fcac25debd013774aba3a2c8bf39a0ca300e74542e791d
MD5 7c9055c42f2801a41c842c2f0299bf1c
BLAKE2b-256 daa52b1e67e74921b0766ee9466bc346513a1bece34911be0dcd60ff721d020f

See more details on using hashes here.

Provenance

The following attestation bundles were made for event_camera_drivers-0.0.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build.yml on aestream/event-camera-drivers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file event_camera_drivers-0.0.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for event_camera_drivers-0.0.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e33e3fb9b7002984ca7260637f196b6e27271c344a5496e562e1aedbb12949dc
MD5 c495bb120c1c489bdca8e90291d1f919
BLAKE2b-256 0b84693336a44187cea4623c8316973c520162b79479d36c916f67b76a89593b

See more details on using hashes here.

Provenance

The following attestation bundles were made for event_camera_drivers-0.0.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build.yml on aestream/event-camera-drivers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file event_camera_drivers-0.0.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for event_camera_drivers-0.0.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c63ac1f3cdf108acea8574d52df73d221cfdf7cf95fdb6f11f3e7c86428396a4
MD5 d410bb3afb9e109c02fc59ba71556e1c
BLAKE2b-256 b80ee349e65975aed86d45d1517df35cafa997bc8dc1b22e5a83991e24c9df6e

See more details on using hashes here.

Provenance

The following attestation bundles were made for event_camera_drivers-0.0.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build.yml on aestream/event-camera-drivers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file event_camera_drivers-0.0.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for event_camera_drivers-0.0.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7e571ad8d1845799e4e1370045364ebbd665d9e2e53d4b28beed4832312520e2
MD5 f19829bf5a272fc922ec2c085880a59a
BLAKE2b-256 cb49560bd6ea1eb97807930cae253e122309e6f784498c8520857961a5f14410

See more details on using hashes here.

Provenance

The following attestation bundles were made for event_camera_drivers-0.0.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build.yml on aestream/event-camera-drivers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file event_camera_drivers-0.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for event_camera_drivers-0.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 76038585768a822df56818f6fb9939a1b1e383aeacdc1e525f5ba42c78a387b9
MD5 b70edaa0ba82e77433403a7244294ef2
BLAKE2b-256 a55c6d85e7ecfcfd0c0904f1fe5b3d14b19074417f204d2013389329f2c2d30d

See more details on using hashes here.

Provenance

The following attestation bundles were made for event_camera_drivers-0.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build.yml on aestream/event-camera-drivers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page