Skip to content

Commit

Permalink
Fix comment too long.
Browse files Browse the repository at this point in the history
  • Loading branch information
tiantianxiangshang629 committed Nov 11, 2024
1 parent 554fe38 commit fd1b18d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ def _read_keypoints(self, image: Image) -> Keypoints:
return Keypoints(coordinates=np.array([], dtype=np.float32))
coordinates = self._keypoints_dict[image_id][:, :2]
camera = self._pycolmap_db.read_camera(pycolmap_image.camera_id)
# Colmap extracts features in the downscaled image but scales keypoints back to the original dimensions before storing in the database.
# Colmap extracts features in the downscaled image
# but scales keypoints back to the original dimensions before storing in the database.
if image.width != camera.width or image.height != camera.height:
scale = np.array([image.width / camera.width, image.height / camera.height])
return Keypoints(
Expand Down

0 comments on commit fd1b18d

Please sign in to comment.