File size: 2,774 Bytes
61f0186 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | ---
license: cc-by-4.0
pretty_name: QR-DN1.0 — Distorted and Noisy QR Codes
task_categories:
- image-to-image
- image-to-text
tags:
- qr-code
- denoising
- restoration
- barcode
size_categories:
- 1K<n<10K
configs:
- config_name: aligned
data_files:
- split: train
path: data/aligned/train*.parquet
- split: test
path: data/aligned/test*.parquet
- config_name: source_qr
data_files:
- split: train
path: data/source_qr/train*.parquet
- split: test
path: data/source_qr/test*.parquet
---
# QR-DN1.0 — Distorted and Noisy QRs
A **mirror** of QR-DN1.0 (Mendeley Data, DOI
[10.17632/t2bdr663ms.2](https://doi.org/10.17632/t2bdr663ms.2)), repackaged as
parquet with the five aligned image variants joined into single rows.
Released by its authors under **CC BY 4.0**, which is what makes this mirror
straightforwardly permitted with attribution.
## Configs
### `aligned` — 1,500 train / 750 test
Five variants of the same sample, one row each. The upstream directories were
verified to carry **identical stems**, set-equal across all five, so the join is
exact rather than approximate — no row is dropped or padded.
| column | upstream directory |
|---|---|
| `target` | `target/` |
| `target_quad` | `target quad/` |
| `extracted_one` | `extracted One/` |
| `extracted_quad` | `extracted Quad/` |
| `extracted_voted` | `extracted Voted/` |
### `source_qr` — 50 train / 25 test
The `QR/` directory: source codes named `ht1…htN`, on a naming scheme unrelated
to the aligned samples.
## An honest limit on this card
**The semantics of the five variants are not documented here**, because this is
a mirror and the packager did not establish which variant is input, which is
ground truth, or what "One", "Quad" and "Voted" denote as methods. The names are
preserved exactly as published so they can be matched against the paper. For the
authoritative description, go to the DOI. If you want a card that explains the
protocol, that should come from someone who has read the paper, not from the
directory listing.
## Usage
```python
from datasets import load_dataset
ds = load_dataset("devmandan/qr-dn1.0", "aligned", split="train")
row = ds[0]
row["target"], row["extracted_voted"] # PIL images, same sample
src = load_dataset("devmandan/qr-dn1.0", "source_qr", split="train")
```
## Citation
```bibtex
@misc{qrdn1_2021,
title = {QR-DN1.0: A new Distorted and Noisy QRs dataset},
author = {Monfared, Milad and Koochari, Abbas and Monshinmotlagh, Radin},
year = {2021},
publisher = {Mendeley Data},
version = {V2},
doi = {10.17632/t2bdr663ms.2}
}
```
Licence: CC BY 4.0 — <https://creativecommons.org/licenses/by/4.0/>
Please cite the authors above, not this mirror, when using the data.
|