{"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/learning-to-reconstruct-3d-manhattan","title":"Learning to Reconstruct 3D Manhattan Wireframes from a Single Image","arxiv_id":"1905.07482","date":"2019-05-17","proceeding":"ICCV 2019 10","authors":["Yichao Zhou","Haozhi Qi","Yuexiang Zhai","Qi Sun","Zhili Chen","Li-Yi Wei","Yi Ma"],"abstract":"In this paper, we propose a method to obtain a compact and accurate 3D wireframe representation from a single image by effectively exploiting global structural regularities. Our method trains a convolutional neural network to simultaneously detect salient junctions and straight lines, as well as predict their 3D depth and vanishing points. Compared with the state-of-the-art learning-based wireframe detection methods, our network is simpler and more unified, leading to better 2D wireframe detection. With global structural priors from parallelism, our method further reconstructs a full 3D wireframe model, a compact vector representation suitable for a variety of high-level vision tasks such as AR and CAD. We conduct extensive evaluations on a large synthetic dataset of urban scenes as well as real images. Our code and datasets have been made public at https://github.com/zhou13/shapeunity.","url_abs":"https://arxiv.org/abs/1905.07482v2","url_pdf":"https://arxiv.org/pdf/1905.07482v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"learning-to-reconstruct-3d-manhattan","repo_url":"https://github.com/zhou13/shapeunity","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"learning-to-reconstruct-3d-manhattan","repo_url":"https://github.com/zhou13/neurvps","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1905.07482","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1905.07482"}},"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":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/zhou13/neurvps","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/zhou13/shapeunity","reach":null}],"summary":{"ran_fixture":2,"ran_violates":1,"ran_draft_wrong":1,"unverified":1},"by_repo_kind":{"official":{"samples":5,"ran":4,"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":"6cc7fd04d6d9a593","entry":"ap","repo":"zhou13/shapeunity","repo_kind":"official","path":"eval_2d3d_metric.py","file_url":"https://github.com/zhou13/shapeunity/blob/HEAD/eval_2d3d_metric.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6cc7fd04d6d9a593"}},{"code_sha256_prefix":"0129eeab74419004","entry":"filter_heatmap","repo":"zhou13/shapeunity","repo_kind":"official","path":"vectorize_u3d.py","file_url":"https://github.com/zhou13/shapeunity/blob/HEAD/vectorize_u3d.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0129eeab74419004"}},{"code_sha256_prefix":"aa219e4d8e0533f7","entry":"line_color","repo":"zhou13/shapeunity","repo_kind":"official","path":"vectorize_u3d.py","file_url":"https://github.com/zhou13/shapeunity/blob/HEAD/vectorize_u3d.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"aa219e4d8e0533f7"}},{"code_sha256_prefix":"b406c63e7f1d3eee","entry":"project","repo":"zhou13/shapeunity","repo_kind":"official","path":"vectorize_u3d.py","file_url":"https://github.com/zhou13/shapeunity/blob/HEAD/vectorize_u3d.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b406c63e7f1d3eee"}},{"code_sha256_prefix":"63b5425d2774705a","entry":"msTPFP_hit","repo":"zhou13/shapeunity","repo_kind":"official","path":"eval_2d3d_metric.py","file_url":"https://github.com/zhou13/shapeunity/blob/HEAD/eval_2d3d_metric.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":"63b5425d2774705a"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}