colmap / pycolmap

Python bindings for COLMAP
BSD 3-Clause "New" or "Revised" License
858 stars 125 forks source link

May I ask about the changes in the new version? #260

Closed Zeng-Fan-Yi closed 4 months ago

Zeng-Fan-Yi commented 5 months ago

When I use a new version of pycolmap, I often see pycolmap' Image 'object has no attribute' rotmator pycolmap ' Image 'object has no attribute' tvecerror. I know that CamFromWorld replace qvec/tvec in the new version. So what should I do if I want to use code similar to img. rotmat() or img. tvec in the new version?

sarlinpe commented 5 months ago

hloc has been updated to support the new version: https://github.com/cvg/Hierarchical-Localization/commit/936040e8d67244cc6c8c9d1667701f3ce87bf075#diff-0de4cbc99c18b9dc5d1222addb08b24427cced6514d6a54ffae72bb2c860d701R153-R154