Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,24 +1,56 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
- name:
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- image-to-text
|
| 5 |
+
pretty_name: Nameplates OCR
|
| 6 |
+
tags:
|
| 7 |
+
- ocr
|
| 8 |
+
- nameplates
|
| 9 |
+
- image-to-text
|
| 10 |
+
dataset_info:
|
| 11 |
+
features:
|
| 12 |
+
- name: image
|
| 13 |
+
dtype: image
|
| 14 |
+
- name: text
|
| 15 |
+
dtype: string
|
| 16 |
+
splits:
|
| 17 |
+
- name: train
|
| 18 |
+
num_bytes: 7272
|
| 19 |
+
num_examples: 24
|
| 20 |
+
- name: test
|
| 21 |
+
num_bytes: 7272
|
| 22 |
+
num_examples: 6
|
| 23 |
+
download_size: 0
|
| 24 |
+
dataset_size: 14544
|
| 25 |
+
configs:
|
| 26 |
+
- config_name: default
|
| 27 |
+
data_files:
|
| 28 |
+
- split: train
|
| 29 |
+
path: data/train-*
|
| 30 |
+
- split: test
|
| 31 |
+
path: data/test-*
|
| 32 |
+
---
|
| 33 |
+
# Nameplates OCR
|
| 34 |
+
|
| 35 |
+
Image-to-text dataset of nameplates, merged from local folders and/or Hugging
|
| 36 |
+
Face datasets and built with `create_dataset.py`. Text-less images were
|
| 37 |
+
auto-captioned with EasyOCR; sources with a text/metadata column use that text
|
| 38 |
+
(flattened to plain-text lines for consistency).
|
| 39 |
+
|
| 40 |
+
## Dataset structure
|
| 41 |
+
|
| 42 |
+
| Split | Images |
|
| 43 |
+
|-------|--------|
|
| 44 |
+
| train | 24 |
|
| 45 |
+
| test | 6 |
|
| 46 |
+
|
| 47 |
+
Each row: `{"image": <PIL.Image>, "text": "..."}`.
|
| 48 |
+
|
| 49 |
+
## Usage
|
| 50 |
+
|
| 51 |
+
```python
|
| 52 |
+
from datasets import load_dataset
|
| 53 |
+
|
| 54 |
+
dataset = load_dataset("darjja/nameplate_sample2")
|
| 55 |
+
print(dataset["train"][0])
|
| 56 |
+
```
|