Edge AI Lab

Classify images and detect objects with real ONNX models in your browser, try quantization and pruning, and compare edge with cloud.

8interactive experiments

IMU gesture recognition

Classify hand gestures from an accelerometer and gyroscope with a small model on a microcontroller.

IntermediateSensing

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.

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.

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

  1. Record several repetitions from several people
  2. Split the data by person, not randomly, to avoid leakage
  3. Train and quantize the model
  4. 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

Image and audio processing in the experiments runs inside your browser. Your images and audio are never uploaded and conversations are not stored. Privacy