mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-11-04 14:39:42 +08:00
Remove globals to restore dual eye
This commit is contained in:
parent
fe02b86cbf
commit
203ac58b16
@ -160,17 +160,10 @@ def get_center_noclamp(center_xy, radius):
|
||||
|
||||
|
||||
cct = 300
|
||||
ransac_lower_x = 100
|
||||
ransac_lower_y = 100
|
||||
cx = 0
|
||||
cy = 0
|
||||
|
||||
|
||||
def RANSAC3D(self, hsrac_en):
|
||||
f = False
|
||||
ranf = False
|
||||
global cct, ransac_lower_y, ransac_lower_x, cx, cy
|
||||
|
||||
|
||||
if hsrac_en:
|
||||
center_x, center_y, upper_x, lower_x, upper_y, lower_y, ransac_lower_x, ransac_lower_y, ransac_upper_x, ransac_upper_y, ransac_xy_offset = get_center_noclamp(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user