From 4cda32d6141cf03edc165947e492dff3c31f602e Mon Sep 17 00:00:00 2001 From: Hayden Housen Date: Tue, 25 Jul 2023 13:05:12 -0700 Subject: [PATCH] Small fix --- lecture2notes/end_to_end/sift_matcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lecture2notes/end_to_end/sift_matcher.py b/lecture2notes/end_to_end/sift_matcher.py index 2263230..2e224c4 100644 --- a/lecture2notes/end_to_end/sift_matcher.py +++ b/lecture2notes/end_to_end/sift_matcher.py @@ -605,7 +605,7 @@ def match_features( match_successful = False transformed_image_paths = [] - if not movement_detected and dst_coords: + if not movement_detected and dst_coords is not None: presenter_slide_images = [ x for x in presenter_slide_images if x not in non_unique_presenter_slides ]