Last active
July 12, 2019 09:43
-
-
Save emnak/b1b4a8214a8a0a3098c97a99caf53859 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import cv2 as cv | |
img = cv.imread('image.jpg') | |
gray= cv.cvtColor(img, cv.COLOR_BGR2GRAY) | |
akaze = cv.AKAZE_create() | |
kp, descriptor = akaze.detectAndCompute(gray, None) | |
img=cv.drawKeypoints(gray, kp, img) | |
cv.imwrite('keypoints.jpg', img) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment