From 3fc41ba9cded35ed444cb52315feaa0658be9b8d Mon Sep 17 00:00:00 2001 From: Prohurtz <48768484+RedHawk989@users.noreply.github.com> Date: Mon, 20 Nov 2023 13:48:10 -0600 Subject: [PATCH] fix: remove limits on size AHSF --- EyeTrackApp/AHSF.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/EyeTrackApp/AHSF.py b/EyeTrackApp/AHSF.py index 004167d..51d740e 100644 --- a/EyeTrackApp/AHSF.py +++ b/EyeTrackApp/AHSF.py @@ -1005,10 +1005,8 @@ def External_Run_AHSF(frame_gray): # frame_gray = cv2.resize(frame_gray, (100, 100)) - wmax = min( - (frame_gray.shape[1] * 0.3), 240 - ) # likes to crash, might need more tuning still - wmin = min((frame_gray.shape[1] * 0.1), 240) + wmax = (frame_gray.shape[1] * 0.4) # likes to crash, might need more tuning still + wmin = (frame_gray.shape[1] * 0.1) params = { "ratio_downsample": 0.3, "use_init_rect": False,