kopia lustrzana https://github.com/OpenDroneMap/ODM
Reduced minimal good matches threshold
rodzic
760238b9cd
commit
c1b9ff4c8c
|
@ -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)
|
||||
|
|
Ładowanie…
Reference in New Issue