--- language: - en license: other pretty_name: KTH Actions task_categories: - video-classification tags: - action-recognition - human-action-recognition - video - computer-vision size_categories: - n<1K configs: - config_name: default default: true data_files: - split: train path: - data/train/*.mp4 - data/train/metadata.jsonl - split: validation path: - data/validation/*.mp4 - data/validation/metadata.jsonl - split: test path: - data/test/*.mp4 - data/test/metadata.jsonl ---
      > **Unofficial redistribution of the KTH human actions database for non-commercial use, with the official subject split and action segments.** ## Dataset Description - **Homepage:** csc.kth.se/cvap/actions - **Paper:** ICPR 2004 - **Clips:** 599 - **Frames:** 289,716 - **Action segments:** 2,391 - **Classes:** 6 - **Subjects:** 25 - **Split:** 191 train, 192 validation, 216 test ## Disclaimer This repository is **not** an official release. The KTH database was created by Christian Schuldt, Ivan Laptev and Barbara Caputo at the Royal Institute of Technology (KTH), who retain all rights. This copy comes directly from the [official page](https://www.csc.kth.se/cvap/actions/), which states: *"The database is publicly available for non-commercial use."* It asks users to cite the paper below. **Non-commercial use only.** --- # Changes from the Official Release - **All original archives and `00sequences.txt` are preserved unchanged** in `original/`. - **Added:** H.264 MP4s so clips play in the dataset viewer. These are **lossy previews** (worst-frame PSNR 37.09 dB). Use the original AVIs for pixel-exact work. - The official subject split and per-clip action segments are joined into `metadata.jsonl`. **Notes on the official data (kept as is):** - The database has **599 clips rather than 600**: `person13_handclapping_d3` is officially marked missing. - 5 clips have three action segments rather than four. - The last listed segment of `person01_boxing_d4` ends at frame 370, but the video has 305 frames. - 9 clips have consecutive segments that overlap or share a boundary frame. They are listed in `verification.json`. **Verification:** clip inventory against the official list, subject split coverage, segment ranges, and every MP4 frame against its source AVI. See `verification.json`. --- # Dataset Structure ```text data/{train,validation,test}/*.mp4 data/{train,validation,test}/metadata.jsonl original/ classes.txt assets/ ``` | Field | Description | |---|---| | `video` | 160x120 clip at 25 fps | | `clip` | Official clip name | | `subject` | `person01` to `person25` | | `action` | `boxing`, `handclapping`, `handwaving`, `jogging`, `running`, `walking` | | `scenario` | `d1` to `d4` | | `scenario_name` | Outdoors, outdoors with scale variation, outdoors with different clothes, or indoors | | `action_segments` | Official `[start, end]` frame ranges, 1-indexed and inclusive | --- # Usage ```python from datasets import load_dataset ds = load_dataset("dronefreak/KTH-Actions") row = ds["train"][0] print(row["action"], row["scenario_name"], row["action_segments"]) ``` --- # Citation ```bibtex @inproceedings{schuldt2004recognizing, title = {Recognizing Human Actions: A Local {SVM} Approach}, author = {Schuldt, Christian and Laptev, Ivan and Caputo, Barbara}, booktitle = {International Conference on Pattern Recognition (ICPR)}, volume = {3}, pages = {32--36}, year = {2004} } ``` --- # License The authors state that the database is **publicly available for non-commercial use**; no formal license is given. This is an **unofficial redistribution for non-commercial research, with attribution**. All rights remain with the original authors. **If you are a rights holder and want this removed, open a discussion on this repository and it will be taken down.**