File size: 2,633 Bytes
15b88de
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: mit
task_categories:
- video-classification
- zero-shot-classification
tags:
- motion-detection
- temporal-vision
- speckle-noise
size_categories:
- n<1K
---

# Motion-Text Classifier Dataset

A binary classification dataset for distinguishing between pure motion and text-revealed-through-motion in speckle noise videos.

## Dataset Description

This dataset contains 1000 videos (5 seconds each) designed to test motion-based perception:

- **Motion-only (500 videos)**: Pure background noise scrolling horizontally
- **Text videos (500 videos)**: Single words revealed through opposing foreground/background motion

All videos use identical noise parameters to ensure the **only** distinguishing feature is the presence of foreground content.

## Dataset Structure

```
dataset/
├── train/
│   ├── motion_0000.mp4 to motion_0449.mp4 (450 videos)
│   ├── text_0000.mp4 to text_0449.mp4 (450 videos)
│   └── metadata.csv
└── test/
    ├── motion_0450.mp4 to motion_0499.mp4 (50 videos)
    ├── text_0450.mp4 to text_0499.mp4 (50 videos)
    └── metadata.csv
```

## Usage

```python
from datasets import load_dataset

# Load dataset
dataset = load_dataset("mukul54/motion-text-classifier")

# Access samples
train_sample = dataset['train'][0]
print(train_sample['label'])  # 'motion_only' or 'text_fg_bg'
print(train_sample['text'])   # word shown (None for motion_only)
```

## Video Parameters

All videos share identical generation parameters:

| Parameter | Value |
|-----------|-------|
| Resolution | 960×540 |
| FPS | 60 |
| Duration | 5.0 seconds |
| Noise Density | 0.5 |
| Speckle Size | 1 |
| Speed | 2 |
| Direction | Horizontal |

## Labels

- **motion_only**: Background noise only (no foreground object)
- **text_fg_bg**: Text revealed through opposite motion of foreground/background using the same noise pattern

## Key Features

- **Pure motion detection**: Text is invisible in static frames
- **Controlled experiment**: All parameters identical except foreground content
- **Temporal encoding**: Information only available through motion analysis

## Use Cases

- Testing motion perception in vision models
- Temporal feature extraction benchmarks
- Zero-shot video understanding
- Motion-based object detection

## Citation

If you use this dataset, please cite:

```bibtex
@dataset{motion_text_classifier,
  title={Motion-Text Classifier: Speckle Noise Motion Detection Dataset},
  author={Mukul},
  year={2025},
  publisher={HuggingFace},
  url={https://huggingface.co/datasets/mukul54/motion-text-classifier}
}
```

## License

MIT License