Image Processing, Opencv, Python, Computer Vision, Digital Image Processing.
np.float32(gray) # Apply Harris Corner Detector corners = cv2.cornerHarris(gray, blockSize=2, ksize=3, k=0.04) # Dilate corner image to enhance corner points corners = cv2.dilate(corners, None) # Threshold to mark the corners on the image threshold = 0.01 * corners.max() image[corners > threshold]