{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2609-15503","title":"SyntheticDoc: A Large Synthetic Dataset for Document Unwarping and Illumination Correction","arxiv_id":"2609.15503","date":"2026-09-14","proceeding":null,"authors":["Daniel Woortmann","Tanguy Magne","Olga Sorkine-Hornung"],"abstract":"Deep learning models have become the standard tool for document rectification and illumination correction, yet their performance is fundamentally bound by their training data. For nearly a decade, the community has heavily relied on Doc3D, a pioneering but increasingly limited document unwarping dataset in terms of scale and quality. To address this bottleneck, we introduce SyntheticDoc, a massive, high-quality dataset designed to push the boundaries of document unwarping. SyntheticDoc is composed of 1,000,000 high-resolution procedurally generated training samples, alongside extensive validation and test sets. Each sample is paired with rich, pixel-perfect annotations, including UV maps, normal maps, albedo and shading. To ensure physical accuracy and photorealism, the paper geometries are generated via a physics-based simulator and rendered using a path tracer. To demonstrate the benefit of our dataset, we train a simple baseline model on SyntheticDoc and report on its performance in comparison to state-of-the-art methods on both document unwarping and illumination correction tasks. Our dataset is available at https://igl.ethz.ch/projects/SyntheticDoc/ and the code used to generate it at https://github.com/tanguymagne/SyntheticDoc .","url_abs":"https://arxiv.org/abs/2609.15503","url_pdf":"https://arxiv.org/pdf/2609.15503","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2609.15503","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2609.15503"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/tanguymagne/SyntheticDoc","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":11},"by_repo_kind":{"found_in_text":{"samples":11,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"2c41be4b986191d0","entry":"bilinear_unwarping","repo":"tanguymagne/SyntheticDoc","repo_kind":"found_in_text","path":"training/unwarp.py","file_url":"https://github.com/tanguymagne/SyntheticDoc/blob/HEAD/training/unwarp.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2c41be4b986191d0"}},{"code_sha256_prefix":"9b21841ae76d90bb","entry":"bilinear_unwarping_from_numpy","repo":"tanguymagne/SyntheticDoc","repo_kind":"found_in_text","path":"training/unwarp.py","file_url":"https://github.com/tanguymagne/SyntheticDoc/blob/HEAD/training/unwarp.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9b21841ae76d90bb"}},{"code_sha256_prefix":"7719b3690410093e","entry":"conv3x3","repo":"tanguymagne/SyntheticDoc","repo_kind":"found_in_text","path":"training/model.py","file_url":"https://github.com/tanguymagne/SyntheticDoc/blob/HEAD/training/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7719b3690410093e"}},{"code_sha256_prefix":"2749bb26607435d5","entry":"decode_bm","repo":"tanguymagne/SyntheticDoc","repo_kind":"found_in_text","path":"training/dataset.py","file_url":"https://github.com/tanguymagne/SyntheticDoc/blob/HEAD/training/dataset.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2749bb26607435d5"}},{"code_sha256_prefix":"d4aa4b9ed92e4dff","entry":"dilated_conv","repo":"tanguymagne/SyntheticDoc","repo_kind":"found_in_text","path":"training/model.py","file_url":"https://github.com/tanguymagne/SyntheticDoc/blob/HEAD/training/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d4aa4b9ed92e4dff"}},{"code_sha256_prefix":"0278704ab1b0b4af","entry":"dilated_conv_bn_act","repo":"tanguymagne/SyntheticDoc","repo_kind":"found_in_text","path":"training/model.py","file_url":"https://github.com/tanguymagne/SyntheticDoc/blob/HEAD/training/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0278704ab1b0b4af"}},{"code_sha256_prefix":"102a2d6af3301652","entry":"extrapolate","repo":"tanguymagne/SyntheticDoc","repo_kind":"found_in_text","path":"generation/backward_mapping/uv_to_backward_map.py","file_url":"https://github.com/tanguymagne/SyntheticDoc/blob/HEAD/generation/backward_mapping/uv_to_backward_map.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"102a2d6af3301652"}},{"code_sha256_prefix":"e1bd6f7c2f82abdd","entry":"fill_missing","repo":"tanguymagne/SyntheticDoc","repo_kind":"found_in_text","path":"generation/backward_mapping/uv_to_backward_map.py","file_url":"https://github.com/tanguymagne/SyntheticDoc/blob/HEAD/generation/backward_mapping/uv_to_backward_map.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e1bd6f7c2f82abdd"}},{"code_sha256_prefix":"b02c33e4522cb254","entry":"predict","repo":"tanguymagne/SyntheticDoc","repo_kind":"found_in_text","path":"training/inference.py","file_url":"https://github.com/tanguymagne/SyntheticDoc/blob/HEAD/training/inference.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b02c33e4522cb254"}},{"code_sha256_prefix":"d9225a34aed867fc","entry":"preprocess_image","repo":"tanguymagne/SyntheticDoc","repo_kind":"found_in_text","path":"training/inference.py","file_url":"https://github.com/tanguymagne/SyntheticDoc/blob/HEAD/training/inference.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d9225a34aed867fc"}},{"code_sha256_prefix":"ee7deab5425e2adc","entry":"uv_to_backward_map","repo":"tanguymagne/SyntheticDoc","repo_kind":"found_in_text","path":"generation/backward_mapping/uv_to_backward_map.py","file_url":"https://github.com/tanguymagne/SyntheticDoc/blob/HEAD/generation/backward_mapping/uv_to_backward_map.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ee7deab5425e2adc"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CV","source":"arxiv_backlog_21d_20260915.json"},"syntology_extracted_results":null}