PyAER - Low-level Python APIs for Accessing Neuromorphic Devices
$ sudo apt-get install build-essential cmake pkg-config libusb-1.0-0-dev # for macOS: $ brew install cmake pkg-config libusb $ git clone https://github.com/inilabs/libcaer.git $ cd libcaer $ git checkout 88a8f54684ca0626ed4caa50a1f20414597bab18 $ cmake -DCMAKE_INSTALL_PREFIX=/usr . # for Linux # for macOS: cmake -DCMAKE_INSTALL_PREFIX=/usr/local . $ make $ make install
NOTE: To build
libcaeron Windows, please follow this description.
NOTE: For more information, see
NOTE: From 0.1.0a18, we support eDVS, you will need to install
libserialportso that the package can work properly, follow the building instructions from here. Currently, this support is not built into the release since we are not clear how useful is this feature. If you are interested, you can build the project from scratch.
Directly install from pypi (RECOMMEND)
$ pip install pyaer -U
Install from source
$ git clone https://github.com/duguyue100/pyaer.git $ make install
Got a Linux?
libcaer relies on
libusb based driver, you won’t be able
to access the camera unless fixing the
udev rules. Refer to details
$ bash <(curl -s https://raw.githubusercontent.com/duguyue100/pyaer/master/install-udev.sh)
The scripts folder provides some examples for you to play with:
dvs128-test: you need OpenCV to run this example, note that if you are on Mac, OpenCV’s
waitKey()function may cause delay of displaying frames.
dvs128-glumpy: you need
glumpypackage to run this example.
glumpyis a fast visualization library based on OpenGL. We found it’s very fast to render images. In our case, we use GLFW backend. If
glumpycouldn’t find your installed GLFW on your system, make sure you set the
dvs240-test: you need OpenCV to run this example.
dvs346-test: you need OpenCV to run this example.
More examples are coming…
Read more at project readme