Datasets:
Release DigitizerBench Full and Lite (083026)
Browse files
README.md
CHANGED
|
@@ -1,3 +1,87 @@
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
pretty_name: DigitizerBench
|
| 3 |
+
tags:
|
| 4 |
+
- benchmark
|
| 5 |
+
- plot-digitization
|
| 6 |
+
- scientific-figures
|
| 7 |
+
- synthetic
|
| 8 |
+
- computer-vision
|
| 9 |
+
size_categories:
|
| 10 |
+
- 1K<n<10K
|
| 11 |
---
|
| 12 |
+
|
| 13 |
+
# DigitizerBench
|
| 14 |
+
|
| 15 |
+
DigitizerBench measures how accurately a tool can recover numerical curves from raster line plots. Each PNG is paired with the original curve coordinates and the rendered tick positions, so you can evaluate curve recovery and axis calibration separately.
|
| 16 |
+
|
| 17 |
+
## Quick start
|
| 18 |
+
|
| 19 |
+
Choose **Lite** for a 60-image human-guided comparison or a quick pipeline check. Choose **Full** for automatic evaluation and analysis across rendering and signal conditions. Both downloads include their ground truth.
|
| 20 |
+
|
| 21 |
+
| Download | Images | Use |
|
| 22 |
+
| --- | ---: | --- |
|
| 23 |
+
| [Lite](https://huggingface.co/datasets/LinePilot/DigitizerBench/resolve/main/lite.zip) | 60 | The fixed, outcome-independent set used in the paper's human-guided comparison |
|
| 24 |
+
| [Full](https://huggingface.co/datasets/LinePilot/DigitizerBench/resolve/main/full.zip) | 2,980 | 2,500 core plots and 480 matched rerenderings for automatic evaluation |
|
| 25 |
+
|
| 26 |
+
Download and unpack Lite, then load a plot and its reference data:
|
| 27 |
+
|
| 28 |
+
```bash
|
| 29 |
+
python -m pip install huggingface_hub pandas pyarrow pillow
|
| 30 |
+
hf download LinePilot/DigitizerBench lite.zip --repo-type dataset --local-dir digitizerbench
|
| 31 |
+
python -m zipfile -e digitizerbench/lite.zip digitizerbench
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
```python
|
| 35 |
+
from pathlib import Path
|
| 36 |
+
|
| 37 |
+
import pandas as pd
|
| 38 |
+
from PIL import Image
|
| 39 |
+
|
| 40 |
+
root = Path("digitizerbench/lite")
|
| 41 |
+
manifest = pd.read_parquet(root / "manifest.parquet")
|
| 42 |
+
case = manifest.iloc[0]
|
| 43 |
+
image = Image.open(root / case["image_path"])
|
| 44 |
+
image_filter = [("image_id", "==", case["image_id"])]
|
| 45 |
+
curves = pd.read_parquet(root / "ground_truth.parquet", filters=image_filter)
|
| 46 |
+
ticks = pd.read_parquet(root / "tick_ground_truth.parquet", filters=image_filter)
|
| 47 |
+
|
| 48 |
+
image.show()
|
| 49 |
+
for line_id, points in curves.groupby("line_id"):
|
| 50 |
+
print(line_id, points.sort_values("sample_index")[["x", "y"]].head())
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
For Full, replace `lite.zip` and `digitizerbench/lite` with `full.zip` and `digitizerbench/full`.
|
| 54 |
+
|
| 55 |
+
## Files and ground truth
|
| 56 |
+
|
| 57 |
+
| File | Contents |
|
| 58 |
+
| --- | --- |
|
| 59 |
+
| `images/` | Input PNGs organized by renderer and plot type |
|
| 60 |
+
| `manifest.parquet` | One row per image. Join on `image_id` and resolve `image_path` relative to the extracted Full or Lite folder. Includes `base_id`, renderer, plot type, line count, factor settings and seeds. |
|
| 61 |
+
| `ground_truth.parquet` | One row per curve sample. Group by `image_id` and `line_id`, then order by `sample_index`. Use `x` and `y` as the reference in data coordinates. The remaining fields describe the signal, baseline, noise and stacked offsets. |
|
| 62 |
+
| `tick_ground_truth.parquet` | Visible ticks keyed by `image_id`, `axis` and `tick_index`. Includes the rendered label, numeric value and tick position in top-left-origin image pixels. |
|
| 63 |
+
| `factor_levels.json` | Factor definitions and levels |
|
| 64 |
+
| `design/` | Full only. Base configurations, orthogonal-panel assignments, bridge manifest and design summary. |
|
| 65 |
+
|
| 66 |
+
## Benchmark design and evaluation
|
| 67 |
+
|
| 68 |
+
The plots are synthetic. They span single, overlapping and stacked layouts rendered in Matplotlib, Plotly and Altair. Controlled factors include curve shape, baseline, noise, stroke width, color, DPI, blur, figure dimensions, tick styling and axis ranges. Full uses four strength-3 orthogonal-array panels. Each of the 60 Lite configurations has nine renderer × plot-type variants in Full, including its Lite image.
|
| 69 |
+
|
| 70 |
+
Run your digitizer on the PNGs, then join the recovered data to ground truth by image and match the recovered curves to the reference lines. For the paper's protocol, report failure-penalized capped normalized RMSE (FPC-NRMSE) alongside output success, trusted usability and points per line. FPC-NRMSE assigns unit loss to missing, unusable or catastrophically inaccurate output. See the paper and appendix for the matching and scoring rules.
|
| 71 |
+
|
| 72 |
+
Lite is nested within Full. For custom train/test partitions, keep all variants sharing a `base_id` together. Results characterize recovery on these controlled renders. Scanned pages, compression and real-world annotation styles require separate evaluation.
|
| 73 |
+
|
| 74 |
+
## Project and citation
|
| 75 |
+
|
| 76 |
+
[LinePilot website](https://rayana07.github.io/LinePilot/) · [GitHub and usage docs](https://github.com/RayanA07/LinePilot) · [Paper](https://arxiv.org/abs/2609.19377) · [Online appendix](https://github.com/RayanA07/LinePilot/blob/main/docs/assets/LinePilot_Online_Appendix.pdf) · [Issues](https://github.com/RayanA07/LinePilot/issues)
|
| 77 |
+
|
| 78 |
+
```bibtex
|
| 79 |
+
@article{ma2026linepilot,
|
| 80 |
+
title = {LinePilot Digitizer: Line-Plot Recovery with Manual and Automatic Calibration},
|
| 81 |
+
author = {Ma, Fengbo and Akhtar, Rayan and Joshi, Aakash H. and Li, Xiaoting and
|
| 82 |
+
Sun, Haijian and Xiang, Zhen and Chen, Xianyan and Zhao, Yiping},
|
| 83 |
+
journal = {arXiv preprint arXiv:2609.19377},
|
| 84 |
+
year = {2026},
|
| 85 |
+
doi = {10.48550/arXiv.2609.19377}
|
| 86 |
+
}
|
| 87 |
+
```
|
full.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:55f84ad3d88c61d946d93e850368919b9f0afd5016a723e4ce37562606c0fc88
|
| 3 |
+
size 749958209
|
lite.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2127fde88c7a1f9475f782c8e610a25c32df05c82fcdc39c5f2d199222e698ab
|
| 3 |
+
size 17094028
|