We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a94ef5 commit 0b4e49dCopy full SHA for 0b4e49d
1 file changed
opensfm/matching.py
@@ -439,7 +439,7 @@ def _match_descriptors_impl(
439
elif matcher_type == "LIGHTGLUE":
440
assert not symmetric_matching
441
# assume im1.shape == im2.shape
442
- im = io.imread(im1)
+ im = data.load_image(im1)
443
xfeat = torch.hub.load(
444
'verlab/accelerated_features',
445
'XFeat',
@@ -450,7 +450,7 @@ def _match_descriptors_impl(
450
d1,
451
features_data2.points,
452
d2,
453
- shape,
+ im.shape,
454
overriden_config,
455
xfeat = xfeat)
456
else:
0 commit comments