Datasets:
File size: 5,443 Bytes
27d384a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | ---
language:
- en
license: other
pretty_name: UT-Interaction
task_categories:
- video-classification
tags:
- action-recognition
- human-action-recognition
- human-interaction
- video
- computer-vision
size_categories:
- n<1K
configs:
- config_name: default
default: true
data_files:
- split: set1
path:
- data/set1/*.mp4
- data/set1/metadata.jsonl
- split: set2
path:
- data/set2/*.mp4
- data/set2/metadata.jsonl
- config_name: annotations
data_files:
- split: all
path: annotations/annotations.parquet
---
<h1 align="center">UT-Interaction</h1>
<p align="center">
<video controls autoplay loop muted playsinline width="900" poster="https://huggingface.co/datasets/dronefreak/UT-Interaction/resolve/main/assets/demo_banner_poster.jpg" src="https://huggingface.co/datasets/dronefreak/UT-Interaction/resolve/main/assets/demo_banner.mp4"></video>
</p>
    
> **Unofficial redistribution of the UT-Interaction dataset, with playable segments joined to their official labels.**
## Dataset Description
- **Homepage:** cvrc.ece.utexas.edu/SDHA2010/Human_Interaction.html
- **Challenge:** ICPR 2010 SDHA
- **Segments:** 120
- **Full sequences:** 20
- **Classes:** 6
- **Protocol:** 10-fold leave-one-sequence-out per set
## Disclaimer
This repository is **not** an official release. UT-Interaction was created by M. S. Ryoo and J. K. Aggarwal at The University of Texas at Austin for the ICPR 2010 Contest on Semantic Description of Human Activities, and they retain all rights. This copy comes directly from the [official page](https://cvrc.ece.utexas.edu/SDHA2010/Human_Interaction.html), which states no license and asks users to cite the references below. The contest page also asked **contest participants** to register by email.
---
# Changes from the Official Release
- **All original archives and the label spreadsheet are preserved unchanged** in `original/`, including the 20 full sequences.
- **Added:** H.264 MP4s of the 120 official segments so they play in the dataset viewer. These are **lossy previews** (worst-frame PSNR 39.92 dB). Use the original AVIs for pixel-exact work.
- The label spreadsheet is converted to `annotations/annotations.parquet` and joined to each segment.
**Notes on the official data (kept as is):**
- Each set has **60 evaluation segments**, 10 per class. The spreadsheet lists 42 more executions under "others", which the official protocol excludes. They are in the `annotations` config with `evaluation_segment = false`.
- Official segments are **longer than their labelled ranges**, by 28 to 30 frames, and typically start 15 frames before the labelled start. This is not documented. `measured_clip_start_in_source` gives the start measured by aligning each segment to its full sequence.
- Segment crops are up to 3 pixels smaller than the labelled box.
- `main_actor` is `both` for handshakes and hugs, and otherwise `left` or `right`.
**Verification:** all 120 segments matched to their label row and aligned to the source video (median error 4.9 against 11.2 at wrong offsets), class balance, every MP4 frame against its source, a visual check of the class IDs, and an exact annotation round-trip. See `verification.json`.
---
# Dataset Structure
```text
data/{set1,set2}/*.mp4
data/{set1,set2}/metadata.jsonl
annotations/annotations.parquet
original/
classes.txt
assets/
```
Set 1 was filmed in a parking lot. Set 2 was filmed on a lawn on a windy day, with more background motion and camera jitter.
| Field | Description |
|---|---|
| `video` | Official cropped segment at 30 fps |
| `set`, `sequence` | Official set and sequence number |
| `segment_index` | Official segment number within the set |
| `action`, `class_id` | `shake_hands`, `hug`, `kick`, `point`, `punch`, `push` (ids 0 to 5) |
| `main_actor` | Acting person: `left`, `right` or `both` |
| `source_start_frame`, `source_end_frame` | Labelled range in the full sequence |
| `source_bbox` | Labelled `[xmin, ymin, xmax, ymax]` in the full sequence |
| `measured_clip_start_in_source` | Measured first frame of the segment in the full sequence |
---
# Usage
```python
from datasets import load_dataset
ds = load_dataset("dronefreak/UT-Interaction")
# Official protocol: leave one sequence out, per set
train = ds["set1"].filter(lambda r: r["sequence"] != 1)
test = ds["set1"].filter(lambda r: r["sequence"] == 1)
```
---
# Citation
```bibtex
@misc{UT-Interaction-Data,
author = {Ryoo, M. S. and Aggarwal, J. K.},
title = {{UT}-{I}nteraction {D}ataset, {ICPR} contest on {S}emantic {D}escription of {H}uman {A}ctivities ({SDHA})},
year = {2010},
howpublished = {http://cvrc.ece.utexas.edu/SDHA2010/Human\_Interaction.html}
}
```
---
# License
No license was specified by the original authors. This is an **unofficial redistribution for 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.**
|