Upload README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- video-classification
|
| 5 |
+
- zero-shot-classification
|
| 6 |
+
tags:
|
| 7 |
+
- motion-detection
|
| 8 |
+
- temporal-vision
|
| 9 |
+
- speckle-noise
|
| 10 |
+
size_categories:
|
| 11 |
+
- n<1K
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Motion-Text Classifier Dataset
|
| 15 |
+
|
| 16 |
+
A binary classification dataset for distinguishing between pure motion and text-revealed-through-motion in speckle noise videos.
|
| 17 |
+
|
| 18 |
+
## Dataset Description
|
| 19 |
+
|
| 20 |
+
This dataset contains 1000 videos (5 seconds each) designed to test motion-based perception:
|
| 21 |
+
|
| 22 |
+
- **Motion-only (500 videos)**: Pure background noise scrolling horizontally
|
| 23 |
+
- **Text videos (500 videos)**: Single words revealed through opposing foreground/background motion
|
| 24 |
+
|
| 25 |
+
All videos use identical noise parameters to ensure the **only** distinguishing feature is the presence of foreground content.
|
| 26 |
+
|
| 27 |
+
## Dataset Structure
|
| 28 |
+
|
| 29 |
+
```
|
| 30 |
+
dataset/
|
| 31 |
+
├── train/
|
| 32 |
+
│ ├── motion_0000.mp4 to motion_0449.mp4 (450 videos)
|
| 33 |
+
│ ├── text_0000.mp4 to text_0449.mp4 (450 videos)
|
| 34 |
+
│ └── metadata.csv
|
| 35 |
+
└── test/
|
| 36 |
+
├── motion_0450.mp4 to motion_0499.mp4 (50 videos)
|
| 37 |
+
├── text_0450.mp4 to text_0499.mp4 (50 videos)
|
| 38 |
+
└── metadata.csv
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
## Usage
|
| 42 |
+
|
| 43 |
+
```python
|
| 44 |
+
from datasets import load_dataset
|
| 45 |
+
|
| 46 |
+
# Load dataset
|
| 47 |
+
dataset = load_dataset("mukul54/motion-text-classifier")
|
| 48 |
+
|
| 49 |
+
# Access samples
|
| 50 |
+
train_sample = dataset['train'][0]
|
| 51 |
+
print(train_sample['label']) # 'motion_only' or 'text_fg_bg'
|
| 52 |
+
print(train_sample['text']) # word shown (None for motion_only)
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
## Video Parameters
|
| 56 |
+
|
| 57 |
+
All videos share identical generation parameters:
|
| 58 |
+
|
| 59 |
+
| Parameter | Value |
|
| 60 |
+
|-----------|-------|
|
| 61 |
+
| Resolution | 960×540 |
|
| 62 |
+
| FPS | 60 |
|
| 63 |
+
| Duration | 5.0 seconds |
|
| 64 |
+
| Noise Density | 0.5 |
|
| 65 |
+
| Speckle Size | 1 |
|
| 66 |
+
| Speed | 2 |
|
| 67 |
+
| Direction | Horizontal |
|
| 68 |
+
|
| 69 |
+
## Labels
|
| 70 |
+
|
| 71 |
+
- **motion_only**: Background noise only (no foreground object)
|
| 72 |
+
- **text_fg_bg**: Text revealed through opposite motion of foreground/background using the same noise pattern
|
| 73 |
+
|
| 74 |
+
## Key Features
|
| 75 |
+
|
| 76 |
+
- **Pure motion detection**: Text is invisible in static frames
|
| 77 |
+
- **Controlled experiment**: All parameters identical except foreground content
|
| 78 |
+
- **Temporal encoding**: Information only available through motion analysis
|
| 79 |
+
|
| 80 |
+
## Use Cases
|
| 81 |
+
|
| 82 |
+
- Testing motion perception in vision models
|
| 83 |
+
- Temporal feature extraction benchmarks
|
| 84 |
+
- Zero-shot video understanding
|
| 85 |
+
- Motion-based object detection
|
| 86 |
+
|
| 87 |
+
## Citation
|
| 88 |
+
|
| 89 |
+
If you use this dataset, please cite:
|
| 90 |
+
|
| 91 |
+
```bibtex
|
| 92 |
+
@dataset{motion_text_classifier,
|
| 93 |
+
title={Motion-Text Classifier: Speckle Noise Motion Detection Dataset},
|
| 94 |
+
author={Mukul},
|
| 95 |
+
year={2025},
|
| 96 |
+
publisher={HuggingFace},
|
| 97 |
+
url={https://huggingface.co/datasets/mukul54/motion-text-classifier}
|
| 98 |
+
}
|
| 99 |
+
```
|
| 100 |
+
|
| 101 |
+
## License
|
| 102 |
+
|
| 103 |
+
MIT License
|