We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f83ce0 commit c8d57f0Copy full SHA for c8d57f0
src/deep_image_matching/io/h5_to_micmac.py
@@ -89,8 +89,8 @@ def get_matches(
89
s1idx = np.argsort(matches1_idx)
90
91
# Get coordinates of matches
92
- x0y0 = features[key0]["keypoints"][matches0_idx[s0idx]]
93
- x1y1 = features[key1]["keypoints"][matches1_idx[s1idx]]
+ x0y0 = features[key0]["keypoints"][:][matches0_idx[s0idx]]
+ x1y1 = features[key1]["keypoints"][:][matches1_idx[s1idx]]
94
95
# Restore the original order
96
x0y0 = x0y0[np.argsort(s0idx)]
0 commit comments