mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-11-04 14:39:42 +08:00
fix: remove prints
This commit is contained in:
parent
5a6248b897
commit
46427e3533
@ -427,7 +427,7 @@ def RANSAC3D(self, hsrac_en):
|
|||||||
with open("RANSAC_BLINK_RIGHT.cfg", "w") as file:
|
with open("RANSAC_BLINK_RIGHT.cfg", "w") as file:
|
||||||
for item in self.blink_list:
|
for item in self.blink_list:
|
||||||
file.write(str(item) + "\n")
|
file.write(str(item) + "\n")
|
||||||
print("SAVE")
|
# print("SAVE")
|
||||||
|
|
||||||
# self.blink_list.pop(0)
|
# self.blink_list.pop(0)
|
||||||
self.blink_list.append(abs(perscalarw - perscalarh))
|
self.blink_list.append(abs(perscalarw - perscalarh))
|
||||||
@ -437,7 +437,7 @@ def RANSAC3D(self, hsrac_en):
|
|||||||
|
|
||||||
if abs(perscalarw - perscalarh) >= np.percentile(self.blink_list, 92):
|
if abs(perscalarw - perscalarh) >= np.percentile(self.blink_list, 92):
|
||||||
blink = 0.0
|
blink = 0.0
|
||||||
print("RANSAC BLINK")
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
cv2.drawContours(
|
cv2.drawContours(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user