diff --git a/src/AutoSplitImage.py b/src/AutoSplitImage.py index ede51a7b..9800bb2d 100644 --- a/src/AutoSplitImage.py +++ b/src/AutoSplitImage.py @@ -202,7 +202,7 @@ def compare_with_capture( if not is_valid_image(self.byte_array): return 0.0 - resized_capture = cv2.resize(capture, self.byte_array.shape[1::-1]) + resized_capture = cv2.resize(capture, self.byte_array.shape[1::-1], interpolation=cv2.INTER_NEAREST) return get_comparison_method_by_index( self.__get_comparison_method_index(default),