devmandan commited on
Commit
b85ce5c
·
verified ·
1 Parent(s): 629a540

Initial upload: repackaged for HuggingFace with a full datacard

Browse files
README.md ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ pretty_name: Bodnár-Huawei Syn10k — synthetic + real barcode images with masks
4
+ task_categories:
5
+ - image-segmentation
6
+ - object-detection
7
+ tags:
8
+ - qr-code
9
+ - barcode
10
+ - segmentation
11
+ - synthetic
12
+ size_categories:
13
+ - 10K<n<100K
14
+ configs:
15
+ - config_name: warp2014
16
+ data_files:
17
+ - split: train
18
+ path: data/warp2014/train*.parquet
19
+ - config_name: huawei
20
+ data_files:
21
+ - split: train
22
+ path: data/huawei/train*.parquet
23
+ ---
24
+
25
+ # Bodnár-Huawei Syn10k
26
+
27
+ A **mirror** of the `syn10k_plus_huawei` barcode dataset from the Szeged group
28
+ (Bodnár, Grósz, Tóth), repackaged as parquet with each image joined to its
29
+ ground-truth mask in the same row.
30
+
31
+ Released under **CC BY 4.0**, so this mirror is permitted with attribution.
32
+
33
+ ## Configs
34
+
35
+ | config | rows | content | with mask |
36
+ |---|---:|---|---:|
37
+ | `warp2014` | 10,000 | synthetic warped barcode images | 10,000 |
38
+ | `huawei` | 98 | real photographs | 98 |
39
+
40
+ **Every image has its mask** — the pairing was verified by stem, and zero images
41
+ in either config are missing one.
42
+
43
+ ## Fields
44
+
45
+ | field | notes |
46
+ |---|---|
47
+ | `image` | the picture (JPEG) |
48
+ | `mask` | the ground-truth mask (PNG) |
49
+ | `file_name`, `stem` | original filename and its stem |
50
+ | `subset` | `warp2014` or `huawei` |
51
+ | `has_mask` | always true in this build; kept so the schema stays honest if a future revision has gaps |
52
+
53
+ ## Two notes on how to read this
54
+
55
+ **The split name is a container, not a protocol.** Both configs expose a single
56
+ split called `train` because HuggingFace requires a split name — it does **not**
57
+ encode the authors' intended train/test partition. `warp2014` is synthetic and
58
+ `huawei` is real photographs, which is the natural synthetic-train / real-test
59
+ arrangement, but this mirror does not assert that the authors used it that way.
60
+ Consult the source publication before reporting numbers as theirs.
61
+
62
+ **This is a barcode dataset, not a QR-only one.** It is included in a QR
63
+ collection because it is standard in the barcode-localisation literature and is
64
+ one of the few sets shipping pixel masks. Check the masks for what you need
65
+ rather than assuming every symbol is a QR code.
66
+
67
+ ## Usage
68
+
69
+ ```python
70
+ from datasets import load_dataset
71
+
72
+ syn = load_dataset("devmandan/syn10k-huawei-barcodes", "warp2014", split="train")
73
+ real = load_dataset("devmandan/syn10k-huawei-barcodes", "huawei", split="train")
74
+ syn[0]["image"], syn[0]["mask"] # PIL images, aligned
75
+ ```
76
+
77
+ ## Citation
78
+
79
+ Original source:
80
+ <https://www.inf.u-szeged.hu/~bodnaar/barcode_database/syn10k_plus_huawei.zip>
81
+
82
+ ```bibtex
83
+ @misc{bodnar_syn10k,
84
+ title = {Syn10k + Huawei barcode database},
85
+ author = {Bodn\'ar, P\'eter and Gr\'osz, Tam\'as and T\'oth, L\'aszl\'o},
86
+ note = {Synthetic and real barcode images with ground-truth masks},
87
+ url = {https://www.inf.u-szeged.hu/~bodnaar/barcode_database/}
88
+ }
89
+ ```
90
+
91
+ Licence: CC BY 4.0 — <https://creativecommons.org/licenses/by/4.0/>
92
+ Please cite the authors above, not this mirror.
data/huawei/train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:05cdcb513798df0af9d9d20918aa82b775f297ba09113e638c519d7159c3b93f
3
+ size 23643735
data/warp2014/train-00000-of-00010.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ccc21f2a38e3a1e5a77d4e339e4d27f501e98b8081d736a8b35921856df470b1
3
+ size 219622602
data/warp2014/train-00001-of-00010.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7c4b32fea9f91c99d51f941696f55d2d1003042304afdef4d72dd7f2de28743
3
+ size 216788934
data/warp2014/train-00002-of-00010.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:216c15545b8d4da7ddfb4cca368d25c71946bc60c5e37026b125d7c11a67a54f
3
+ size 210755623
data/warp2014/train-00003-of-00010.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28ad470b38366929a07455c762de00e7664c29aa4415a009d3b02a29601488d4
3
+ size 207113626
data/warp2014/train-00004-of-00010.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4de11581d46591fc11f83529eb87d7e77a1999d856bc716d5a81734e0632053b
3
+ size 204985302
data/warp2014/train-00005-of-00010.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dccfe591d727bbff865024193f3ca7c5ab7c8817498396824acfe692883014bd
3
+ size 203489692
data/warp2014/train-00006-of-00010.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c989ee4f9eeb19b663cf540cc59e24c3baa946fe84303fc4aa951bd3451804aa
3
+ size 202194939
data/warp2014/train-00007-of-00010.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f4d42c3c54d287dc97c8947b1373238550a64ec1b433cf57ef09d00622c5282
3
+ size 201231908
data/warp2014/train-00008-of-00010.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac6012f923fadb7fd831bdc6c3c73ff1fabf3a5fe834a139207d173cfde4ddbc
3
+ size 200334441
data/warp2014/train-00009-of-00010.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:05eedf192b912ae69ba64960eb3234388e99674a321885add7d29250fe3345f8
3
+ size 199574409