Change min_match_count

pull/1493/head
Piero Toffanin 2022-07-07 02:59:57 -04:00
rodzic c1b9ff4c8c
commit da73ada89b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -472,7 +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 = 4):
def find_features_homography(image_gray, align_image_gray, feature_retention=0.7, min_match_count=10):
# Detect SIFT features and compute descriptors.
detector = cv2.SIFT_create(edgeThreshold=10, contrastThreshold=0.1)