hotg-ai / rune

Rune provides containers to encapsulate and deploy edgeML pipelines and applications
Apache License 2.0
134 stars 15 forks source link

Create Runefiles for Gesture and Microspeech ( Generics ) #21

Closed kthakore closed 3 years ago

kthakore commented 3 years ago
kthakore commented 3 years ago
FROM runicos/base

CAPABILITY<F32[384]> accelerometer ACCEL -n 128

# Dependency is { git = "https://github.com/hotg-ai/rune", path="proc_blocks/normalize" }
PROC_BLOCK<f32[384],f32[384]> normalize hotg-ai/rune#proc_blocks/normalize

MODEL<f32[384],f32[64]> gesture ./model.tflite

PROC_BLOCK<f32[64],f32[4]> gesture_agg hotg-ai/rune#examples/gesture/proc_block/gesture_agg

# Dependency is { git = "https://github.com/hotg-ai/rune", path="proc_blocks/ohv_label" }
PROC_BLOCK<f32[4], UTF8[4]> label hotg-ai/rune#proc_blocks/ohv_label --labels=Wing,Ring,Slope,Unknown

RUN accelerometer normalize gesture gesture_agg label 

OUT SERIAL --output gesture_agg,label
Michael-F-Bryan commented 3 years ago

I believe these have been implemented and the issue can be closed.