From 6e8fd4aa424ef46b40e0156792fefcf27f453567 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Mon, 29 Dec 2025 08:44:51 +0100 Subject: [PATCH] Update frame difference detection settings in VideoEditor class --- croppa/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/croppa/main.py b/croppa/main.py index 8d7d15c..f02fa62 100644 --- a/croppa/main.py +++ b/croppa/main.py @@ -94,8 +94,8 @@ class VideoEditor: HIGH_FPS_THRESHOLD = 60 # FPS threshold for high FPS detection # Frame difference detection settings - FRAME_DIFFERENCE_THRESHOLD_DEFAULT = 10.0 # Percentage threshold for frame difference - FRAME_DIFFERENCE_GAP_DEFAULT = 10 # Number of frames between comparisons + FRAME_DIFFERENCE_THRESHOLD_DEFAULT = 50.0 # Percentage threshold for frame difference + FRAME_DIFFERENCE_GAP_DEFAULT = 150 # Number of frames between comparisons FRAME_DIFFERENCE_PIXEL_THRESHOLD = 30 # Pixel threshold for binary thresholding # Template matching settings