Add files using upload-large-folder tool
Browse files- LICENSE +2 -0
- README.md +157 -0
- data/frames/0c2857fc-f97e-4301-80d7-63507a1303a7_frame_000210.jpg +3 -0
- data/frames/21f4f832-1d99-4647-8973-1eaec52f8353_frame_000165.jpg +3 -0
- data/frames/21f4f832-1d99-4647-8973-1eaec52f8353_frame_000615.jpg +3 -0
- data/frames/44eb7456-67b1-44d6-bed2-c9ea8626b4f8_frame_000180.jpg +3 -0
- data/frames/44eb7456-67b1-44d6-bed2-c9ea8626b4f8_frame_000750.jpg +3 -0
- data/frames/623686ca-50c6-4c6b-8801-8e484ff033d3_frame_000000.jpg +3 -0
- data/frames/623686ca-50c6-4c6b-8801-8e484ff033d3_frame_000360.jpg +3 -0
- data/frames/623686ca-50c6-4c6b-8801-8e484ff033d3_frame_001095.jpg +3 -0
- data/frames/a1884fe4-fb6e-439f-8b04-381f12ecd884_frame_000030.jpg +3 -0
- data/frames/a1884fe4-fb6e-439f-8b04-381f12ecd884_frame_000150.jpg +3 -0
- data/frames/a1884fe4-fb6e-439f-8b04-381f12ecd884_frame_000420.jpg +3 -0
- data/frames/a1884fe4-fb6e-439f-8b04-381f12ecd884_frame_000540.jpg +3 -0
- data/frames/a1884fe4-fb6e-439f-8b04-381f12ecd884_frame_000795.jpg +3 -0
- data/frames/a1884fe4-fb6e-439f-8b04-381f12ecd884_frame_001110.jpg +3 -0
- data/frames/a1884fe4-fb6e-439f-8b04-381f12ecd884_frame_001305.jpg +3 -0
- data/frames/bdfb7106-c2ba-4c16-a2e9-88ceff6ed3da_frame_000060.jpg +3 -0
- data/frames/bdfb7106-c2ba-4c16-a2e9-88ceff6ed3da_frame_000300.jpg +3 -0
- data/frames/bdfb7106-c2ba-4c16-a2e9-88ceff6ed3da_frame_000510.jpg +3 -0
- data/frames/bdfb7106-c2ba-4c16-a2e9-88ceff6ed3da_frame_000855.jpg +3 -0
- data/frames/c17e1a0a-dc98-435e-a195-e5176f14ae31_frame_000030.jpg +3 -0
- data/frames/c17e1a0a-dc98-435e-a195-e5176f14ae31_frame_000150.jpg +3 -0
- data/frames/c17e1a0a-dc98-435e-a195-e5176f14ae31_frame_000345.jpg +3 -0
- data/frames/c17e1a0a-dc98-435e-a195-e5176f14ae31_frame_000420.jpg +3 -0
- data/frames/c17e1a0a-dc98-435e-a195-e5176f14ae31_frame_000540.jpg +3 -0
- data/frames/c17e1a0a-dc98-435e-a195-e5176f14ae31_frame_000795.jpg +3 -0
- data/frames/c17e1a0a-dc98-435e-a195-e5176f14ae31_frame_001110.jpg +3 -0
- data/frames/cc89d977-fd4f-4d0a-9a1e-d010a8f5b579_frame_000045.jpg +3 -0
- data/frames/cc89d977-fd4f-4d0a-9a1e-d010a8f5b579_frame_000285.jpg +3 -0
- data/frames/cc89d977-fd4f-4d0a-9a1e-d010a8f5b579_frame_000330.jpg +3 -0
- data/frames/d485c6ac-dd01-455b-b6de-744550c4c216_frame_000000.jpg +3 -0
- data/frames/d485c6ac-dd01-455b-b6de-744550c4c216_frame_000015.jpg +3 -0
- data/frames/de7a01c2-c383-4ae3-a9c1-5d385ed33f60_frame_000045.jpg +3 -0
- data/frames/de7a01c2-c383-4ae3-a9c1-5d385ed33f60_frame_000090.jpg +3 -0
- data/frames/de7a01c2-c383-4ae3-a9c1-5d385ed33f60_frame_000480.jpg +3 -0
- data/frames/de7a01c2-c383-4ae3-a9c1-5d385ed33f60_frame_000735.jpg +3 -0
- data/frames/de7a01c2-c383-4ae3-a9c1-5d385ed33f60_frame_000870.jpg +3 -0
- data/frames/de7a01c2-c383-4ae3-a9c1-5d385ed33f60_frame_001005.jpg +3 -0
- data/frames/de7a01c2-c383-4ae3-a9c1-5d385ed33f60_frame_001365.jpg +3 -0
- data/frames/de7a01c2-c383-4ae3-a9c1-5d385ed33f60_frame_001575.jpg +3 -0
- data/frames/de7a01c2-c383-4ae3-a9c1-5d385ed33f60_frame_001830.jpg +3 -0
- data/frames/de7a01c2-c383-4ae3-a9c1-5d385ed33f60_frame_001950.jpg +3 -0
- dataset_info.json +25 -0
- metadata.csv +0 -0
- schema/annotation_schema.json +286 -0
- source_mapping.json +12 -0
- taxonomy/camera_angle.json +58 -0
- taxonomy/mappings.json +119 -0
- taxonomy/shot_scale.json +123 -0
LICENSE
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Creative Commons Attribution-NonCommercial 4.0 International License
|
| 2 |
+
https://creativecommons.org/licenses/by-nc/4.0/
|
README.md
ADDED
|
@@ -0,0 +1,157 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
version: 1.0.0
|
| 3 |
+
license: cc-by-nc-4.0
|
| 4 |
+
task_categories:
|
| 5 |
+
- image-classification
|
| 6 |
+
- video-classification
|
| 7 |
+
language:
|
| 8 |
+
- en
|
| 9 |
+
tags:
|
| 10 |
+
- camera-detection
|
| 11 |
+
- shot-scale
|
| 12 |
+
- camera-angle
|
| 13 |
+
- cinematography
|
| 14 |
+
- broadcast
|
| 15 |
+
- sports
|
| 16 |
+
- soccer
|
| 17 |
+
- computer-vision
|
| 18 |
+
- infactory
|
| 19 |
+
annotations_creators:
|
| 20 |
+
- machine-generated
|
| 21 |
+
- expert-generated
|
| 22 |
+
pretty_name: Soccer Camera Detection Dataset
|
| 23 |
+
size_categories:
|
| 24 |
+
- 1K<n<10K
|
| 25 |
+
---
|
| 26 |
+
|
| 27 |
+
# Soccer Camera Detection Dataset
|
| 28 |
+
|
| 29 |
+
A curated dataset for classifying camera characteristics in broadcast soccer video, annotated with **9-class shot scale** (CineScale-aligned) and **5-class camera angle** (CineScale2-aligned).
|
| 30 |
+
|
| 31 |
+
## Dataset Description
|
| 32 |
+
|
| 33 |
+
This public sample consists of **650 frames** extracted from **10 video clips** of professional soccer broadcasts spanning 2013–2025. Each frame is annotated across two orthogonal dimensions:
|
| 34 |
+
|
| 35 |
+
- **Shot Scale** — how much of the subject is visible (9 classes from Extreme Close-Up to Extreme Long Shot)
|
| 36 |
+
- **Camera Angle** — the vertical orientation of the camera relative to the subject (5 classes from Overhead to Low Angle)
|
| 37 |
+
|
| 38 |
+
This is a representative subset of a larger internal dataset, selected to cover diverse match conditions across different eras (2013-2025), teams, and broadcast styles.
|
| 39 |
+
|
| 40 |
+
### Shot Scale Distribution
|
| 41 |
+
|
| 42 |
+
| Class | Frames | % |
|
| 43 |
+
|-------|--------|---|
|
| 44 |
+
| MLS | 167 | 25.7% |
|
| 45 |
+
| ELS | 159 | 24.5% |
|
| 46 |
+
| LS | 118 | 18.2% |
|
| 47 |
+
| MS | 85 | 13.1% |
|
| 48 |
+
| MCU | 50 | 7.7% |
|
| 49 |
+
| FS | 43 | 6.6% |
|
| 50 |
+
| IS | 14 | 2.2% |
|
| 51 |
+
| CU | 8 | 1.2% |
|
| 52 |
+
| ECU | 6 | 0.9% |
|
| 53 |
+
|
| 54 |
+
### Camera Angle Distribution
|
| 55 |
+
|
| 56 |
+
| Class | Frames | % |
|
| 57 |
+
|-------|--------|---|
|
| 58 |
+
| NEU | 369 | 56.8% |
|
| 59 |
+
| HIGH | 252 | 38.8% |
|
| 60 |
+
| LOW | 29 | 4.5% |
|
| 61 |
+
|
| 62 |
+
### Source Data
|
| 63 |
+
|
| 64 |
+
- **Domain**: Professional Soccer Broadcasts (Serie A via Infront Italy)
|
| 65 |
+
- **Resolution**: 1280×720 (720p)
|
| 66 |
+
- **Annotation Style**: Per-frame JSON
|
| 67 |
+
- **Labeling Method**: Proprietary model + human verification (100% verified)
|
| 68 |
+
|
| 69 |
+
|
| 70 |
+
## Dataset Structure
|
| 71 |
+
|
| 72 |
+
```
|
| 73 |
+
infactory-ai/camera-detection/
|
| 74 |
+
├── README.md
|
| 75 |
+
├── metadata.csv
|
| 76 |
+
├── dataset_info.json
|
| 77 |
+
├── taxonomy/
|
| 78 |
+
│ ├── shot_scale.json
|
| 79 |
+
│ ├── camera_angle.json
|
| 80 |
+
│ └── mappings.json
|
| 81 |
+
├── schema/
|
| 82 |
+
│ └── annotation_schema.json
|
| 83 |
+
└── data/
|
| 84 |
+
└── frames/
|
| 85 |
+
└── {uuid}_{frame_number}.jpg
|
| 86 |
+
```
|
| 87 |
+
|
| 88 |
+
### Metadata Fields (`metadata.csv`)
|
| 89 |
+
|
| 90 |
+
| Field | Type | Description |
|
| 91 |
+
|-------|------|-------------|
|
| 92 |
+
| `frame_id` | string | Unique frame identifier (UUID) |
|
| 93 |
+
| `source_video_id` | string | UUID of the source video clip |
|
| 94 |
+
| `frame_number` | int | Frame index in the source clip |
|
| 95 |
+
| `timestamp_sec` | float | Timestamp in seconds |
|
| 96 |
+
| `shot_scale` | string | Shot scale label (ECU, CU, MCU, MS, MLS, LS, ELS, FS, IS) |
|
| 97 |
+
| `shot_scale_code` | int | Numeric code (0–8) |
|
| 98 |
+
| `camera_angle` | string | Camera angle label (OVH, HIGH, NEU, LOW, DUTCH) |
|
| 99 |
+
| `camera_angle_additional` | string | Additional angle labels if multi-label (pipe-separated) |
|
| 100 |
+
| `subject_type` | string | Primary subject type |
|
| 101 |
+
| `camera_position` | string | Physical camera position |
|
| 102 |
+
| `confidence` | float | Model confidence before human verification |
|
| 103 |
+
| `human_verified` | bool | All frames are human-verified |
|
| 104 |
+
|
| 105 |
+
## Usage
|
| 106 |
+
|
| 107 |
+
### Loading with Hugging Face Datasets
|
| 108 |
+
|
| 109 |
+
```python
|
| 110 |
+
from datasets import load_dataset
|
| 111 |
+
|
| 112 |
+
dataset = load_dataset("infactory-ai/camera-detection")
|
| 113 |
+
```
|
| 114 |
+
|
| 115 |
+
### Loading with pandas
|
| 116 |
+
|
| 117 |
+
```python
|
| 118 |
+
import pandas as pd
|
| 119 |
+
|
| 120 |
+
df = pd.read_csv("metadata.csv")
|
| 121 |
+
print(df["shot_scale"].value_counts())
|
| 122 |
+
print(df["camera_angle"].value_counts())
|
| 123 |
+
```
|
| 124 |
+
|
| 125 |
+
## Team
|
| 126 |
+
|
| 127 |
+
| Name | Role |
|
| 128 |
+
|------|------|
|
| 129 |
+
| **Valentino Constantinou** | Head of Infrastructure |
|
| 130 |
+
| **John Kanalakis** | Chief Technology Officer |
|
| 131 |
+
|
| 132 |
+
## License
|
| 133 |
+
|
| 134 |
+
This dataset is released under the [Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0)](https://creativecommons.org/licenses/by-nc/4.0/).
|
| 135 |
+
|
| 136 |
+
**You are free to:**
|
| 137 |
+
- **Share** — copy and redistribute the material in any medium or format
|
| 138 |
+
- **Adapt** — remix, transform, and build upon the material
|
| 139 |
+
|
| 140 |
+
**Under the following terms:**
|
| 141 |
+
- **Attribution** — You must give appropriate credit to Infactory, provide a link to the license, and indicate if changes were made.
|
| 142 |
+
- **Non-Commercial** — You may not use the material for commercial purposes without a separate commercial license from Infactory.
|
| 143 |
+
|
| 144 |
+
**Commercial licensing:** For commercial use, contact [hello@infactory.ai](mailto:hello@infactory.ai).
|
| 145 |
+
|
| 146 |
+
## Citation
|
| 147 |
+
|
| 148 |
+
```bibtex
|
| 149 |
+
@dataset{camera_detection_2026,
|
| 150 |
+
title={Soccer Camera Detection Dataset},
|
| 151 |
+
author={Constantinou, Valentino and Kanalakis, John},
|
| 152 |
+
year={2026},
|
| 153 |
+
publisher={Infactory},
|
| 154 |
+
url={https://huggingface.co/datasets/infactory-ai/camera-detection},
|
| 155 |
+
note={Per-frame camera characterization: 9-class shot scale (CineScale-aligned), 5-class camera angle (CineScale2-aligned)}
|
| 156 |
+
}
|
| 157 |
+
```
|
data/frames/0c2857fc-f97e-4301-80d7-63507a1303a7_frame_000210.jpg
ADDED
|
Git LFS Details
|
data/frames/21f4f832-1d99-4647-8973-1eaec52f8353_frame_000165.jpg
ADDED
|
Git LFS Details
|
data/frames/21f4f832-1d99-4647-8973-1eaec52f8353_frame_000615.jpg
ADDED
|
Git LFS Details
|
data/frames/44eb7456-67b1-44d6-bed2-c9ea8626b4f8_frame_000180.jpg
ADDED
|
Git LFS Details
|
data/frames/44eb7456-67b1-44d6-bed2-c9ea8626b4f8_frame_000750.jpg
ADDED
|
Git LFS Details
|
data/frames/623686ca-50c6-4c6b-8801-8e484ff033d3_frame_000000.jpg
ADDED
|
Git LFS Details
|
data/frames/623686ca-50c6-4c6b-8801-8e484ff033d3_frame_000360.jpg
ADDED
|
Git LFS Details
|
data/frames/623686ca-50c6-4c6b-8801-8e484ff033d3_frame_001095.jpg
ADDED
|
Git LFS Details
|
data/frames/a1884fe4-fb6e-439f-8b04-381f12ecd884_frame_000030.jpg
ADDED
|
Git LFS Details
|
data/frames/a1884fe4-fb6e-439f-8b04-381f12ecd884_frame_000150.jpg
ADDED
|
Git LFS Details
|
data/frames/a1884fe4-fb6e-439f-8b04-381f12ecd884_frame_000420.jpg
ADDED
|
Git LFS Details
|
data/frames/a1884fe4-fb6e-439f-8b04-381f12ecd884_frame_000540.jpg
ADDED
|
Git LFS Details
|
data/frames/a1884fe4-fb6e-439f-8b04-381f12ecd884_frame_000795.jpg
ADDED
|
Git LFS Details
|
data/frames/a1884fe4-fb6e-439f-8b04-381f12ecd884_frame_001110.jpg
ADDED
|
Git LFS Details
|
data/frames/a1884fe4-fb6e-439f-8b04-381f12ecd884_frame_001305.jpg
ADDED
|
Git LFS Details
|
data/frames/bdfb7106-c2ba-4c16-a2e9-88ceff6ed3da_frame_000060.jpg
ADDED
|
Git LFS Details
|
data/frames/bdfb7106-c2ba-4c16-a2e9-88ceff6ed3da_frame_000300.jpg
ADDED
|
Git LFS Details
|
data/frames/bdfb7106-c2ba-4c16-a2e9-88ceff6ed3da_frame_000510.jpg
ADDED
|
Git LFS Details
|
data/frames/bdfb7106-c2ba-4c16-a2e9-88ceff6ed3da_frame_000855.jpg
ADDED
|
Git LFS Details
|
data/frames/c17e1a0a-dc98-435e-a195-e5176f14ae31_frame_000030.jpg
ADDED
|
Git LFS Details
|
data/frames/c17e1a0a-dc98-435e-a195-e5176f14ae31_frame_000150.jpg
ADDED
|
Git LFS Details
|
data/frames/c17e1a0a-dc98-435e-a195-e5176f14ae31_frame_000345.jpg
ADDED
|
Git LFS Details
|
data/frames/c17e1a0a-dc98-435e-a195-e5176f14ae31_frame_000420.jpg
ADDED
|
Git LFS Details
|
data/frames/c17e1a0a-dc98-435e-a195-e5176f14ae31_frame_000540.jpg
ADDED
|
Git LFS Details
|
data/frames/c17e1a0a-dc98-435e-a195-e5176f14ae31_frame_000795.jpg
ADDED
|
Git LFS Details
|
data/frames/c17e1a0a-dc98-435e-a195-e5176f14ae31_frame_001110.jpg
ADDED
|
Git LFS Details
|
data/frames/cc89d977-fd4f-4d0a-9a1e-d010a8f5b579_frame_000045.jpg
ADDED
|
Git LFS Details
|
data/frames/cc89d977-fd4f-4d0a-9a1e-d010a8f5b579_frame_000285.jpg
ADDED
|
Git LFS Details
|
data/frames/cc89d977-fd4f-4d0a-9a1e-d010a8f5b579_frame_000330.jpg
ADDED
|
Git LFS Details
|
data/frames/d485c6ac-dd01-455b-b6de-744550c4c216_frame_000000.jpg
ADDED
|
Git LFS Details
|
data/frames/d485c6ac-dd01-455b-b6de-744550c4c216_frame_000015.jpg
ADDED
|
Git LFS Details
|
data/frames/de7a01c2-c383-4ae3-a9c1-5d385ed33f60_frame_000045.jpg
ADDED
|
Git LFS Details
|
data/frames/de7a01c2-c383-4ae3-a9c1-5d385ed33f60_frame_000090.jpg
ADDED
|
Git LFS Details
|
data/frames/de7a01c2-c383-4ae3-a9c1-5d385ed33f60_frame_000480.jpg
ADDED
|
Git LFS Details
|
data/frames/de7a01c2-c383-4ae3-a9c1-5d385ed33f60_frame_000735.jpg
ADDED
|
Git LFS Details
|
data/frames/de7a01c2-c383-4ae3-a9c1-5d385ed33f60_frame_000870.jpg
ADDED
|
Git LFS Details
|
data/frames/de7a01c2-c383-4ae3-a9c1-5d385ed33f60_frame_001005.jpg
ADDED
|
Git LFS Details
|
data/frames/de7a01c2-c383-4ae3-a9c1-5d385ed33f60_frame_001365.jpg
ADDED
|
Git LFS Details
|
data/frames/de7a01c2-c383-4ae3-a9c1-5d385ed33f60_frame_001575.jpg
ADDED
|
Git LFS Details
|
data/frames/de7a01c2-c383-4ae3-a9c1-5d385ed33f60_frame_001830.jpg
ADDED
|
Git LFS Details
|
data/frames/de7a01c2-c383-4ae3-a9c1-5d385ed33f60_frame_001950.jpg
ADDED
|
Git LFS Details
|
dataset_info.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_name": "Soccer Camera Detection",
|
| 3 |
+
"version": "1.0.0",
|
| 4 |
+
"description": "Per-frame shot scale and camera angle annotations for broadcast soccer.",
|
| 5 |
+
"statistics": {
|
| 6 |
+
"total_frames": 650,
|
| 7 |
+
"total_clips": 10,
|
| 8 |
+
"shot_scale_distribution": {
|
| 9 |
+
"CU": 8,
|
| 10 |
+
"ECU": 6,
|
| 11 |
+
"ELS": 159,
|
| 12 |
+
"FS": 43,
|
| 13 |
+
"IS": 14,
|
| 14 |
+
"LS": 118,
|
| 15 |
+
"MCU": 50,
|
| 16 |
+
"MLS": 167,
|
| 17 |
+
"MS": 85
|
| 18 |
+
},
|
| 19 |
+
"camera_angle_distribution": {
|
| 20 |
+
"HIGH": 252,
|
| 21 |
+
"LOW": 29,
|
| 22 |
+
"NEU": 369
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
}
|
metadata.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
schema/annotation_schema.json
ADDED
|
@@ -0,0 +1,286 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
| 3 |
+
"$id": "https://infactory.ai/schemas/camera-detection/annotation/v1",
|
| 4 |
+
"title": "Camera Detection Frame Annotation",
|
| 5 |
+
"description": "Schema for per-frame annotations in the Infactory Camera Detection Dataset. Each record describes the camera characteristics of a single video frame across three orthogonal dimensions: shot scale, camera angle, and camera movement.",
|
| 6 |
+
"type": "object",
|
| 7 |
+
"required": [
|
| 8 |
+
"frame_id",
|
| 9 |
+
"source_video",
|
| 10 |
+
"frame_number",
|
| 11 |
+
"timestamp_sec",
|
| 12 |
+
"shot_scale",
|
| 13 |
+
"shot_scale_code",
|
| 14 |
+
"camera_angle",
|
| 15 |
+
"camera_movement",
|
| 16 |
+
"annotator",
|
| 17 |
+
"annotation_version"
|
| 18 |
+
],
|
| 19 |
+
"properties": {
|
| 20 |
+
"frame_id": {
|
| 21 |
+
"type": "string",
|
| 22 |
+
"format": "uuid",
|
| 23 |
+
"description": "Unique identifier for this annotated frame (UUID v4)."
|
| 24 |
+
},
|
| 25 |
+
"source_video": {
|
| 26 |
+
"type": "string",
|
| 27 |
+
"description": "Filename of the source video from which this frame was extracted.",
|
| 28 |
+
"pattern": "^.+\\.(mp4|avi|mov|mkv|webm)$"
|
| 29 |
+
},
|
| 30 |
+
"source_video_id": {
|
| 31 |
+
"type": "string",
|
| 32 |
+
"description": "Unique identifier for the source video, if available (e.g., UUID or dataset-specific ID)."
|
| 33 |
+
},
|
| 34 |
+
"frame_number": {
|
| 35 |
+
"type": "integer",
|
| 36 |
+
"minimum": 0,
|
| 37 |
+
"description": "Zero-indexed frame number within the source video."
|
| 38 |
+
},
|
| 39 |
+
"timestamp_sec": {
|
| 40 |
+
"type": "number",
|
| 41 |
+
"minimum": 0,
|
| 42 |
+
"description": "Timestamp of the frame in seconds from the start of the source video."
|
| 43 |
+
},
|
| 44 |
+
|
| 45 |
+
"shot_scale": {
|
| 46 |
+
"type": "string",
|
| 47 |
+
"enum": ["ECU", "CU", "MCU", "MS", "MLS", "LS", "ELS", "FS", "IS"],
|
| 48 |
+
"description": "Primary shot scale classification. See DEFINITIONS.md Section 1 for full definitions."
|
| 49 |
+
},
|
| 50 |
+
"shot_scale_code": {
|
| 51 |
+
"type": "integer",
|
| 52 |
+
"enum": [0, 1, 2, 3, 4, 5, 6, 7, 8],
|
| 53 |
+
"description": "Numeric code for shot scale. Codes 1-7 are ordinal (closest to farthest). 0=FS, 8=IS are non-ordinal."
|
| 54 |
+
},
|
| 55 |
+
"shot_scale_underlying": {
|
| 56 |
+
"type": ["string", "null"],
|
| 57 |
+
"enum": ["ECU", "CU", "MCU", "MS", "MLS", "LS", "ELS", null],
|
| 58 |
+
"description": "When shot_scale is 'FS' (Foreground Shot), this field captures the underlying shot scale of the primary subject behind the foreground element. Null for all other shot_scale values."
|
| 59 |
+
},
|
| 60 |
+
|
| 61 |
+
"camera_angle": {
|
| 62 |
+
"type": "string",
|
| 63 |
+
"enum": ["OVH", "HIGH", "NEU", "LOW", "DUTCH"],
|
| 64 |
+
"description": "Camera angle classification. See DEFINITIONS.md Section 2 for full definitions."
|
| 65 |
+
},
|
| 66 |
+
"camera_angle_vertical_tendency": {
|
| 67 |
+
"type": ["string", "null"],
|
| 68 |
+
"enum": ["OVH", "HIGH", "NEU", "LOW", null],
|
| 69 |
+
"description": "When camera_angle is 'DUTCH', this optional field captures the underlying vertical tendency. Null when camera_angle is not DUTCH."
|
| 70 |
+
},
|
| 71 |
+
|
| 72 |
+
"camera_movement": {
|
| 73 |
+
"type": "string",
|
| 74 |
+
"enum": ["STATIC", "PAN", "TILT", "TRACK", "ZOOM_IN", "ZOOM_OUT", "HANDHELD", "CRANE", "AERIAL"],
|
| 75 |
+
"description": "Camera movement classification based on temporal context around this frame. See DEFINITIONS.md Section 3 for full definitions."
|
| 76 |
+
},
|
| 77 |
+
|
| 78 |
+
"subject_type": {
|
| 79 |
+
"type": "string",
|
| 80 |
+
"enum": ["person", "group", "field_of_play", "object", "graphic", "crowd", "venue", "mixed"],
|
| 81 |
+
"description": "What the primary subject of the frame is. See DEFINITIONS.md Section 4.2."
|
| 82 |
+
},
|
| 83 |
+
"subject_count": {
|
| 84 |
+
"type": ["integer", "null"],
|
| 85 |
+
"minimum": 0,
|
| 86 |
+
"description": "Number of distinct subjects visible when subject_type is 'person' or 'group'. Null when not applicable."
|
| 87 |
+
},
|
| 88 |
+
|
| 89 |
+
"camera_position": {
|
| 90 |
+
"type": ["string", "null"],
|
| 91 |
+
"enum": [
|
| 92 |
+
"main_center", "main_left", "main_right",
|
| 93 |
+
"behind_goal", "goal_line_tech", "spider_cam",
|
| 94 |
+
"sideline", "corner", "inside_goal",
|
| 95 |
+
"aerial", "tunnel", "studio", "other", null
|
| 96 |
+
],
|
| 97 |
+
"description": "Physical camera position in the venue. Primarily for sports broadcast content. Null when unknown or not applicable. See DEFINITIONS.md Section 4.1."
|
| 98 |
+
},
|
| 99 |
+
|
| 100 |
+
"transition_context": {
|
| 101 |
+
"type": "string",
|
| 102 |
+
"enum": ["none", "hard_cut", "dissolve", "wipe", "fade_black", "logo_transition"],
|
| 103 |
+
"default": "none",
|
| 104 |
+
"description": "How this frame relates to surrounding editorial transitions. See DEFINITIONS.md Section 4.3."
|
| 105 |
+
},
|
| 106 |
+
|
| 107 |
+
"safe_area": {
|
| 108 |
+
"type": ["object", "null"],
|
| 109 |
+
"description": "SMPTE ST 2046-1 safe area compliance. Null when not evaluated.",
|
| 110 |
+
"properties": {
|
| 111 |
+
"action_safe": {
|
| 112 |
+
"type": "boolean",
|
| 113 |
+
"description": "Subject's key features fall within the Action-Safe zone (inner 93% of frame per SMPTE ST 2046-1)."
|
| 114 |
+
},
|
| 115 |
+
"title_safe": {
|
| 116 |
+
"type": "boolean",
|
| 117 |
+
"description": "Subject's key features fall within the Title-Safe zone (inner 90% of frame per SMPTE ST 2046-1)."
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
"required": ["action_safe", "title_safe"]
|
| 121 |
+
},
|
| 122 |
+
|
| 123 |
+
"technical": {
|
| 124 |
+
"type": "object",
|
| 125 |
+
"description": "Technical metadata about the source frame.",
|
| 126 |
+
"properties": {
|
| 127 |
+
"resolution_width": {
|
| 128 |
+
"type": "integer",
|
| 129 |
+
"minimum": 1,
|
| 130 |
+
"description": "Frame width in pixels."
|
| 131 |
+
},
|
| 132 |
+
"resolution_height": {
|
| 133 |
+
"type": "integer",
|
| 134 |
+
"minimum": 1,
|
| 135 |
+
"description": "Frame height in pixels."
|
| 136 |
+
},
|
| 137 |
+
"frame_rate": {
|
| 138 |
+
"type": "number",
|
| 139 |
+
"minimum": 0,
|
| 140 |
+
"description": "Source video frame rate in frames per second."
|
| 141 |
+
},
|
| 142 |
+
"aspect_ratio": {
|
| 143 |
+
"type": "string",
|
| 144 |
+
"description": "Display aspect ratio (e.g., '16:9', '4:3', '21:9')."
|
| 145 |
+
},
|
| 146 |
+
"codec": {
|
| 147 |
+
"type": ["string", "null"],
|
| 148 |
+
"description": "Video codec (e.g., 'H.264', 'H.265', 'VP9')."
|
| 149 |
+
},
|
| 150 |
+
"color_space": {
|
| 151 |
+
"type": ["string", "null"],
|
| 152 |
+
"description": "Color sampling format (e.g., '4:2:0', '4:2:2', '4:4:4')."
|
| 153 |
+
},
|
| 154 |
+
"bit_depth": {
|
| 155 |
+
"type": ["integer", "null"],
|
| 156 |
+
"description": "Bit depth per channel (e.g., 8, 10, 12)."
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
"required": ["resolution_width", "resolution_height", "frame_rate"]
|
| 160 |
+
},
|
| 161 |
+
|
| 162 |
+
"annotator": {
|
| 163 |
+
"type": "string",
|
| 164 |
+
"description": "Identifier of the annotator or model that produced this annotation (e.g., 'human_annotator_01', 'model_v1.0', 'gemini_2.0_flash')."
|
| 165 |
+
},
|
| 166 |
+
"annotation_version": {
|
| 167 |
+
"type": "string",
|
| 168 |
+
"description": "Version of the annotation schema used (e.g., '1.0.0').",
|
| 169 |
+
"pattern": "^\\d+\\.\\d+\\.\\d+$"
|
| 170 |
+
},
|
| 171 |
+
"confidence": {
|
| 172 |
+
"type": ["number", "null"],
|
| 173 |
+
"minimum": 0.0,
|
| 174 |
+
"maximum": 1.0,
|
| 175 |
+
"description": "Model confidence score for the annotation. Null for human annotations. Range [0.0, 1.0]."
|
| 176 |
+
},
|
| 177 |
+
"human_verified": {
|
| 178 |
+
"type": "boolean",
|
| 179 |
+
"default": false,
|
| 180 |
+
"description": "Whether this annotation has been verified by a human reviewer."
|
| 181 |
+
},
|
| 182 |
+
"verification_annotator": {
|
| 183 |
+
"type": ["string", "null"],
|
| 184 |
+
"description": "Identifier of the human who verified this annotation. Null if not yet verified."
|
| 185 |
+
},
|
| 186 |
+
|
| 187 |
+
"notes": {
|
| 188 |
+
"type": ["string", "null"],
|
| 189 |
+
"description": "Free-text annotator notes for edge cases or ambiguous frames."
|
| 190 |
+
},
|
| 191 |
+
|
| 192 |
+
"domain": {
|
| 193 |
+
"type": "string",
|
| 194 |
+
"enum": ["sports_broadcast", "news_broadcast", "cinema", "documentary", "user_generated", "other"],
|
| 195 |
+
"description": "Content domain of the source material."
|
| 196 |
+
},
|
| 197 |
+
"sport_type": {
|
| 198 |
+
"type": ["string", "null"],
|
| 199 |
+
"description": "Specific sport, when domain is 'sports_broadcast' (e.g., 'soccer', 'basketball', 'tennis'). Null otherwise."
|
| 200 |
+
}
|
| 201 |
+
},
|
| 202 |
+
"additionalProperties": false,
|
| 203 |
+
|
| 204 |
+
"if": {
|
| 205 |
+
"properties": { "shot_scale": { "const": "FS" } }
|
| 206 |
+
},
|
| 207 |
+
"then": {
|
| 208 |
+
"required": ["shot_scale_underlying"]
|
| 209 |
+
},
|
| 210 |
+
|
| 211 |
+
"examples": [
|
| 212 |
+
{
|
| 213 |
+
"frame_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
| 214 |
+
"source_video": "GA_ITS_MSA_20241201_JUV_NAP_SIS2.mp4",
|
| 215 |
+
"source_video_id": "b0558318-3605-4d54-9930-41c77fd4b20a",
|
| 216 |
+
"frame_number": 1234,
|
| 217 |
+
"timestamp_sec": 41.13,
|
| 218 |
+
"shot_scale": "MCU",
|
| 219 |
+
"shot_scale_code": 3,
|
| 220 |
+
"shot_scale_underlying": null,
|
| 221 |
+
"camera_angle": "NEU",
|
| 222 |
+
"camera_angle_vertical_tendency": null,
|
| 223 |
+
"camera_movement": "STATIC",
|
| 224 |
+
"subject_type": "person",
|
| 225 |
+
"subject_count": 1,
|
| 226 |
+
"camera_position": "sideline",
|
| 227 |
+
"transition_context": "none",
|
| 228 |
+
"safe_area": {
|
| 229 |
+
"action_safe": true,
|
| 230 |
+
"title_safe": true
|
| 231 |
+
},
|
| 232 |
+
"technical": {
|
| 233 |
+
"resolution_width": 1920,
|
| 234 |
+
"resolution_height": 1080,
|
| 235 |
+
"frame_rate": 25.0,
|
| 236 |
+
"aspect_ratio": "16:9",
|
| 237 |
+
"codec": "H.264",
|
| 238 |
+
"color_space": "4:2:0",
|
| 239 |
+
"bit_depth": 8
|
| 240 |
+
},
|
| 241 |
+
"annotator": "model_v1.0",
|
| 242 |
+
"annotation_version": "1.0.0",
|
| 243 |
+
"confidence": 0.94,
|
| 244 |
+
"human_verified": false,
|
| 245 |
+
"verification_annotator": null,
|
| 246 |
+
"notes": null,
|
| 247 |
+
"domain": "sports_broadcast",
|
| 248 |
+
"sport_type": "soccer"
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"frame_id": "f9e8d7c6-b5a4-3210-fedc-ba9876543210",
|
| 252 |
+
"source_video": "GA_ITS_MSA_20241201_JUV_NAP_SIS2.mp4",
|
| 253 |
+
"source_video_id": "b0558318-3605-4d54-9930-41c77fd4b20a",
|
| 254 |
+
"frame_number": 5678,
|
| 255 |
+
"timestamp_sec": 189.27,
|
| 256 |
+
"shot_scale": "ELS",
|
| 257 |
+
"shot_scale_code": 7,
|
| 258 |
+
"shot_scale_underlying": null,
|
| 259 |
+
"camera_angle": "HIGH",
|
| 260 |
+
"camera_angle_vertical_tendency": null,
|
| 261 |
+
"camera_movement": "PAN",
|
| 262 |
+
"subject_type": "field_of_play",
|
| 263 |
+
"subject_count": null,
|
| 264 |
+
"camera_position": "main_center",
|
| 265 |
+
"transition_context": "hard_cut",
|
| 266 |
+
"safe_area": null,
|
| 267 |
+
"technical": {
|
| 268 |
+
"resolution_width": 1920,
|
| 269 |
+
"resolution_height": 1080,
|
| 270 |
+
"frame_rate": 25.0,
|
| 271 |
+
"aspect_ratio": "16:9",
|
| 272 |
+
"codec": "H.264",
|
| 273 |
+
"color_space": "4:2:0",
|
| 274 |
+
"bit_depth": 8
|
| 275 |
+
},
|
| 276 |
+
"annotator": "model_v1.0",
|
| 277 |
+
"annotation_version": "1.0.0",
|
| 278 |
+
"confidence": 0.87,
|
| 279 |
+
"human_verified": true,
|
| 280 |
+
"verification_annotator": "human_annotator_01",
|
| 281 |
+
"notes": "Main broadcast camera following open play left to right.",
|
| 282 |
+
"domain": "sports_broadcast",
|
| 283 |
+
"sport_type": "soccer"
|
| 284 |
+
}
|
| 285 |
+
]
|
| 286 |
+
}
|
source_mapping.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"37a98e4f-7018-49f2-b321-2ced60453e20": "0c2857fc-f97e-4301-80d7-63507a1303a7",
|
| 3 |
+
"0c984110-de7f-4e71-97c5-1f9aaf062e7e": "d485c6ac-dd01-455b-b6de-744550c4c216",
|
| 4 |
+
"20d8344f-84a8-4564-b575-3ed913cf7346": "c17e1a0a-dc98-435e-a195-e5176f14ae31",
|
| 5 |
+
"4e0be653-33bd-4bb1-b29a-372832586c88": "21f4f832-1d99-4647-8973-1eaec52f8353",
|
| 6 |
+
"8c169226-aa86-47b8-a900-c75944fe3ef6": "cc89d977-fd4f-4d0a-9a1e-d010a8f5b579",
|
| 7 |
+
"4d24650f-c7d0-47b0-a8bc-de20d2d0c146": "bdfb7106-c2ba-4c16-a2e9-88ceff6ed3da",
|
| 8 |
+
"9168f102-40b9-41a2-8e9c-982de6099ee6": "a1884fe4-fb6e-439f-8b04-381f12ecd884",
|
| 9 |
+
"604cb77f-7183-4950-88b3-52fe74b9108a": "44eb7456-67b1-44d6-bed2-c9ea8626b4f8",
|
| 10 |
+
"4fad4868-934e-473b-a74a-ad0191a6777f": "de7a01c2-c383-4ae3-a9c1-5d385ed33f60",
|
| 11 |
+
"6708badd-c675-475d-a05a-ca69925e5073": "623686ca-50c6-4c6b-8801-8e484ff033d3"
|
| 12 |
+
}
|
taxonomy/camera_angle.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "https://infactory.ai/schemas/taxonomy/v1",
|
| 3 |
+
"taxonomy_name": "camera_angle",
|
| 4 |
+
"taxonomy_version": "1.0.0",
|
| 5 |
+
"description": "Camera angle classification based on the vertical orientation of the camera's optical axis relative to the subject. Determines whether the camera looks down, across, or up at the subject.",
|
| 6 |
+
"primary_source": "CineScale2 (Savardi et al., 2023)",
|
| 7 |
+
"num_classes": 5,
|
| 8 |
+
"classes": [
|
| 9 |
+
{
|
| 10 |
+
"code": "OVH",
|
| 11 |
+
"label": "overhead",
|
| 12 |
+
"display_name": "Overhead",
|
| 13 |
+
"definition": "Camera looks nearly straight down on the subject, approaching perpendicular to the ground plane. Angle relative to ground exceeds approximately 70 degrees.",
|
| 14 |
+
"psychological_effect": "Omniscience, detachment, tactical overview, vulnerability of subject.",
|
| 15 |
+
"broadcast_frequency": "rare",
|
| 16 |
+
"typical_platforms": ["spider_cam", "drone", "stadium_roof_cam"]
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"code": "HIGH",
|
| 20 |
+
"label": "high_angle",
|
| 21 |
+
"display_name": "High Angle",
|
| 22 |
+
"definition": "Camera is above subject's eye level and angled downward. Subject is recognizable from a front or side perspective (not purely top-down). Horizon line typically in the upper half of frame.",
|
| 23 |
+
"psychological_effect": "Diminishment, vulnerability, overview, context.",
|
| 24 |
+
"broadcast_frequency": "very_common",
|
| 25 |
+
"typical_platforms": ["main_broadcast_camera", "gantry_camera", "upper_tier"]
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"code": "NEU",
|
| 29 |
+
"label": "neutral",
|
| 30 |
+
"display_name": "Neutral / Eye Level",
|
| 31 |
+
"definition": "Camera at approximately the same height as the subject's eyes or center of mass. Optical axis roughly horizontal (within ±10 degrees). The psychologically 'transparent' default angle.",
|
| 32 |
+
"psychological_effect": "Equality, naturalism, objectivity, conversational rapport.",
|
| 33 |
+
"broadcast_frequency": "very_common",
|
| 34 |
+
"typical_platforms": ["pitch_side_camera", "interview_camera", "tunnel_camera"]
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"code": "LOW",
|
| 38 |
+
"label": "low_angle",
|
| 39 |
+
"display_name": "Low Angle",
|
| 40 |
+
"definition": "Camera is below subject's eye level and angled upward. Subject framed against sky, ceiling, or elevated background. Horizon line typically in the lower third of frame.",
|
| 41 |
+
"psychological_effect": "Power, dominance, heroism, dramatic emphasis.",
|
| 42 |
+
"broadcast_frequency": "common",
|
| 43 |
+
"typical_platforms": ["pitch_level_camera", "ground_camera", "behind_goal_low"]
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"code": "DUTCH",
|
| 47 |
+
"label": "dutch_angle",
|
| 48 |
+
"display_name": "Dutch Angle",
|
| 49 |
+
"definition": "Camera rotated along its longitudinal (roll) axis, creating a visibly tilted horizon. A deliberate compositional choice for disorientation or dynamism, not the result of an unsteady camera.",
|
| 50 |
+
"psychological_effect": "Unease, disorientation, tension, stylistic emphasis.",
|
| 51 |
+
"broadcast_frequency": "very_rare",
|
| 52 |
+
"typical_platforms": ["specialty_camera", "replay_camera"]
|
| 53 |
+
}
|
| 54 |
+
],
|
| 55 |
+
"default_class": "NEU",
|
| 56 |
+
"ordering": "OVH → HIGH → NEU → LOW form a vertical axis. DUTCH is orthogonal (roll axis) and can co-occur with any vertical angle.",
|
| 57 |
+
"notes": "Minor deviations from horizontal (±10 degrees) should be classified as NEU. Only label HIGH or LOW when the departure from horizontal is noticeable and intentional."
|
| 58 |
+
}
|
taxonomy/mappings.json
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "https://infactory.ai/schemas/taxonomy/v1",
|
| 3 |
+
"mapping_version": "1.0.0",
|
| 4 |
+
"description": "Cross-dataset label mappings between the Infactory Camera Detection taxonomy and major published datasets. Enables downstream researchers to re-bin labels for direct comparison with existing benchmarks.",
|
| 5 |
+
"shot_scale_mappings": {
|
| 6 |
+
"to_movieshots_5class": {
|
| 7 |
+
"target_dataset": "MovieShots (Rao et al., ECCV 2020)",
|
| 8 |
+
"target_classes": 5,
|
| 9 |
+
"citation": "rao2020unified",
|
| 10 |
+
"mapping": {
|
| 11 |
+
"ECU": {"target_label": "ECS", "target_code": 5, "target_display": "Extreme Close-up Shot"},
|
| 12 |
+
"CU": {"target_label": "CS", "target_code": 4, "target_display": "Close-up Shot"},
|
| 13 |
+
"MCU": {"target_label": "CS", "target_code": 4, "target_display": "Close-up Shot", "note": "MovieShots collapses MCU into CS. Information loss: MCU (the BBC interview standard) is not distinguishable from CU in the 5-class system."},
|
| 14 |
+
"MS": {"target_label": "MS", "target_code": 3, "target_display": "Medium Shot"},
|
| 15 |
+
"MLS": {"target_label": "MS", "target_code": 3, "target_display": "Medium Shot", "note": "MovieShots collapses MLS into MS. Information loss: the 'cowboy shot' is not distinguishable from waist-up framing."},
|
| 16 |
+
"LS": {"target_label": "FS", "target_code": 2, "target_display": "Full Shot"},
|
| 17 |
+
"ELS": {"target_label": "LS", "target_code": 1, "target_display": "Long Shot", "note": "Terminology shift: MovieShots 'LS' corresponds to our 'ELS'. MovieShots 'FS' corresponds to our 'LS'."},
|
| 18 |
+
"FS": {"target_label": null, "target_code": null, "target_display": null, "note": "Foreground Shot has no equivalent in MovieShots. Map by underlying_scale if available."},
|
| 19 |
+
"IS": {"target_label": null, "target_code": null, "target_display": null, "note": "Insert Shot has no equivalent in MovieShots. Exclude from MovieShots evaluation."}
|
| 20 |
+
},
|
| 21 |
+
"reverse_mapping_notes": "MovieShots → Infactory is ambiguous for CS (could be CU or MCU) and MS (could be MS or MLS). When reverse-mapping, default to the finer-grained class closer to the median of the range: CS → CU, MS → MS."
|
| 22 |
+
},
|
| 23 |
+
"to_cinescale_9class": {
|
| 24 |
+
"target_dataset": "CineScale (Savardi et al., 2018; Benini et al., 2021)",
|
| 25 |
+
"target_classes": 9,
|
| 26 |
+
"citation": "SSM18",
|
| 27 |
+
"mapping": {
|
| 28 |
+
"ECU": {"target_label": "ECU", "target_code": 1, "target_display": "Extreme Close Up"},
|
| 29 |
+
"CU": {"target_label": "CU", "target_code": 2, "target_display": "Close Up"},
|
| 30 |
+
"MCU": {"target_label": "MCU", "target_code": 3, "target_display": "Medium Close Up"},
|
| 31 |
+
"MS": {"target_label": "MS", "target_code": 4, "target_display": "Medium Shot"},
|
| 32 |
+
"MLS": {"target_label": "MLS", "target_code": 5, "target_display": "Medium Long Shot"},
|
| 33 |
+
"LS": {"target_label": "LS", "target_code": 6, "target_display": "Long Shot"},
|
| 34 |
+
"ELS": {"target_label": "ELS", "target_code": 7, "target_display": "Extreme Long Shot"},
|
| 35 |
+
"FS": {"target_label": "FS", "target_code": 0, "target_display": "Foreground Shot"},
|
| 36 |
+
"IS": {"target_label": "IS", "target_code": 8, "target_display": "Insert Shots"}
|
| 37 |
+
},
|
| 38 |
+
"reverse_mapping_notes": "1:1 mapping. CineScale and Infactory taxonomies are directly compatible."
|
| 39 |
+
},
|
| 40 |
+
"to_bbc_basic_3class": {
|
| 41 |
+
"target_dataset": "BBC Basic Shot Types (BBC Bitesize / BBC Academy)",
|
| 42 |
+
"target_classes": 3,
|
| 43 |
+
"citation": "bbc_bitesize",
|
| 44 |
+
"mapping": {
|
| 45 |
+
"ECU": {"target_label": "close_up", "target_display": "Close-Up"},
|
| 46 |
+
"CU": {"target_label": "close_up", "target_display": "Close-Up"},
|
| 47 |
+
"MCU": {"target_label": "close_up", "target_display": "Close-Up"},
|
| 48 |
+
"MS": {"target_label": "medium_shot", "target_display": "Medium Shot"},
|
| 49 |
+
"MLS": {"target_label": "medium_shot", "target_display": "Medium Shot"},
|
| 50 |
+
"LS": {"target_label": "long_shot", "target_display": "Long Shot / Wide Shot"},
|
| 51 |
+
"ELS": {"target_label": "long_shot", "target_display": "Long Shot / Wide Shot"},
|
| 52 |
+
"FS": {"target_label": null, "target_display": null, "note": "Map by underlying_scale."},
|
| 53 |
+
"IS": {"target_label": null, "target_display": null, "note": "Not applicable in BBC basic taxonomy."}
|
| 54 |
+
},
|
| 55 |
+
"reverse_mapping_notes": "BBC basic → Infactory is highly ambiguous. close_up could be ECU, CU, or MCU. medium_shot could be MS or MLS. long_shot could be LS or ELS."
|
| 56 |
+
},
|
| 57 |
+
"to_soccernet_13class": {
|
| 58 |
+
"target_dataset": "SoccerNet-v2 Camera Shot Segmentation (Deliège et al., CVPR 2021)",
|
| 59 |
+
"target_classes": 13,
|
| 60 |
+
"citation": "soccernet_v2",
|
| 61 |
+
"mapping_type": "partial",
|
| 62 |
+
"notes": "SoccerNet classifies by CAMERA POSITION (where the camera is physically located), not by SHOT SCALE (how much of the subject is visible). These are orthogonal dimensions. Direct label mapping is not meaningful. Instead, SoccerNet camera positions can be used as the 'camera_position' metadata field in our schema.",
|
| 63 |
+
"position_to_our_metadata": {
|
| 64 |
+
"Main camera center": "main_center",
|
| 65 |
+
"Close-up player or field referee": "sideline",
|
| 66 |
+
"Main camera left": "main_left",
|
| 67 |
+
"Main camera right": "main_right",
|
| 68 |
+
"Goal line technology camera": "goal_line_tech",
|
| 69 |
+
"Main behind the goal": "behind_goal",
|
| 70 |
+
"Spider camera": "spider_cam",
|
| 71 |
+
"Close-up side staff": "sideline",
|
| 72 |
+
"Close-up corner": "corner",
|
| 73 |
+
"Close-up behind the goal": "behind_goal",
|
| 74 |
+
"Inside the goal": "inside_goal",
|
| 75 |
+
"Public": "other",
|
| 76 |
+
"other": "other"
|
| 77 |
+
},
|
| 78 |
+
"typical_scale_correlations": {
|
| 79 |
+
"Main camera center": ["ELS", "LS"],
|
| 80 |
+
"Close-up player or field referee": ["CU", "MCU", "MS"],
|
| 81 |
+
"Spider camera": ["ELS", "LS"],
|
| 82 |
+
"Goal line technology camera": ["MS", "LS"],
|
| 83 |
+
"Inside the goal": ["LS", "ELS"]
|
| 84 |
+
}
|
| 85 |
+
}
|
| 86 |
+
},
|
| 87 |
+
"camera_movement_mappings": {
|
| 88 |
+
"to_movieshots_4class": {
|
| 89 |
+
"target_dataset": "MovieShots (Rao et al., ECCV 2020)",
|
| 90 |
+
"target_classes": 4,
|
| 91 |
+
"mapping": {
|
| 92 |
+
"STATIC": {"target_label": "Static", "target_display": "Static Shot"},
|
| 93 |
+
"PAN": {"target_label": "Motion", "target_display": "Motion Shot"},
|
| 94 |
+
"TILT": {"target_label": "Motion", "target_display": "Motion Shot"},
|
| 95 |
+
"TRACK": {"target_label": "Motion", "target_display": "Motion Shot"},
|
| 96 |
+
"ZOOM_IN": {"target_label": "Push", "target_display": "Push Shot"},
|
| 97 |
+
"ZOOM_OUT": {"target_label": "Pull", "target_display": "Pull Shot"},
|
| 98 |
+
"HANDHELD": {"target_label": "Motion", "target_display": "Motion Shot"},
|
| 99 |
+
"CRANE": {"target_label": "Motion", "target_display": "Motion Shot"},
|
| 100 |
+
"AERIAL": {"target_label": "Motion", "target_display": "Motion Shot"}
|
| 101 |
+
},
|
| 102 |
+
"reverse_mapping_notes": "MovieShots 'Motion' is highly ambiguous in reverse: could be PAN, TILT, TRACK, HANDHELD, CRANE, or AERIAL."
|
| 103 |
+
}
|
| 104 |
+
},
|
| 105 |
+
"camera_angle_mappings": {
|
| 106 |
+
"to_cinescale2_5class": {
|
| 107 |
+
"target_dataset": "CineScale2 (Savardi et al., 2023)",
|
| 108 |
+
"target_classes": 5,
|
| 109 |
+
"mapping": {
|
| 110 |
+
"OVH": {"target_label": "Overhead", "target_display": "Overhead"},
|
| 111 |
+
"HIGH": {"target_label": "High", "target_display": "High"},
|
| 112 |
+
"NEU": {"target_label": "Neutral", "target_display": "Neutral"},
|
| 113 |
+
"LOW": {"target_label": "Low", "target_display": "Low"},
|
| 114 |
+
"DUTCH": {"target_label": "Dutch", "target_display": "Dutch"}
|
| 115 |
+
},
|
| 116 |
+
"reverse_mapping_notes": "1:1 mapping. CineScale2 and Infactory angle taxonomies are directly compatible."
|
| 117 |
+
}
|
| 118 |
+
}
|
| 119 |
+
}
|
taxonomy/shot_scale.json
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "https://infactory.ai/schemas/taxonomy/v1",
|
| 3 |
+
"taxonomy_name": "shot_scale",
|
| 4 |
+
"taxonomy_version": "1.0.0",
|
| 5 |
+
"description": "Shot scale classification based on apparent distance between camera and primary subject, measured by visible anatomical landmarks when a human subject is present.",
|
| 6 |
+
"primary_source": "CineScale (Savardi et al., 2018; Benini et al., 2021)",
|
| 7 |
+
"num_classes": 9,
|
| 8 |
+
"num_primary_classes": 7,
|
| 9 |
+
"num_special_classes": 2,
|
| 10 |
+
"classes": [
|
| 11 |
+
{
|
| 12 |
+
"code": 0,
|
| 13 |
+
"abbreviation": "FS",
|
| 14 |
+
"label": "foreground_shot",
|
| 15 |
+
"display_name": "Foreground Shot",
|
| 16 |
+
"category": "special",
|
| 17 |
+
"definition": "Primary subject is partially occluded by a deliberate foreground element (e.g., over-the-shoulder framing, through-object composition).",
|
| 18 |
+
"body_anchor": null,
|
| 19 |
+
"body_anchor_description": "Not applicable — determined by the foreground compositional element, not body position.",
|
| 20 |
+
"requires_underlying_scale": true,
|
| 21 |
+
"has_human_subject": "optional"
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"code": 1,
|
| 25 |
+
"abbreviation": "ECU",
|
| 26 |
+
"label": "extreme_close_up",
|
| 27 |
+
"display_name": "Extreme Close-Up",
|
| 28 |
+
"category": "primary",
|
| 29 |
+
"definition": "A single anatomical feature or small object fills the frame: an eye, mouth, hand, or comparable isolated region. Less than the full face is visible.",
|
| 30 |
+
"body_anchor": "isolated_feature",
|
| 31 |
+
"body_anchor_description": "Single feature only: eye, ear, mouth, hand. The full face (hairline to chin) is NOT visible.",
|
| 32 |
+
"requires_underlying_scale": false,
|
| 33 |
+
"has_human_subject": "required_for_body_anchor"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"code": 2,
|
| 37 |
+
"abbreviation": "CU",
|
| 38 |
+
"label": "close_up",
|
| 39 |
+
"display_name": "Close-Up",
|
| 40 |
+
"category": "primary",
|
| 41 |
+
"definition": "Head and face fill the frame. Full facial structure visible from hairline to chin. Shoulders barely visible or not visible.",
|
| 42 |
+
"body_anchor": "neck",
|
| 43 |
+
"body_anchor_description": "Frame spans from top of head to base of neck. Shoulders may be marginally visible but do not constitute a meaningful portion of the frame.",
|
| 44 |
+
"requires_underlying_scale": false,
|
| 45 |
+
"has_human_subject": "required_for_body_anchor"
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"code": 3,
|
| 49 |
+
"abbreviation": "MCU",
|
| 50 |
+
"label": "medium_close_up",
|
| 51 |
+
"display_name": "Medium Close-Up",
|
| 52 |
+
"category": "primary",
|
| 53 |
+
"definition": "Head to mid-chest. The standard broadcast interview frame. Both shoulders clearly visible. Frame cuts above the nipple line.",
|
| 54 |
+
"body_anchor": "mid_chest",
|
| 55 |
+
"body_anchor_description": "Lower frame boundary at mid-chest, above the nipple line and below the collarbone. Both shoulders clearly visible. The 'BBC talking head' frame.",
|
| 56 |
+
"requires_underlying_scale": false,
|
| 57 |
+
"has_human_subject": "required_for_body_anchor"
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"code": 4,
|
| 61 |
+
"abbreviation": "MS",
|
| 62 |
+
"label": "medium_shot",
|
| 63 |
+
"display_name": "Medium Shot",
|
| 64 |
+
"category": "primary",
|
| 65 |
+
"definition": "Head to waist. Conversational distance. Facial expression, body language, and hand gestures all visible. Frame cuts at the belt line.",
|
| 66 |
+
"body_anchor": "waist",
|
| 67 |
+
"body_anchor_description": "Lower frame boundary at or near the waist (belt line). Arms visible to at least the elbow. Hands typically visible if at sides or gesturing.",
|
| 68 |
+
"requires_underlying_scale": false,
|
| 69 |
+
"has_human_subject": "required_for_body_anchor"
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"code": 5,
|
| 73 |
+
"abbreviation": "MLS",
|
| 74 |
+
"label": "medium_long_shot",
|
| 75 |
+
"display_name": "Medium Long Shot",
|
| 76 |
+
"category": "primary",
|
| 77 |
+
"definition": "Head to knees. Also called 'cowboy shot' or 'American shot'. Full torso and thighs visible, feet cropped.",
|
| 78 |
+
"body_anchor": "knees",
|
| 79 |
+
"body_anchor_description": "Lower frame boundary at or near the knees. Full torso and thighs visible. Feet and lower legs are cropped.",
|
| 80 |
+
"requires_underlying_scale": false,
|
| 81 |
+
"has_human_subject": "required_for_body_anchor"
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"code": 6,
|
| 85 |
+
"abbreviation": "LS",
|
| 86 |
+
"label": "long_shot",
|
| 87 |
+
"display_name": "Long Shot",
|
| 88 |
+
"category": "primary",
|
| 89 |
+
"definition": "Full body visible from head to feet. Subject is the clear focal point but setting provides significant context. Subject occupies roughly 1/3 to 2/3 of frame height.",
|
| 90 |
+
"body_anchor": "feet",
|
| 91 |
+
"body_anchor_description": "Entire body visible: head, torso, legs, and feet. Subject typically occupies between 1/3 and 2/3 of the frame height.",
|
| 92 |
+
"requires_underlying_scale": false,
|
| 93 |
+
"has_human_subject": "required_for_body_anchor"
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"code": 7,
|
| 97 |
+
"abbreviation": "ELS",
|
| 98 |
+
"label": "extreme_long_shot",
|
| 99 |
+
"display_name": "Extreme Long Shot",
|
| 100 |
+
"category": "primary",
|
| 101 |
+
"definition": "Environment dominates the frame. Subjects, if present, are small figures (typically less than 1/4 of frame height). The classic 'establishing shot'.",
|
| 102 |
+
"body_anchor": null,
|
| 103 |
+
"body_anchor_description": "Human subjects, if present, occupy a small fraction of frame height (typically <1/4). Individual facial features not discernible at native resolution.",
|
| 104 |
+
"requires_underlying_scale": false,
|
| 105 |
+
"has_human_subject": "optional"
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"code": 8,
|
| 109 |
+
"abbreviation": "IS",
|
| 110 |
+
"label": "insert_shot",
|
| 111 |
+
"display_name": "Insert Shot",
|
| 112 |
+
"category": "special",
|
| 113 |
+
"definition": "A non-human subject fills the frame: scoreboard, ball, graphic, tactical diagram, clock, trophy, replay indicator, or other object/information display.",
|
| 114 |
+
"body_anchor": null,
|
| 115 |
+
"body_anchor_description": "Not applicable — subject is non-human. If the subject is a human body part (hand, eye, foot), use ECU instead.",
|
| 116 |
+
"requires_underlying_scale": false,
|
| 117 |
+
"has_human_subject": "excluded"
|
| 118 |
+
}
|
| 119 |
+
],
|
| 120 |
+
"ordering": "Classes 1-7 form an ordinal scale from closest to farthest. Classes 0 (FS) and 8 (IS) are non-ordinal special classes.",
|
| 121 |
+
"default_class": null,
|
| 122 |
+
"unknown_class": null
|
| 123 |
+
}
|