2020-08-24 03:15 AM
--- This article may help you during future lockdown ---
1 - Introduction
The Yoga Pose recognition algorithm described here is intended for wearable devices, since all the data logs have been acquired with the device placed on the left leg, with the orientation described in section 2. Fourteen different classes are recognized, as described in the comment to this post.
The Machine Learning Core (MLC) is configured to run at 104 Hz, features are extracted using windows of 52 samples, therefore the Decision Tree classifier output is updated two times per second (104 Hz / 52 = 2 Hz).
Only accelerometer data is used. The full-scale is set to 2 g. Three different features are computed:
2 - Device orientation
The SensorTile.Box is placed on the left leg (see picture below). Other devices can be used as well, provided that the orientation of sensor axes is correct.
3 - Decision Tree output values
The Decision Tree classifiers detects 14 different classes corresponding to 12 different Yoga positions (see comment and picture below) and 2 Non-Yoga position (Standing still and in motion). The output of the Decision Tree classifier is stored in the register MLC0_SRC (address 70h).
4 - Interrupts
Whenever the Decision Tree output is updated (MLC0_SRC register at address 70h), an interrupt is generated (pulse on INT1 pin), that is two times per second in this example configuration.
More info HERE. Enyoj!
2020-08-24 03:16 AM
This is the list of values that the MLC0_SRC register can have and the corresponding class label:
2021-01-27 01:35 AM
Where can I get examples of Yoga recognition?
2021-01-27 02:30 AM