Platform
ModelFeaturesDocsPricingContact us

Human Activity Recognition

Turn motion sensor data into activity intelligence that runs on the device, with edge AI.

Record motion data from your own sensors, label the activities you care about, and train a classifier that ships to the hardware collecting the readings.

A model sees windows, not activities

Motion sensors stream numbers. PetalEdge cuts the stream into fixed-length windows, and each window becomes one example with one label. How long a window is, how fast you sample and which axes you keep decide what the model gets to look at.

Simulated motion stream3 axes · 50 Hz · generated, not recorded

Label of the highlighted windowWalking

  • Accelerometer x y z
  • Window
  • Previous window
Axes kept

The accelerometer's x, y and z.

Overlap between windows

A new window starts every 62 readings (1.24 s).

readings per axis, per window
125
50 Hz × 2.5 s
values in one raw window
375
125 readings × 3 axes
features after Flatten
9–21
3 to 7 statistics per axis
windows from a one-minute recording
47
complete windows only

Choose how each window is described

A motion project offers three processing blocks. They differ in how much of the raw signal survives into the model, which is the real decision behind every activity classifier.

The samples themselves, with optional normalisation.

Suits
Movements where order matters: a gesture, a swing, a transition.
Mind
The largest input, and the feature engineering is yours.
Pairs well with
  • 1D convolution
  • LSTM

Learning blocks for motion projectsDense1D convolution2D convolutionLSTMAnomaly detectionRegression

Record data the model can learn from

Most disappointing activity models trace back to the recordings, not the network.

  • Fix the sensor position

    Waist, wrist and ankle readings look different. Record where the device will be worn and keep it there.

  • Record at the rate you will deploy

    The package carries the sampling frequency and axes you trained with, so train on what the device will actually read.

  • Use more than one person

    People move differently. A model trained on one body mostly learns that body.

  • Give it an idle or other class

    Otherwise every window, including ones that match nothing you labelled, is forced into one of your activities.

  • Spread recordings across sessions

    Several short sessions on different days teach more than one long take.

  • Hold back whole recordings for testing

    Neighbouring windows from one recording are near-duplicates. Keep entire recordings, ideally entire people, in the test split.

Questions teams ask first

  • Which sensors can I use?

    Anything that produces numeric time series: accelerometers, gyroscopes and similar. You upload CSV recordings, or record live from a connected device, and the axes come from your data.

  • How much data do I need?

    There is no fixed number. Start with a few minutes per class across several sessions and people, train, then read the confusion matrix: the classes it mixes up are the ones that need more or better recordings.

  • Does PetalEdge include pre-trained activity models?

    No. You bring recordings from your own sensors and label the activities you care about. The platform provides the pipeline from data to a deployable package.

  • Can it flag unusual movement instead of naming it?

    Motion projects include an anomaly detection learning block, and a regression block for continuous values, alongside the classification blocks.

  • Where can the model run?

    Packages are built for Raspberry Pi, Arduino UNO Q and TensorFlow Lite today. Reading the sensor on the device is part of your integration.

Where the model runs

A trained motion model is built into a package for the target you choose, with the processing settings it was trained on, so readings on the device are prepared the same way.

Reading the sensor on your device is part of your integration. Each target's page describes the package it produces.

Start with your own motion data

Create a project, bring your data, and take it through to a deployed model.