cvg / Hierarchical-Localization

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

How to load existing COLMAP files? #413

Open ksskatka opened 3 months ago

ksskatka commented 3 months ago

Hi, so I am using OpenSfM to generate a project through a program called ODM. I then use the SfM -> COLMAP converter command to generate the cameras.txt, images.txt, and points3D.txt files needed to represent the sparse point cloud. I am using the reader that is defined here in HLOC. Following the logic in the SfM pipeline, when trying to visualize with an input image the program throws a type error stating that the model is not of type pycolmap reconstruction.