Imagine controlling your device by just moving your head and without touching any buttons.
Recognizing head gestures such as nodding, shaking, and other general head movements can be relevant in applications like safety helmets, VR headsets, and other forms of gear worn on the head.
Edge AI is helpful in these kinds of applications, for saving power while recognizing complex gestures at sensor level.
This use case will show you an example of head gesture recognition using the ST MEMS sensors in the SensorTile.box PRO board.
Three classes are recognized by the Machine Learning Core (MLC) configuration of the LSM6DSV16X: nod, shake, other.
Accelerometer and gyroscope data rates is set at 30 Hz, the full scales at 4 g and 125 dps respectively.
The three classes are recognized by the decision tree running in the LSM6DSV16X MLC.
LSM6DSV16X is a 6-axis inertial measurement unit (IMU) with embedded AI and sensor fusion, Qvar for high-end applications.
The LSM6DSV16X sensor is included in the SensorTile.box PRO board, a ready-to-use programmable wireless box kit for developing any IoT application including motion and environmental data sensing, along with a digital microphone.
Dataset Three classes: nod, shake, other.
Accelerometer and gyroscope data rates is set at 30 Hz, the full scales at 4 g and 125 dps respectively.
Model The model has been trained with a dataset of around 360 seconds, equally balanced in the three classes.
The resulting decision tree model shows a 100% accuracy.
Easily recreate this use-case with the following resources:
Additional resources:
Author: Michele FERRAINA | Last update: February, 2025
ST AIoT Craft enables the development of IoT solutions using in-sensor AI and ST components. It allows profiling decision tree algorithms within the machine learning core of ST MEMS sensors and deploying sensor-to-cloud solutions.
The LSM6DSV16X is a high-performance, low-power 6-axis small IMU, featuring a 3-axis digital accelerometer and a 3-axis digital gyroscope. It also features an MLC (Machine Learning Core) to embed machine learning algorithms inside the sensor.