kopia lustrzana https://github.com/OpenDroneMap/ODM
Change min_match_count
rodzic
c1b9ff4c8c
commit
da73ada89b
|
@ -472,7 +472,7 @@ def find_ecc_homography(image_gray, align_image_gray, number_of_iterations=1000,
|
||||||
return warp_matrix
|
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.
|
# Detect SIFT features and compute descriptors.
|
||||||
detector = cv2.SIFT_create(edgeThreshold=10, contrastThreshold=0.1)
|
detector = cv2.SIFT_create(edgeThreshold=10, contrastThreshold=0.1)
|
||||||
|
|
Ładowanie…
Reference in New Issue