{"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/lod-loc-aerial-visual-localization-using-lod","title":"LoD-Loc: Aerial Visual Localization using LoD 3D Map with Neural Wireframe Alignment","arxiv_id":"2410.12269","date":"2024-10-16","proceeding":null,"authors":["Juelin Zhu","Shen Yan","Long Wang","Shengyue Zhang","Yu Liu","Maojun Zhang"],"abstract":"We propose a new method named LoD-Loc for visual localization in the air. Unlike existing localization algorithms, LoD-Loc does not rely on complex 3D representations and can estimate the pose of an Unmanned Aerial Vehicle (UAV) using a Level-of-Detail (LoD) 3D map. LoD-Loc mainly achieves this goal by aligning the wireframe derived from the LoD projected model with that predicted by the neural network. Specifically, given a coarse pose provided by the UAV sensor, LoD-Loc hierarchically builds a cost volume for uniformly sampled pose hypotheses to describe pose probability distribution and select a pose with maximum probability. Each cost within this volume measures the degree of line alignment between projected and predicted wireframes. LoD-Loc also devises a 6-DoF pose optimization algorithm to refine the previous result with a differentiable Gaussian-Newton method. As no public dataset exists for the studied problem, we collect two datasets with map levels of LoD3.0 and LoD2.0, along with real RGB queries and ground-truth pose annotations. We benchmark our method and demonstrate that LoD-Loc achieves excellent performance, even surpassing current state-of-the-art methods that use textured 3D models for localization. The code and dataset are available at https://victorzoo.github.io/LoD-Loc.github.io/.","url_abs":"https://arxiv.org/abs/2410.12269v1","url_pdf":"https://arxiv.org/pdf/2410.12269v1.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":"lod-loc-aerial-visual-localization-using-lod","repo_url":"https://github.com/VictorZoo/LoD-Loc","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"visual-localization","task_name":"Visual Localization"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2410.12269","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2410.12269"}},"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/VictorZoo/LoD-Loc","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":11,"unverified":2},"by_repo_kind":{"official":{"samples":13,"ran":11,"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":"6866b79ce915246c","entry":"angle_error","repo":"VictorZoo/LoD-Loc","repo_kind":"official","path":"maploc/models/metrics_sixDoF.py","file_url":"https://github.com/VictorZoo/LoD-Loc/blob/HEAD/maploc/models/metrics_sixDoF.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6866b79ce915246c"}},{"code_sha256_prefix":"f1c4117c450c8398","entry":"calculate_proportions_batch","repo":"VictorZoo/LoD-Loc","repo_kind":"official","path":"maploc/models/voting.py","file_url":"https://github.com/VictorZoo/LoD-Loc/blob/HEAD/maploc/models/voting.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f1c4117c450c8398"}},{"code_sha256_prefix":"b1f99aa29abf2c80","entry":"error_4x4","repo":"VictorZoo/LoD-Loc","repo_kind":"official","path":"maploc/models/metrics.py","file_url":"https://github.com/VictorZoo/LoD-Loc/blob/HEAD/maploc/models/metrics.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b1f99aa29abf2c80"}},{"code_sha256_prefix":"71c0e833edd12c93","entry":"location_error","repo":"VictorZoo/LoD-Loc","repo_kind":"official","path":"maploc/models/metrics.py","file_url":"https://github.com/VictorZoo/LoD-Loc/blob/HEAD/maploc/models/metrics.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"71c0e833edd12c93"}},{"code_sha256_prefix":"2a54a12637c32b5e","entry":"location_error_single","repo":"VictorZoo/LoD-Loc","repo_kind":"official","path":"maploc/models/metrics.py","file_url":"https://github.com/VictorZoo/LoD-Loc/blob/HEAD/maploc/models/metrics.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2a54a12637c32b5e"}},{"code_sha256_prefix":"bb359d0ad21ba5ea","entry":"random_angle_offset","repo":"VictorZoo/LoD-Loc","repo_kind":"official","path":"script/Generate_priors.py","file_url":"https://github.com/VictorZoo/LoD-Loc/blob/HEAD/script/Generate_priors.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"bb359d0ad21ba5ea"}},{"code_sha256_prefix":"2de532f2513ac2dd","entry":"random_xyz_offset","repo":"VictorZoo/LoD-Loc","repo_kind":"official","path":"script/Generate_priors.py","file_url":"https://github.com/VictorZoo/LoD-Loc/blob/HEAD/script/Generate_priors.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2de532f2513ac2dd"}},{"code_sha256_prefix":"9a58715a8900a7fc","entry":"rotmat2qvec","repo":"VictorZoo/LoD-Loc","repo_kind":"official","path":"script/Generate_priors.py","file_url":"https://github.com/VictorZoo/LoD-Loc/blob/HEAD/script/Generate_priors.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9a58715a8900a7fc"}},{"code_sha256_prefix":"74904d148745431f","entry":"sample_xyzr","repo":"VictorZoo/LoD-Loc","repo_kind":"official","path":"maploc/models/voting.py","file_url":"https://github.com/VictorZoo/LoD-Loc/blob/HEAD/maploc/models/voting.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"74904d148745431f"}},{"code_sha256_prefix":"0153196bf27d107f","entry":"trans_W2C","repo":"VictorZoo/LoD-Loc","repo_kind":"official","path":"maploc/models/utils.py","file_url":"https://github.com/VictorZoo/LoD-Loc/blob/HEAD/maploc/models/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0153196bf27d107f"}},{"code_sha256_prefix":"93460eccb625b6f1","entry":"trans_eulerTo4x4","repo":"VictorZoo/LoD-Loc","repo_kind":"official","path":"maploc/models/utils.py","file_url":"https://github.com/VictorZoo/LoD-Loc/blob/HEAD/maploc/models/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"93460eccb625b6f1"}},{"code_sha256_prefix":"6e55d2a2b328874d","entry":"multi_stage_loss","repo":"VictorZoo/LoD-Loc","repo_kind":"official","path":"maploc/models/utils.py","file_url":"https://github.com/VictorZoo/LoD-Loc/blob/HEAD/maploc/models/utils.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":"6e55d2a2b328874d"}},{"code_sha256_prefix":"5b8c777c9e377872","entry":"sample_xyr","repo":"VictorZoo/LoD-Loc","repo_kind":"official","path":"maploc/models/voting.py","file_url":"https://github.com/VictorZoo/LoD-Loc/blob/HEAD/maploc/models/voting.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":"5b8c777c9e377872"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}