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 iniVation DVS cameras via libcaer
-
Python bindings using nanobind
-
Cross-platform support (Linux, macOS, Windows)
-
Planned support for Prophesee event-based cameras via OpenEB (see issue #1)
Installation
From PyPI
pip install event-camera-drivers
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
- Clone the repository:
git clone https://github.com/aestream/event-camera-drivers
cd event-camera-drivers
- Create and activate a virtual environment:
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
- Install development dependencies:
pip install scikit-build-core pytest build nanobind
- 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
- Install Nix package manager (recommended):
curl -L https://nixos.org/nix/install | sh
-
Enable Nix flakes (if not already enabled).
-
Enter development environment:
nix develop
Building Wheels
pip install build
python -m build
Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - 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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file event_camera_drivers-0.2.0.tar.gz.
File metadata
- Download URL: event_camera_drivers-0.2.0.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55e0883605d9ba7eb12f4aa52f106a5c6ffeee5aed29de0abaaeac57b596675f
|
|
| MD5 |
29b4fa697e775133f29dad9ee639d917
|
|
| BLAKE2b-256 |
585f33447592148cb27d693472eb4603926f8f2d6ea8803e1e1f34f969e96491
|
Provenance
The following attestation bundles were made for event_camera_drivers-0.2.0.tar.gz:
Publisher:
build.yml on aestream/event-camera-drivers
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
event_camera_drivers-0.2.0.tar.gz -
Subject digest:
55e0883605d9ba7eb12f4aa52f106a5c6ffeee5aed29de0abaaeac57b596675f - Sigstore transparency entry: 164282083
- Sigstore integration time:
-
Permalink:
aestream/event-camera-drivers@3b29bee3cf0e8e1f0841fcc2979266bb48b3e044 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/aestream
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@3b29bee3cf0e8e1f0841fcc2979266bb48b3e044 -
Trigger Event:
release
-
Statement type:
File details
Details for the file event_camera_drivers-0.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: event_camera_drivers-0.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 634.9 kB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
171c833f9be985c52ea4b010e0257604bfcd36d039a0705d4b4b54434375e557
|
|
| MD5 |
2b026de192405ae95dc5b83cff0bd8ad
|
|
| BLAKE2b-256 |
a9e8e445b3af35e059a78b9241bdd0fe14a7761bf8883647815d832d48b0024b
|
Provenance
The following attestation bundles were made for event_camera_drivers-0.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
build.yml on aestream/event-camera-drivers
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
event_camera_drivers-0.2.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
171c833f9be985c52ea4b010e0257604bfcd36d039a0705d4b4b54434375e557 - Sigstore transparency entry: 164282099
- Sigstore integration time:
-
Permalink:
aestream/event-camera-drivers@3b29bee3cf0e8e1f0841fcc2979266bb48b3e044 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/aestream
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@3b29bee3cf0e8e1f0841fcc2979266bb48b3e044 -
Trigger Event:
release
-
Statement type:
File details
Details for the file event_camera_drivers-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: event_camera_drivers-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 634.9 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3db6fc441a7d3144db143fec466fba64a7f9041d58a53a3aeb9e9914f2db879
|
|
| MD5 |
562b6b062697d24f5e519aae99f17ada
|
|
| BLAKE2b-256 |
7424063bd61f29033c23b711fda9fb3c83f0c7c16a2ed66d15c166fd19f86fd7
|
Provenance
The following attestation bundles were made for event_camera_drivers-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
build.yml on aestream/event-camera-drivers
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
event_camera_drivers-0.2.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
b3db6fc441a7d3144db143fec466fba64a7f9041d58a53a3aeb9e9914f2db879 - Sigstore transparency entry: 164282097
- Sigstore integration time:
-
Permalink:
aestream/event-camera-drivers@3b29bee3cf0e8e1f0841fcc2979266bb48b3e044 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/aestream
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@3b29bee3cf0e8e1f0841fcc2979266bb48b3e044 -
Trigger Event:
release
-
Statement type:
File details
Details for the file event_camera_drivers-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: event_camera_drivers-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 636.0 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f4f45dc2629ecf8dbd470c59a581f0989515e559b39e322381167daf6748099
|
|
| MD5 |
db4479dc4d13be724270b0139b1aabe9
|
|
| BLAKE2b-256 |
01eac8896ca120e17fab6105e846b4e18c92f8d10043353fb28649ca2f7f8c04
|
Provenance
The following attestation bundles were made for event_camera_drivers-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
build.yml on aestream/event-camera-drivers
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
event_camera_drivers-0.2.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
5f4f45dc2629ecf8dbd470c59a581f0989515e559b39e322381167daf6748099 - Sigstore transparency entry: 164282092
- Sigstore integration time:
-
Permalink:
aestream/event-camera-drivers@3b29bee3cf0e8e1f0841fcc2979266bb48b3e044 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/aestream
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@3b29bee3cf0e8e1f0841fcc2979266bb48b3e044 -
Trigger Event:
release
-
Statement type:
File details
Details for the file event_camera_drivers-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: event_camera_drivers-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 636.2 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af8b57a50ace991698491f3d80aaa4fd1fb1d64532b1615bb5669bcd0868443c
|
|
| MD5 |
5774b496da15415e9ee82bcc93bfe0ea
|
|
| BLAKE2b-256 |
249eae22b3e55e31c463c5b328b4bdb36606953ee798eb07a5c9fa18ff328cfa
|
Provenance
The following attestation bundles were made for event_camera_drivers-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
build.yml on aestream/event-camera-drivers
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
event_camera_drivers-0.2.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
af8b57a50ace991698491f3d80aaa4fd1fb1d64532b1615bb5669bcd0868443c - Sigstore transparency entry: 164282089
- Sigstore integration time:
-
Permalink:
aestream/event-camera-drivers@3b29bee3cf0e8e1f0841fcc2979266bb48b3e044 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/aestream
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@3b29bee3cf0e8e1f0841fcc2979266bb48b3e044 -
Trigger Event:
release
-
Statement type:
File details
Details for the file event_camera_drivers-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: event_camera_drivers-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 636.4 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5ce3f09ff259d70d9b790cb40210d236346d237b7dde95e65e26a54fba3ffde
|
|
| MD5 |
106235865e9764ad199393e545db85c5
|
|
| BLAKE2b-256 |
52d53e2da020085358eb96cc4caf12d7185ff5130ab6445d0a6958cdbe4c32db
|
Provenance
The following attestation bundles were made for event_camera_drivers-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
build.yml on aestream/event-camera-drivers
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
event_camera_drivers-0.2.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
a5ce3f09ff259d70d9b790cb40210d236346d237b7dde95e65e26a54fba3ffde - Sigstore transparency entry: 164282095
- Sigstore integration time:
-
Permalink:
aestream/event-camera-drivers@3b29bee3cf0e8e1f0841fcc2979266bb48b3e044 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/aestream
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@3b29bee3cf0e8e1f0841fcc2979266bb48b3e044 -
Trigger Event:
release
-
Statement type: