cvg / Hierarchical-Localization

Visual localization made easy with hloc
Apache License 2.0
3.24k stars 599 forks source link

RuntimeWarning during geometric verification and failure in triangulation #419

Closed nushakrishnan closed 3 months ago

nushakrishnan commented 3 months ago

Hello,

I am using the hloc library to triangulate points in my COLMAP model which consists of multiple images from 2 cameras (left and right cameras of a rig). However, during geometric verification of the matches, I face some runtime warnings as shown in the image below. This further results in a failure during 3d triangulation (also shown in the image). I am not sure why this could be happening. Please could I receive some guidance here? Thank you in advance!

image

sarlinpe commented 3 months ago

The warnings are likely unrelated to the error (I agree that they should be fixed though), which is most likely already fixed by https://github.com/colmap/colmap/pull/2704 Can you update your COLMAP installation?

nushakrishnan commented 3 months ago

Thank you @sarlinpe, the updated COLMAP installation fixed the triangulation error.

nushakrishnan commented 3 months ago

Closing issue as it is resolved.