Skip to content
/ pl2map Public

[IROS 2024] Representing 3D sparse map points and lines for camera relocalization; [Arxiv 2025] Improved 3D Point-Line Mapping Regression for Camera Relocalization

License

Notifications You must be signed in to change notification settings

ais-lab/pl2map

Repository files navigation

Representing 3D sparse map points and lines for camera relocalization


Representing 3D sparse map points and lines for camera relocalization
Bach-Thuan Bui, Huy-Hoang Bui, Dinh-Tuan Tran, Joo-Ho Lee
2024 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)

demo_vid

Installation

git submodule update --init --recursive

# Refer to https://pytorch.org/get-started/previous-versions/ to install pytorch compatible with your CUDA
python -m pip install torch==1.12.0 torchvision==0.13.0 
python -m pip install -r requirements.txt

Datasets

Please run the provided scripts to prepare and download the data which has been undistorted by running:

  • 7scenes:
./prepare_scripts/seven_scenes.sh
  • Cambridge Landmarks
./prepare_scripts/cambridge.sh 
  • Indoor-6
./prepare_scripts/indoor6.sh

Evaluation with pre-trained models

Please download the pre-trained models by running:

./prepare_scripts/download_pre_trained_models.sh

For example, evaluate KingsCollege scene:

python runners/eval.py --dataset Cambridge --scene KingsCollege -expv pl2map

Training

python runners/train.py --dataset Cambridge --scene KingsCollege -expv pl2map_test

Detectors

Lines

Points

Citation

If you use this code in your project, please consider citing the following paper:

@article{bui2024representing,
  title={Representing 3D sparse map points and lines for camera relocalization},
  author={Bui, Bach-Thuan and Bui, Huy-Hoang and Tran, Dinh-Tuan and Lee, Joo-Ho},
  journal={arXiv preprint arXiv:2402.18011},
  year={2024}
}

Acknowledgement

This code is built based on Limap. We thank the authors for their useful source code.

About

[IROS 2024] Representing 3D sparse map points and lines for camera relocalization; [Arxiv 2025] Improved 3D Point-Line Mapping Regression for Camera Relocalization

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published