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
# importing copy as we have to copy the same image to different instances to visualize | |
import copy | |
plt.rcParams['figure.figsize'] = [14.0, 7.0] | |
# Set the parameters of the ORB algorithm by specifying the maximum number of keypoints to locate and | |
# the pyramid decimation ratio | |
orb = cv2.ORB_create(200, 2.0) # refer the opencv page for available arguments and usages | |
# computing the keypoints using the detectandcompute method, this accepts a grey scale image and None parameter | |
# is to let the ORB know we are not using any mask |