fix: remove limits on size AHSF

This commit is contained in:
Prohurtz 2023-11-20 13:48:10 -06:00
parent 305107d1ac
commit 3fc41ba9cd

View File

@ -1005,10 +1005,8 @@ def External_Run_AHSF(frame_gray):
# frame_gray = cv2.resize(frame_gray, (100, 100)) # frame_gray = cv2.resize(frame_gray, (100, 100))
wmax = min( wmax = (frame_gray.shape[1] * 0.4) # likes to crash, might need more tuning still
(frame_gray.shape[1] * 0.3), 240 wmin = (frame_gray.shape[1] * 0.1)
) # likes to crash, might need more tuning still
wmin = min((frame_gray.shape[1] * 0.1), 240)
params = { params = {
"ratio_downsample": 0.3, "ratio_downsample": 0.3,
"use_init_rect": False, "use_init_rect": False,