colmap / glomap

GLOMAP - Global Structured-from-Motion Revisited
BSD 3-Clause "New" or "Revised" License
1.3k stars 76 forks source link

Unable to recognize the colmap database generated by importing feature and matching pairs #65

Open SXL0702 opened 1 month ago

SXL0702 commented 1 month ago

I tried using colmap software processing -- feature extraction -- import to import external features, and processing -- feature matching -- customs to import external matches. However, it seems that the generated database cannot be used by Glomap. How can I solve this problem? Looking forward to your reply! feature match result

ahojnnes commented 1 month ago

Glomap needs both the raw and the inlier matches as input. With some small scripting using pycolmap, you can copy the imported inlier matches also as matches.

smbonilla commented 3 weeks ago

I had to do something similar to import custom matches. I got glomap to work with the custom matches by filling the two_view_geometries table with the copied matches and identity H,F,E in the colmap database (the colmap/scripts/python/database.py file is super helpful for this).