Closed vitalii-p closed 5 months ago
Seems like here it is
image.cam_from_world.rotation.matrix().real
This is being is fixed in https://github.com/cvg/Hierarchical-Localization/pull/353 following recent updates to pycolmap.
https://github.com/cvg/Hierarchical-Localization/pull/353 has been merged.
In hloc I got an error during visualization (viz_3d.plot_reconstruction)
'pycolmap.Image' object has no attribute 'rotmat'
Could you suggest how to fix this issue? How can I get rotation matrix or quaternion from Image object?