mapillary / OpenSfM

Open source Structure-from-Motion pipeline
https://www.opensfm.org/
BSD 2-Clause "Simplified" License
3.42k stars 861 forks source link

Is it possible to use customized extracting and matching feature method in OpenSFM? #786

Open lmz-whu opened 3 years ago

lmz-whu commented 3 years ago

Can I use superpoint+superglue to replace extract feature method and match feature method in OpenSFM?

YanNoun commented 3 years ago

Hi @lmz-whu,

Yeah, the OpenSfM team would be more than happy to welcome more feature extracters and matchers. You're welcome to submit a PR to add them. Code-wise, it would happens in feature.py around here : https://github.com/mapillary/OpenSfM/blob/main/opensfm/features.py#L534-L543 You can take example on ORB : https://github.com/mapillary/OpenSfM/blob/main/opensfm/features.py#L483-L484

Thanks for your contribution,

Yann