cv2.drawKeypoints not drawing keypoints on the outImage
I am working with OpenCV in Python and trying to diplay the keypoints recognized by SIFT from gray image to the original color image. Here is my code import cv2 as cv org_img = cv.imread(‘/content/Sunset_org.jpg’) gray_img = cv.cvtColor(org_img,cv.COLOR_BGR2GRAY) sift = cv.SIFT_create() kp = sift.detect(gray_img,None) sift = cv.drawKeypoints(gray_img, kp, outImage=org_img, flags=cv.DRAW_MATCHES_FLAGS_DRAW_RICH_KEYPOINTS) cv.imshow(‘Sift Img’, sift) cv.waitKey(0) I… Read More cv2.drawKeypoints not drawing keypoints on the outImage