# HARTH (Human Activity Recognition Trondheim) v2.0: Thigh and Lower-Back Accelerometry of 31 Adults with Video-Annotated Activities (NTNU)

## Facts

- Provider: Norwegian University of Science and Technology (Logacjov, Bach, Kongsvold, Bårdstu, Mork); harmonized by Josef Heidler
- License: MIT (https://raw.githubusercontent.com/ntnu-ai-lab/harth-ml-experiments/main/LICENSE)
- Size: 33 files
- Format: Parquet (in sampled files)
- Stored at: Hugging Face, https://huggingface.co/datasets/josefheidler/har_adults_2021-harth
- Access: public, readable without an account
- Category: Physiology
- Source: https://doi.org/10.3390/s21237853
- Page: https://scigantic.com/archive/506a5666-4162-5ed7-964b-f92d0b8f581a
- Keywords: Physiology, Parquet, Hugging Face

## About

HARTH, the Human Activity Recognition Trondheim dataset from the Norwegian University of Science and Technology (NTNU), in its 31-participant v2.0 version: raw triaxial accelerometry from two Axivity AX3 sensors worn on the right thigh and the lower back (about L3) by healthy adults during 1 to 2.5 hours of semi-free-living activity at work or home, plus walking, running and cycling sessions outdoors. Ground truth comes from frame-by-frame annotation of a chest-mounted GoPro video by two experts (Fleiss kappa 0.96) for 12 activity types including walking, running, stair climbing, cycling and postures. The sensors sample at 50 Hz (downsampled from 100 Hz), giving about 8.3 million samples and 46 labelled hours. The setup mirrors the dual-sensor accelerometry of the HUNT4 population study (Trondheim Health Study, about 35,000 people), so the data train physical activity and posture classifiers for wearable epidemiology. This Hugging Face copy harmonizes the NTNU GitHub release into one Parquet file per subject under harmonized/, one row per sample with x, y, z acceleration in g for both sensors and the label; load with Hugging Face datasets or pandas. NTNU publishes the data folder in its harth-ml-experiments repository under the MIT License (v1.2 with 22 subjects is on UCI under CC BY 4.0). Cite Logacjov et al., Sensors 21(23):7853, 2021.

## Load the data

```python
from datasets import load_dataset
ds = load_dataset("josefheidler/har_adults_2021-harth")
print(ds)
```

## Data structure

File types in sampled files: Parquet

Example file: `harmonized/agile-albatross.parquet`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/506a5666-4162-5ed7-964b-f92d0b8f581a
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/506a5666-4162-5ed7-964b-f92d0b8f581a
- Over MCP: `get_schema_card` with id `506a5666-4162-5ed7-964b-f92d0b8f581a` at https://api.scigantic.com/mcp

## Related topics

- [Parquet datasets](https://scigantic.com/topics/parquet)
- [Physiology datasets](https://scigantic.com/topics/physiology)
