feat: remove prints

This commit is contained in:
Prohurtz 2024-02-19 13:30:45 -08:00
parent db20afda69
commit 446590a7f2
3 changed files with 2 additions and 6 deletions

View File

@ -80,7 +80,6 @@ def data2csv(data_u32, filepath):
with open(filepath, "w", encoding="utf-8") as out_f:
out_f.write("x,y,eyedilation\n")
out_f.writelines(datalines)
print('file write')
return
@ -207,7 +206,6 @@ class EllipseBasedPupilDilation:
self.data[0, -1] = self.maxval
self.data[1:4, -1] = self.now_roi
cv2.imwrite(self.imgfile, u32_1ch_to_u16_3ch(self.data))
print('file write')
# print("SAVED: {}".format(self.imgfile))
def change_roi(self, roiinfo: dict):

View File

@ -101,7 +101,6 @@ def data2csv(data_u32, filepath):
with open(filepath, "w", encoding="utf-8") as out_f:
out_f.write("x,y,intensity\n")
out_f.writelines(datalines)
print('file write')
return
@ -226,7 +225,6 @@ class IntensityBasedOpeness:
self.data[0, -1] = self.maxval
self.data[1:4, -1] = self.now_roi
cv2.imwrite(self.imgfile, u32_1ch_to_u16_3ch(self.data))
print('file write')
# print("SAVED: {}".format(self.imgfile))
def change_roi(self, roiinfo: dict):

View File

@ -428,13 +428,13 @@ def RANSAC3D(self, hsrac_en):
with open("RANSAC_BLINK_LEFT.cfg", "w") as file:
for item in self.blink_list:
file.write(str(item) + "\n")
print('file write')
if self.eye_id in [EyeId.RIGHT]:
with open("RANSAC_BLINK_RIGHT.cfg", "w") as file:
for item in self.blink_list:
file.write(str(item) + "\n")
print('file write')
# print("SAVE")
# self.blink_list.pop(0)