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,