Minimal C library to access, configure and get data from neuromorphic sensors and processors. Currently supported devices are the Dynamic Vision Sensor (DVS), the DAVIS cameras, and the Dynap-SE neuromorphic processor. THIS IS A MIRROR. ORIGINAL PROJECT LIVES AT https://gitlab.com/inivation/libcaer
Clone or download
llongi Merge branch 'dvs132-update-biases' into 'master'
DVS132S: update bias values.

See merge request inivation/libcaer!96
Latest commit ff0e741 Dec 21, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.settings Switch to clang-format for code formatting, reformat all code. Jul 12, 2018
bindings/python_swig Move libcaer from iniLabs to iniVation GitHub organization. Jul 5, 2018
docs Update PDF manual. Nov 27, 2018
examples Examples: new example of writing data to text file. Oct 23, 2018
include Devices: add support for DVS132S chip. Dec 10, 2018
includecpp Logger: introduce new logging callback function. Clean up logVAFull()… Nov 13, 2018
packaging Release version 3.1.0. Nov 27, 2018
src DVS132S: update bias values. Dec 21, 2018
.clang-format clang-format: fix C++ formatting. Oct 4, 2018
.cproject Log.h: add new functions to disable logging in a single thread of exe… Apr 21, 2018
.gitignore Update gitignore. Sep 23, 2018
.project Eclipse: update settings to include C++ support. Mar 3, 2017
.travis.yml Move libcaer from iniLabs to iniVation GitHub organization. Jul 5, 2018
CMakeLists.txt CMake: search for OpenCV4 first if available, add proper pkg-config p… Dec 20, 2018
COPYING Move libcaer from iniLabs to iniVation GitHub organization. Jul 5, 2018
ChangeLog ChangeLog: mention IMU temperature fix. Nov 27, 2018
README GitLab: update references to GitHub. Oct 23, 2018
README.Windows Windows: clarify Visual Studio/MSCV support. May 24, 2018
caer-base.cmake Fix further compiler warnings. Nov 3, 2018
libcaer.pc.in CMake: make cross compiling easier by allowing more flexibility with … Aug 14, 2018
libcaerConfig.cmake.in CMake: export cmake-configuration for the library Sep 22, 2018
sonar-project.properties Move libcaer from iniLabs to iniVation GitHub organization. Jul 5, 2018

README

libcaer
====

Minimal C library to access, configure and get data from neuromorphic sensors and processors.
Currently supported devices are the Dynamic Vision Sensor (DVS), the DAVIS cameras, and the
Dynap-SE neuromorphic processor.

REQUIREMENTS:

Linux, MacOS X or Windows (for Windows build instructions see README.Windows)
pkg-config
cmake >= 2.8.12
gcc >= 4.9 or clang >= 3.6
libusb >= 1.0.17
Optional: libserialport >= 0.1.1
Optional: OpenCV >= 3.1.0

Please make sure that you have the various development packages installed
for the above dependencies. They are usually called PKG-dev or PKG-devel.

On Fedora Linux: $ sudo dnf install @c-development cmake pkgconfig libusbx-devel
On Ubuntu Linux: $ sudo apt-get install build-essential cmake pkg-config libusb-1.0-0-dev
On MacOS X (using Homebrew): $ brew install cmake pkg-config libusb

INSTALLATION:

1) configure:

$ cmake -DCMAKE_INSTALL_PREFIX=/usr .
Optional: add -DENABLE_SERIALDEV=1 to enable support for serial port devices,
such as the eDVS4337, via libserialport.
Optional: add -DENABLE_OPENCV=1 to enable better support for frame enhancement
(demoisaicing for color, contrast, white-balance) via OpenCV.

2) build:

$ make

3) install:

$ sudo make install

DOCUMENTATION:

The API documentation for a release can be found at docs/libcaer_api_manual.pdf.
Online documentation is available at https://inivation.github.io/libcaer/
Also check the examples/ directory and the iniVation Support website.

For the development tree, you can generate the documentation using:

$ make doc - to generate docs/latex/ and docs/html/ documentation files.
$ make pdf - to generate a PDF from the LaTeX sources at docs/latex/refman.pdf.

USAGE:

See the examples/ directory. Each example shows minimal working code
to connect to a device and print out data coming from it. To compile
the examples, see 'examples/README' for the build commands.

General usage follows this pattern (simplified):

h = caerDeviceOpen(TYPE);
caerDeviceSendDefaultConfig(h);
caerDeviceDataStart(h);

loop:
	c = caerDeviceDataGet(h);
	work with c (container) and its event packets

caerDeviceDataStop(h);
caerDeviceClose(&h);

All configuration parameters and event types are specified in the
public headers and documented there.

HELP:

Please use our GitLab bug tracker to report issues and bugs, or
our Google Groups mailing list for discussions and announcements.

BUG TRACKER: https://gitlab.com/inivation/libcaer/issues/
MAILING LIST: https://groups.google.com/d/forum/caer-users/

BUILD STATUS: https://travis-ci.org/inivation/libcaer/
CODE ANALYSIS: https://sonarcloud.io/dashboard?id=com.inivation.libcaer