if len(good) > MIN_MATCH_COUNT: # Convert keypoints to an argument for findHomography src_pts = np.float32([ keypoints1[m.queryIdx].pt for m in good]).reshape