Edge Impulse Experts / Walk terrain classification Public

Walk terrain classification

About this project

Adding terrain classification to step counting wearables

Cover image

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.

wearable_terrain_angle.jpg

downhill_surface.64ru0vb9.s3
downhill_surface.64rui6lq.s20
flat_surface.64rth25q.s8
no_motion.64rvo7qk.s11
flat_surface.64rujs0p.s26
no_motion.64rvo7qk.s27
uphill_surface.64ru5nae.s2
flat_surface.64rth25q.s14

Run this model

Scan QR code or launch in browser

Dataset summary

Data collected
4m 11s
Sensors
Ax, Ay, Az @ 50Hz
Labels
downhill_surface, flat_surface, no_motion, uphill_surface

Project info

Project ID 775241
Project version 1
License 3-Clause BSD
No. of views 569
No. of clones 0