darjja commited on
Commit
fe45183
·
verified ·
1 Parent(s): 74efee6

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +56 -24
README.md CHANGED
@@ -1,24 +1,56 @@
1
- ---
2
- dataset_info:
3
- features:
4
- - name: image
5
- dtype: image
6
- - name: text
7
- dtype: string
8
- splits:
9
- - name: train
10
- num_bytes: 336234
11
- num_examples: 24
12
- - name: test
13
- num_bytes: 96198
14
- num_examples: 6
15
- download_size: 434984
16
- dataset_size: 432432
17
- configs:
18
- - config_name: default
19
- data_files:
20
- - split: train
21
- path: data/train-*
22
- - split: test
23
- path: data/test-*
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
+ ```