Axis-Aligned Document Dewarping
Paper β’ 2507.15000 β’ Published
Official pretrained weights (.pkl & .onnx) and benchmark evaluation artifacts for "Axis-Aligned Document Dewarping" (Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 40, No. 12, pp. 9702β9710, Oral Presentation).
10.1609/aaai.v40i12.37933)pwd=j68u)All checkpoints use the UVDocnet backbone (num_filter=32, kernel_size=5, 8,003,463 parameters), taking (488, 712) RGB inputs and predicting (2, 45, 31) backward unwarping grids.
| File | Role | Size | SHA256 |
|---|---|---|---|
aadd_full.pkl |
Full AADD model trained with Axis-Aligned Loss ($\mathcal{L}_{\mathrm{AL}}$) | 32.14 MB | 4c1370302f312c2e7aea1c64186781e0629b0c1e44c4ba2ee3fce907f7cba60e |
aadd_wo_al.pkl |
Ablation baseline trained without $\mathcal{L}_{\mathrm{AL}}$ | 32.14 MB | 977b4c4bf6119cd90217f1f1ab07123d8cb2a022fd526b580e2e45801ee6f4ff |
uvdoc_pretrained.pkl |
Official UVDoc initialization weights | 32.16 MB | 7e90861b8a516eb4bc51f84bd889cb77275743d2d1d3ca8091951ec9f2b7da23 |
aadd_full.onnx |
2D-grid ONNX export of aadd_full.pkl (max_abs_diff=2.98e-7, Opset 17) |
31.60 MB | 4147438c382a5a97199dfb54e9fa4782d903c0f3840899a06c49ae001946ec1e |
aadd_wo_al.onnx |
2D-grid ONNX export of aadd_wo_al.pkl (max_abs_diff=2.98e-7, Opset 17) |
31.60 MB | 354e0f82239a151ff4e7c8a3a94e36bea81426a0afc1595335e88d5a6af3914d |
| Paper Setting | Checkpoint | AP Margins |
|---|---|---|
| Baseline (w/o AL, AP) | aadd_wo_al.pkl |
[] (--no-ap) |
| + AL only | aadd_full.pkl |
[] (--no-ap) |
| + AP only | aadd_wo_al.pkl |
DocUNet [0.06] Β· DIR300/DocReal [0.01, 0.03] Β· UVDoc [0.03] |
| Full (AL + AP) | aadd_full.pkl |
DocUNet [0.06] Β· DIR300/DocReal [0.01, 0.03] Β· UVDoc [0.03] |
results/)
See results/README.md for DocUNet (130 PNGs), UVDoc (50 PNGs), and per-image metric/OCR logs across DocUNet, DIR300, UVDoc, and DocReal.
# Using the repository downloader (with automatic SHA256 verification)
python scripts/download_models.py --files all
# Or via huggingface_hub
python -c "from huggingface_hub import hf_hub_download; print(hf_hub_download('Chao-Yun/AADD', 'aadd_full.pkl'))"
@inproceedings{wang2026aadd,
title = {Axis-Aligned Document Dewarping},
author = {Wang, Chaoyun and Shen, I-Chao and Igarashi, Takeo and Jiang, Caigui},
booktitle = {Proceedings of the AAAI Conference on Artificial Intelligence},
volume = {40},
number = {12},
pages = {9702--9710},
year = {2026},
doi = {10.1609/aaai.v40i12.37933},
url = {https://ojs.aaai.org/index.php/AAAI/article/view/37933}
}