Skip to content

Instantly share code, notes, and snippets.

Created November 23, 2020 15:36
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Visualize matched keypoints
# Draw the keypoint matches between both pictures
# Still based on:
draw_params = dict(matchColor=(0, 255, 0),
singlePointColor=(255, 0, 0),
keypoint_matches = cv.drawMatchesKnn(
img1, kp1, img2, kp2, matches[300:500], None, **draw_params)
cv.imshow("Keypoint matches", keypoint_matches)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment