mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-11-04 14:39:42 +08:00
fix: remove limits on size AHSF
This commit is contained in:
parent
305107d1ac
commit
3fc41ba9cd
@ -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,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user