LoD-Loc v2:
Aerial Visual Localization over Low Level-of-Detail City Models using Explicit Silhouette Alignment
Juelin Zhu · Shuaibang Peng · Long Wang · Hanlin Tan · Yu Liu · Maojun Zhang · Shen Yan
Project Page | Paper | Demo
LoD-Loc v2 tackles visual localization w.r.t a scene represented as LoD1.0 3D maps. Given a query image and its pose prior, the method utilizes the wireframe of LoD models to recover the camera pose.
This repository is an implementation of the paper "LoD-Loc v2: Aerial Visual Localization over Low Level-of-Detail City Models using Explicit Silhouette Alignment".
We highly appreciate the research community's interest in the LoD-Loc v2 project. Please note that the OSG rendering technique described in the paper involves project intellectual property constraints. Consequently, we have implemented a Blender-based rendering pipeline as a substitute in this codebase.
We adopt the segmentation paradigm of SAM2-Unet for our semantic segmentation task. For detailed pipeline specifications, please refer to the original SAM2-Unet paper.
CUDA_VISIBLE_DEVICES="0" \
python ./script/refine_pose_origin.py \
--render_config "./config/config_RealTime_render_1.json" \
--sampler "rand_yaw_or_pitch" \
--name "inTraj" \
--pose_prior "/home/ubuntu/code/mcloc_poseref/data/UAVD4L-LoD/inTraj/inPlace_gps_newAll.txt"LoD-Loc v2 takes the MC-Loc as its code backbone. Thanks to Gabriele Trivigno for the opening source of his excellent work and his PyTorch implementation.
Please consider citing our work if you use any code from this repo or ideas presented in the paper:
@InProceedings{Zhu_2025_ICCV,
author = {Zhu, Juelin and Peng, Shuaibang and Wang, Long and Tan, Hanlin and Liu, Yu and Zhang, Maojun and Yan, Shen},
title = {LoD-Loc v2: Aerial Visual Localization over Low Level-of-Detail City Models using Explicit Silhouette Alignment},
booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)},
month = {October},
year = {2025},
pages = {26610-26621}
}