xuelunshen / gim

GIM: Learning Generalizable Image Matcher From Internet Videos (ICLR 2024 Spotlight)
https://xuelunshen.com/gim
MIT License
312 stars 15 forks source link

where is the code sfm #3

Open sunshineywz123 opened 4 months ago

sunshineywz123 commented 4 months ago

I am writing to inquire about the possibility of the SFM (Structure-from-Motion) code related to the gimdkm project being open-sourced. I have been following the progress of your work with great interest and believe that the release of the code could significantly benefit the research community.

As a researcher in the field, I am eager to explore the potential applications of your SFM technology. If the code is or will be made available, I would greatly appreciate any information regarding the timeline or conditions for its release.

Additionally, if there are any pre-release versions, beta tests, or documentation available for early access, I would be very interested in participating or obtaining access.

Thank you for your time and consideration. I look forward to any updates you can provide on this matter.

Best regards

xuelunshen commented 4 months ago

Thank you, @sunshineywz123 . The code for SfM is based on hloc. In detail, we have imitated the LoFTR in hloc to implement the SfM for DKM, because both of them can be regarded as detector-free matching network, so there are a lot of things to borrow from each other.

truncs commented 4 months ago

Thanks @xuelunshen What about the two-view matching? Is that opencv:triangulatePoints and converting that to PCD to visualize points?

For mutli view geometry with COLMAP, how many images were used for the reconstruction?

xuelunshen commented 4 months ago

@truncs The two-view matching is based on the code of COTR. We replace the image matching part with different methods.

The multi-view reconstruction we used about 100+ images.

truncs commented 4 months ago

Amazing! Thanks @xuelunshen.

terrance-wang commented 3 months ago

Hi, thank you all for the amazing work on this project! I came across this project and was also interested in the application of your method with sfm for 3d reconstruction. I'm a bit new in this space though, and would really appreciate some help with hooking GIM into COLMAP and running some experiments with it. I've looked through the LoFTR implementation in hloc, but was wondering if I could get some more advice / help with this. I really want to replicate the results you guys posted on your website!

Thanks!

xuelunshen commented 2 months ago

@sunshineywz123 @truncs @terrance-wang Thank you for your attention and interest of gim. I will submit a PR later to hloc. Please be patient and wait a little longer.