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
Metadata
Release files for event-camera-drivers 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| event_camera_drivers-0.2.0.tar.gz | 18.8 kB | With provenance | Details for event_camera_drivers-0.2.0.tar.gz |
Built distributions (wheels)
Total release size: 3.2 MB
Release files / event_camera_drivers-0.2.0.tar.gz
| Download URL | event_camera_drivers-0.2.0.tar.gz |
|---|---|
| Size | 18.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
55e0883605d9ba7eb12f4aa52f106a5c6ffeee5aed29de0abaaeac57b596675f
|
|
BLAKE2b-256 checksum How to use checksums |
585f33447592148cb27d693472eb4603926f8f2d6ea8803e1e1f34f969e96491
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 21, 2025.
Transparency logRelease files / event_camera_drivers-0.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | event_camera_drivers-0.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 634.9 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
171c833f9be985c52ea4b010e0257604bfcd36d039a0705d4b4b54434375e557
|
|
BLAKE2b-256 checksum How to use checksums |
a9e8e445b3af35e059a78b9241bdd0fe14a7761bf8883647815d832d48b0024b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 21, 2025.
Transparency logRelease files / event_camera_drivers-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | event_camera_drivers-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 634.9 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
b3db6fc441a7d3144db143fec466fba64a7f9041d58a53a3aeb9e9914f2db879
|
|
BLAKE2b-256 checksum How to use checksums |
7424063bd61f29033c23b711fda9fb3c83f0c7c16a2ed66d15c166fd19f86fd7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 21, 2025.
Transparency logRelease files / event_camera_drivers-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | event_camera_drivers-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 636.0 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
5f4f45dc2629ecf8dbd470c59a581f0989515e559b39e322381167daf6748099
|
|
BLAKE2b-256 checksum How to use checksums |
01eac8896ca120e17fab6105e846b4e18c92f8d10043353fb28649ca2f7f8c04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 21, 2025.
Transparency logRelease files / event_camera_drivers-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | event_camera_drivers-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 636.2 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
af8b57a50ace991698491f3d80aaa4fd1fb1d64532b1615bb5669bcd0868443c
|
|
BLAKE2b-256 checksum How to use checksums |
249eae22b3e55e31c463c5b328b4bdb36606953ee798eb07a5c9fa18ff328cfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 21, 2025.
Transparency logRelease files / event_camera_drivers-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | event_camera_drivers-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 636.4 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
a5ce3f09ff259d70d9b790cb40210d236346d237b7dde95e65e26a54fba3ffde
|
|
BLAKE2b-256 checksum How to use checksums |
52d53e2da020085358eb96cc4caf12d7185ff5130ab6445d0a6958cdbe4c32db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 21, 2025.
Transparency logSecurity for event-camera-drivers 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 6 files in this release have been uploaded with provenance metadata.
Attestation for event_camera_drivers-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 21, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.