wave

Crates.iowave
lib.rswave
version0.1.1
sourcesrc
created_at2017-09-19 03:49:08.60229
updated_at2023-03-01 14:54:40.594461
descriptionA no-std no-alloc gesture recognition library for low resolution TOF-Sensors
homepagehttps://github.com/flxzt/wave
repositoryhttps://github.com/flxzt/wave
max_upload_size
id32226
size48,758
Felix Zwettler (flxzt)

documentation

README

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
Commit count: 6

cargo fmt