mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-11-04 14:39:42 +08:00
adjust leap settings behavior to not force leap lid
This commit is contained in:
parent
ef24e3bf5a
commit
5c86243d58
@ -372,9 +372,11 @@ class EyeProcessor:
|
|||||||
|
|
||||||
def LEAPM(self):
|
def LEAPM(self):
|
||||||
self.thresh = self.current_image_gray.copy()
|
self.thresh = self.current_image_gray.copy()
|
||||||
(self.current_image_gray, self.rawx, self.rawy, self.eyeopen,) = self.er_leap.run(
|
(self.current_image_gray, self.rawx, self.rawy, eyeopen,) = self.er_leap.run(
|
||||||
self.current_image_gray, self.current_image_gray_clean, self.calibration_frame_counter
|
self.current_image_gray, self.current_image_gray_clean, self.calibration_frame_counter
|
||||||
) # TODO: make own self var and LEAP toggle
|
) # TODO: make own self var and LEAP toggle
|
||||||
|
if self.settings.gui_LEAP_lid:
|
||||||
|
self.eyeopen = eyeopen
|
||||||
self.thresh = self.current_image_gray.copy()
|
self.thresh = self.current_image_gray.copy()
|
||||||
# todo: lorow, fix this as well
|
# todo: lorow, fix this as well
|
||||||
self.out_x, self.out_y, self.avg_velocity = cal.cal_osc(self, self.rawx, self.rawy, self.angle)
|
self.out_x, self.out_y, self.avg_velocity = cal.cal_osc(self, self.rawx, self.rawy, self.angle)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user