> ## Documentation Index
> Fetch the complete documentation index at: https://docs.edgeimpulse.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Continuous motion recognition

> A labeled accelerometer dataset of continuous gestures (idle, snake, up-down, wave) for training motion recognition models.

**Task:** Motion and Vibration Classification

**License:** [BSD 3-Clause Clear](https://spdx.org/licenses/BSD-3-Clause-Clear.html)

> [card] [Open dataset in Edge Impulse Studio](https://studio.edgeimpulse.com/public/497631/latest)
>
> Clone this ready-to-use dataset into your Edge Impulse account and start experimenting immediately.

![Public dataset preview for continuous motion recognition with accelerometer labels](https://mintcdn.com/edgeimpulse/VpF_Einsy6qHCvhZ/.assets/images/dataset-screenshot/497631.png?fit=max\&auto=format\&n=VpF_Einsy6qHCvhZ\&q=85\&s=036c9b647ee68b71a56c8c52665aa3b8)

Dataset Screenshot

## Description

This is a prebuilt dataset, collected by Edge Impulse teams, for a gesture recognition system based on continuous motion, for the [Continuous Motion Recognition tutorial](https://docs.edgeimpulse.com/tutorials/end-to-end/motion-recognition.md). It contains 15 minutes of data sampled from a MEMS accelerometer at 62.5Hz over the following four classes:

* Idle - board sits idly on your desk. There might be some movement detected, e.g. from typing while the board is present.
* Snake - board moves over the desk as a snake.
* Updown - board moves up and down in a continuous motion.
* Wave - board moves left and right like you're waving to someone.

![Accelerometer motion trace for the snake gesture](https://usercdn.edgeimpulse.com/project497631/ba2df914cd67fa965724c3224ec2b65d00ea43feea1681941e974fe0897de5fa)

Snake

![Accelerometer motion trace for the updown gesture](https://usercdn.edgeimpulse.com/project497631/47f414795c67a7f729448373dccdaaea1aed3b56e394d454d72a4efd6f0b9485)

Updown

![Accelerometer motion trace for the wave gesture](https://usercdn.edgeimpulse.com/project497631/46f0338a7a609afbb3b2e2f899c203ab88edc6503b04466b0a9e33e1484b7ad5)

Wave

### Compatible Blocks

* **Feature extraction**: [Spectral Features](https://docs.edgeimpulse.com/studio/projects/processing-blocks/blocks/spectral-analysis.md) (FFTs or Wavelets)
* **Learning block**: [Classification](https://docs.edgeimpulse.com/studio/projects/learning-blocks/blocks/classification.md) + optionally [Anomaly Detection (K-Means)](https://docs.edgeimpulse.com/studio/projects/learning-blocks/blocks/anomaly-detection-k-means.md) or [Anomaly Detection (GMM)](https://docs.edgeimpulse.com/studio/projects/learning-blocks/blocks/anomaly-detection-gmm.md)

*Not sure what to choose? Try out this dataset with the [EON Tuner](https://docs.edgeimpulse.com/studio/projects/eon-tuner.md).*

### Dataset Details

* **Total Data Items:** 101

* **Labeling Method:** single label

* **Train/Test Split:** 84.16% / 15.84%

| | **Training Set** | **Testing Set** |
| - | - | - |
| **Total Data Items** | 85 | 16 |
| **Labels** | idle, snake, updown, wave | anomaly, idle, snake, updown, wave |

## Usage

The dataset can be added to a project in two ways: cloning the dataset public project or downloading the dataset and importing it into another project.

* **Clone the [public project](https://studio.edgeimpulse.com/public/497631/latest)**

  To clone and use this project, visit the [Edge Impulse Studio link](https://studio.edgeimpulse.com/public/497631/latest), click on the **Clone** button on the top-right corner and follow the cloning instructions.

* **Download and import**

  * [Download link](https://cdn.edgeimpulse.com/datasets/Motion+Classification+-+Continuous+motion+recognition.zip)

  This dataset uses the Edge Impulse Exporter Format (`info.labels`). See [Edge Impulse labels](https://docs.edgeimpulse.com/tools/specifications/data-annotation/ei-labels.md) for more info.

  Edge Impulse also supports different [data acquisition formats](https://docs.edgeimpulse.com/tools/specifications/data-acquisition/json-cbor.md) and [dataset annotation formats](https://docs.edgeimpulse.com/tools/specifications/data-annotation/ei-labels.md) that you can import into your project to build your edge AI models:

  * [Studio uploader](https://docs.edgeimpulse.com/studio/projects/data-acquisition/dataset/uploader.md)
  * [CLI uploader](https://docs.edgeimpulse.com/tools/clis/edge-impulse-cli/uploader.md)
  * [CSV Wizard](https://docs.edgeimpulse.com/studio/projects/data-acquisition/csv-wizard.md)
  * [Python SDK](https://docs.edgeimpulse.com/tutorials/tools/sdks/studio/python/upload-download-data.md)
  * [Ingestion API](https://docs.edgeimpulse.com/apis/ingestion.md)
  * [Import from S3 buckets](https://docs.edgeimpulse.com/studio/projects/data-acquisition/data-sources.md)
  * [Upload portals](https://docs.edgeimpulse.com/studio/organizations/upload-portals.md)

## Citation

If you use this dataset in your research paper, please cite it using the following BibTeX:

```
@misc{edgeimpulse_dataset_497631,
    title = {Motion Classification - Continuous motion recognition},
    author = {Edge Impulse},
    year = {2024},
    url = {https://studio.edgeimpulse.com/public/497631/latest},
    note = {BSD 3-Clause Clear}
}
```
