Add dataset card for SceneText50
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,3 +1,56 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- object-detection
|
| 5 |
+
tags:
|
| 6 |
+
- scene-text
|
| 7 |
+
- text-detection
|
| 8 |
+
- video
|
| 9 |
+
- multilingual
|
| 10 |
---
|
| 11 |
+
|
| 12 |
+
# SceneText50
|
| 13 |
+
|
| 14 |
+
SceneText50 is a diverse multilingual outdoor dataset introduced in the paper [Back-Tracking from Clarity: Self-Learning to See Text from Afar](https://huggingface.co/papers/2609.32477).
|
| 15 |
+
|
| 16 |
+
It consists of 50 outdoor ego-centric videos (~840 clips) from 17 countries, with quadrilateral text annotations. The annotations are for **evaluation**; the self-learning pipeline introduced in the paper needs no manual labels for training.
|
| 17 |
+
|
| 18 |
+
Code: https://github.com/trid2912/BackTrackingText
|
| 19 |
+
|
| 20 |
+
## Dataset structure
|
| 21 |
+
|
| 22 |
+
```text
|
| 23 |
+
tracking_data/
|
| 24 |
+
βββ 01/ 02/ ... 50/ # one folder per video
|
| 25 |
+
β βββ clip_10/ # a clip = a short frame sequence
|
| 26 |
+
β β βββ clip_10_0000.jpg
|
| 27 |
+
β β βββ clip_10_0001.jpg
|
| 28 |
+
β β βββ ...
|
| 29 |
+
β βββ clip_10_0000.txt # per-frame annotation (same basename as the frame)
|
| 30 |
+
β βββ clip_10_0001.txt
|
| 31 |
+
β βββ ...
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
Each annotation line is one text instance:
|
| 35 |
+
|
| 36 |
+
```text
|
| 37 |
+
instance_id x1 y1 x2 y2 x3 y3 x4 y4
|
| 38 |
+
```
|
| 39 |
+
|
| 40 |
+
`instance_id` is the track ID (consistent across frames of a clip) and the four `(x, y)` pairs are the clockwise quadrilateral corners.
|
| 41 |
+
|
| 42 |
+
## Sample usage
|
| 43 |
+
|
| 44 |
+
Download from Hugging Face:
|
| 45 |
+
|
| 46 |
+
```bash
|
| 47 |
+
# option 1 β huggingface-cli
|
| 48 |
+
pip install -U "huggingface_hub[cli]"
|
| 49 |
+
huggingface-cli download Tri1/SceneText50 --repo-type dataset --local-dir data/tracking_data
|
| 50 |
+
|
| 51 |
+
# option 2 β git + git-lfs
|
| 52 |
+
git lfs install
|
| 53 |
+
git clone https://huggingface.co/datasets/Tri1/SceneText50 data/tracking_data
|
| 54 |
+
```
|
| 55 |
+
|
| 56 |
+
Point `--image_root` at this `tracking_data` folder when running the tracker / pipeline.
|