Motion recognition of a single flick

Question/Issue:
Using the motion recognition with anomaly detection guide, I created a model that detects gestures if you do them at least two times in a row. However, I’m trying to create a model that can detect a gesture from a single quick motion, and my current model is not accurate enough for that. For example, one rapid counterclockwise rotation on the Z axis should be interpreted as a gesture, and one rapid clockwise rotation on the same axis should be interpreted as a different gesture. Do you have any advice on how to accomplish this?

Project ID:
1105093

Context/Use case:
Gesture recognition in an embedded device

Steps Taken:

  1. Follow the motion recognition guide
  2. Attempt to use the model to detect a gesture from a single flick of the device.

Expected Outcome:
The model should be able to detect the gesture from a single flick.

Actual Outcome:
The model is often incorrect until you do the same flick at least twice.

Environment:

  • Platform: nRF52832
  • Build Environment Details: C++
  • OS Version: Linux (NixOS)
  • Edge Impulse Version (Firmware): 1.95.11
  • Edge Impulse CLI Version: NA
  • Project Version: 12
  • Custom Blocks / Impulse Configuration:
    • Window size: 2000 ms
    • Window increase: 80 ms