This is a public Edge Impulse project, use the navigation bar to see all data and models in this project; or clone to retrain or deploy to any edge device.
Walk terrain classification
About this project
Adding terrain classification to step counting wearables
This demo research project tackles a significant shortcoming of step counting wearables/applications in that they do not integrate terrain analysis which is significant to calorie burning and cardiovascular benefits. For example, walking uphill requires more effort from the heart, muscles and lungs, and more calories are also burned.
To implement terrain classification while walking, the project leverages embedded AI technology which allows us to run light-weight AI models on microcontrollers connected to sensors. I used the XIAO nRF52840 Sense given that it has an onboard 6 DOF IMU (LSM6DS3TR-C), Bluetooth LE 5.2, ultra-Low power consumption, and it's small form factor makes it a great fit for a wearable. The onboard IMU is used to capture angle of a surface from a foot level while the BLE connectivity is used to send terrain classification results to a simple offline BLE WebApp that we can access on our mobile devices (there is a desktop version as well, but mobile webapp is the most convenient).
By using the accelerometer data from the IMU, we can observe that there is a data "trend" between the different slopes from a time series representation of motion data. This tells us that an AI model is capable of analyzing these trends and learning the terrain slopes, adding to step detection/calculation which they are exceptionally good at.
Run this model
Dataset summary
Data collected
4m 11sSensors
Ax, Ay, Az @ 50HzLabels
downhill_surface, flat_surface, no_motion, uphill_surfaceProject info
Project ID | 775241 |
Project version | 1 |
License | 3-Clause BSD |
No. of views | 569 |
No. of clones | 0 |