eventcv-core 1.0.4

Rust core of EventCV — OpenCV for event-based vision.
Documentation

eventcv-core

The Rust core of EventCV — "OpenCV for event-based vision".

Everything is built around [EventStream], a struct-of-arrays container of events (xs, ys, ts, ps columns plus sensor size and timestamp scale). Streams are constructed only through [EventStreamBuilder], which drops out-of-bounds events.

The crate is organised into focused modules:

  • [io] — readers/writers for .npz, .txt, .bag, .h5, .aedat, .dat, plus the [io::load] extension dispatcher and lazy [io::SliceSource] indexing for large files.
  • [representation] — event → dense tensor ([representation::Representation], e.g. voxel grids and time surfaces).
  • [transform] — chainable event-domain geometry/temporal/polarity ops on streams.
  • [camera] — intrinsics and undistort.
  • [features], [flow], [cluster] — corner detection, optical flow, connected components.
  • [feast] — unsupervised online feature learning (FEAST adaptive-threshold clustering).
  • [filter], [image], [viz] — hot-pixel filtering, frame-domain resize, colormapped export.
  • [bias] — the adaptive-biasing control law that holds a live camera's event rate steady.
  • device — live USB event-camera capture into [EventStream] windows (camera feature).

The hdf5 feature (off by default to keep cargo test fast) enables the .h5/.hdf5 reader by building libhdf5 from source. The camera feature (also off by default) enables the device module, pulling in the neuromorphic-drivers crate and a vendored libusb.