Skip to content

Commit c13273b

Browse files
authored
Update cam_from_world to callable for new pycolmap (#487)
1 parent a3e5731 commit c13273b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hloc/localize_sfm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def main(
204204
cam_from_world[qname] = ret["cam_from_world"]
205205
else:
206206
closest = reference_sfm.images[db_ids[0]]
207-
cam_from_world[qname] = closest.cam_from_world
207+
cam_from_world[qname] = closest.cam_from_world()
208208
log["covisibility_clustering"] = covisibility_clustering
209209
logs["loc"][qname] = log
210210

0 commit comments

Comments
 (0)