fix: left eye ransac thresh set to right

This commit is contained in:
Prohurtz 2023-09-28 13:14:18 -05:00
parent 403c419cb2
commit d11f94f5af
2 changed files with 5 additions and 5 deletions

View File

@ -223,7 +223,7 @@ def RANSAC3D(self, hsrac_en):
# max_loc[0] - maxloc0_hf:max_loc[0] + maxloc0_hf]
if self.settings.gui_legacy_ransac:
if self.eye_id in [EyeId.LEFT]:
threshold_value = self.settings.gui_legacy_ransac_thresh_right
threshold_value = self.settings.gui_legacy_ransac_thresh_left
else:
threshold_value = self.settings.gui_legacy_ransac_thresh_right
else: