cvg / Hierarchical-Localization

Visual localization made easy with hloc
Apache License 2.0
2.96k stars 551 forks source link

Exposed ALIKED feature extractor from LightGlue #375

Open Dawars opened 3 months ago

Dawars commented 3 months ago

I exposed the ALIKED feature extractor from LightGlue. I added two versions: feats-aliked-n16-rot and feats-aliked-n32.

Should I expose all variants?

Matching is possible via LightGlue by using aliked+lightglue.

If you would like me to make some changes please let me know.

ArneSchulzTUBS commented 1 month ago

Thanks for providing this implementation!

I had to do one small adjustment to get it running: There is a typo in the model_name feature_extractor configuration of aliked-n16-rot: The model_name is set to aliked-n16-rot https://github.com/cvg/Hierarchical-Localization/blob/42d1b30b76cb4aa422cea3d91b6e3b1c6699b9e9/hloc/extract_features.py#L121 while the ALIKED implementation is using the model_name aliked-n16rot https://github.com/cvg/LightGlue/blob/edb2b838efb2ecfe3f88097c5fad9887d95aedad/lightglue/aliked.py#L628