#sensors #gesture #gestures #tof

无需 std wave

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

2 个不稳定版本

0.1.1 2023年3月1日
0.1.0 2023年3月1日
0.0.0 2017年9月19日

#598 in 嵌入式开发

MIT 许可证

38KB
797

wave

crates.io docs.rs CI docs main

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

演示

水平滑动

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

垂直滑动

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

静态保持

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

C 绑定

可以使用 cargo build --release (re)构建静态库。然后 libwave.a 将位于 target/release。头文件 wave.h 位于 crate 根目录。

为特定架构进行交叉编译,例如 Cortex-M4: cargo build --release --target=thumbv7em-none-eabi

Cbindgen 用于 (re)生成头文件 wave.h

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

依赖项

~410KB