Transformers
Safetensors
superglue
stevenbucaille commited on
Commit
efa2914
1 Parent(s): faddd12

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -133,7 +133,7 @@ image1_matching_scores = outputs.matching_scores[0, 1][image1_indices]
133
  You can use the `post_process_keypoint_matching` method from the `SuperGlueImageProcessor` to get the keypoints and matches in a more readable format:
134
  ```python
135
  image_sizes = [[(image.height, image.width) for image in images]]
136
- outputs = processor.post_process_keypoint_matching(outputs, image_sizes, matching_threshold=0.2)
137
  for i, output in enumerate(outputs):
138
  print("For the image pair", i)
139
  for keypoint0, keypoint1, matching_score in zip(output["keypoints0"], output["keypoints1"],
 
133
  You can use the `post_process_keypoint_matching` method from the `SuperGlueImageProcessor` to get the keypoints and matches in a more readable format:
134
  ```python
135
  image_sizes = [[(image.height, image.width) for image in images]]
136
+ outputs = processor.post_process_keypoint_matching(outputs, image_sizes, threshold=0.2)
137
  for i, output in enumerate(outputs):
138
  print("For the image pair", i)
139
  for keypoint0, keypoint1, matching_score in zip(output["keypoints0"], output["keypoints1"],