Reduced minimal good matches threshold

pull/1493/head
usplm 2022-06-27 08:08:30 -04:00 zatwierdzone przez Piero Toffanin
rodzic 760238b9cd
commit c1b9ff4c8c
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -472,8 +472,7 @@ def find_ecc_homography(image_gray, align_image_gray, number_of_iterations=1000,
return warp_matrix
def find_features_homography(image_gray, align_image_gray, feature_retention=0.7):
min_match_count = 10
def find_features_homography(image_gray, align_image_gray, feature_retention=0.7, min_match_count = 4):
# Detect SIFT features and compute descriptors.
detector = cv2.SIFT_create(edgeThreshold=10, contrastThreshold=0.1)