fix: LEAP getting visualized frame

This commit is contained in:
Prohurtz 2023-11-20 13:06:59 -06:00
parent dc6fbd34d1
commit 7d7fb6e3a3
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ class EyeTrackSettingsConfig(BaseModel):
gui_right_eye_dominant: bool = False
gui_left_eye_dominant: bool = False
gui_outer_side_falloff: bool = True
gui_outer_side_falloff: bool = False
gui_eye_dominant_diff_thresh: float = 0.3
gui_legacy_ransac: bool = False

View File

@ -358,7 +358,7 @@ class EyeProcessor:
self.rawy,
self.eyeopen,
) = self.er_leap.run(
self.current_image_gray
self.current_image_gray_clean
) # TODO: make own self var and LEAP toggle
self.thresh = self.current_image_gray.copy()
self.out_x, self.out_y, self.avg_velocity = cal.cal_osc(