Home

Awesome

PyAER


GitHub release PyPI - Version build license DOI

Linux macOS AMD64 ARM

DVS128 eDVS DVS240C DVS346 DVXLite DVX EVK

WARNING: This repository is under major refactor. There is no specific timeline. You are advised to build from scratch from the master branch.

Special thanks to iniVation for making this possible!

The project is in its Beta development stage, please submit an issue if you encountered a problem.

NEWS As from 0.2.5, we switched CI/CD from Travis CI to Github Actions because the building on travis-ci.org is ceased. We are looking for solutions to produce ARM64 build.

Why PyAER?

iniVation has released DV, a new platform and an SDK for accessing and developing with event cameras.

For robotics projects, you may find rpg_dvs_ros when you use ROS.

So the natural question is: why PyAER?

In a nutshell, PyAER is a combination of a Pythonic libcaer and a light-weight "ROS". PyAER serves as an agile package that focus on fast development and extensibility. In fact, in some scenario, e.g., edge devices, PyAER is more user friendly than other alternatives.

Design Principle

Installation

  1. Install libcaer dependency (RECOMMEND)

    # for Ubuntu
    sudo apt-get install libcaer-dev
    # for macOS
    brew tap inivation/inivation
    brew install libcaer --with-libserialport --with-opencv
    

    Update udev rules if you use a Linux system:

    $ bash <(curl -s https://raw.githubusercontent.com/duguyue100/pyaer/master/install-udev.sh)
    

    NOTE: The libcaer installation has taken care of the udev update. However, if the problem persists, please try it.

  2. Install pyaer from pypi (RECOMMEND)

    $ pip install pyaer
    
  3. Install pyzmq and h5py

    $ pip install pyzmq
    $ pip install h5py
    

    NOTE: pyzmq is not available on ARM-based computer, you will need to build yourself.

Development

For development purpose, you might build pyaer from source. Please follow the instructions in INSTALL_FROM_SOURCE.md

Running Examples

Limitations and Notes

Contacts

Yuhuang Hu Email: duguyue100@gmail.com