wave 0.1.1

A no-std no-alloc gesture recognition library for low resolution TOF-Sensors
Documentation

wave

crates.io docs.rs CI docs main

A no-std no-alloc gesture recognition library for low resolution TOF-Sensors

Demo

Horizontal Swipes

https://user-images.githubusercontent.com/19841886/212337357-54b2293c-1955-4dc4-b071-0433311f9a25.mp4

Vertical Swipes

https://user-images.githubusercontent.com/19841886/212337324-0f2e80fe-0226-4b6e-971b-4b2569e99fac.mp4

Static Holds

https://user-images.githubusercontent.com/19841886/212337254-f4f6aff8-0575-4d94-afc4-6b3000f52d52.mp4

C bindings

The static library can be (re)built with cargo build --release. Then libwave.a will be located in target/release. The header file wave.h is located in the crate root.

Cross-compile for a specific architecture, e.g. Cortex-M4: cargo build --release --target=thumbv7em-none-eabi

Cbindgen is used to (re)generate the header file wave.h.

cargo install --force cbindgen
cbindgen --config cbindgen.toml --crate wave --output wave.h