Skip to content

Commit 0b4e49d

Browse files
committed
fix typo
1 parent 0a94ef5 commit 0b4e49d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

opensfm/matching.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ def _match_descriptors_impl(
439439
elif matcher_type == "LIGHTGLUE":
440440
assert not symmetric_matching
441441
# assume im1.shape == im2.shape
442-
im = io.imread(im1)
442+
im = data.load_image(im1)
443443
xfeat = torch.hub.load(
444444
'verlab/accelerated_features',
445445
'XFeat',
@@ -450,7 +450,7 @@ def _match_descriptors_impl(
450450
d1,
451451
features_data2.points,
452452
d2,
453-
shape,
453+
im.shape,
454454
overriden_config,
455455
xfeat = xfeat)
456456
else:

0 commit comments

Comments
 (0)