You collect motion windows for gestures (circle, line, tap), extract statistical features or use a small 1-D CNN, and run the model on the microcontroller.
Classify images and detect objects with real ONNX models in your browser, try quantization and pruning, and compare edge with cloud.
IMU gesture recognition
Classify hand gestures from an accelerometer and gyroscope with a small model on a microcontroller.
Educational draft content that needs expert review before it is used as an academic reference. Specifications, versions and licences change; check the official source. No experimental result is shown here unless it was actually run.
Hardware
- Arduino Nano 33 BLE Sense (built-in IMU)
- Or ESP32-S3 with an IMU
Software
- TensorFlow Lite for Microcontrollers
- Edge Impulse
- Python
Architecture
6-axis IMU → 1–2 s window → normalization → 1D-CNN or small MLP → gesture class.
Suggested datasets (check their licences)
- Data you collect from several people
Implementation steps
- Record several repetitions from several people
- Split the data by person, not randomly, to avoid leakage
- Train and quantize the model
- Deploy it and measure latency
Expected deliverables
A device that classifies the gesture and shows it on a screen or over Bluetooth.
Evaluation metrics
- Accuracy on unseen people
- Confusion matrix
Limits
- Differences between people are large
- The sensor mounting position matters
Ideas to extend
- Add simple personal learning
- Try a sleep mode to save power
Related technologies
Image and audio processing in the experiments runs inside your browser. Your images and audio are never uploaded and conversations are not stored. Privacy
