mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-09-26 23:09:28 +08:00
fix: re-add try
This commit is contained in:
parent
df29fc0380
commit
aa0b0903fc
@ -180,7 +180,7 @@ class EyeProcessor:
|
||||
self.one_euro_filter = OneEuroFilter(noisy_point, min_cutoff=min_cutoff, beta=beta)
|
||||
|
||||
def output_images_and_update(self, threshold_image, output_information: EyeInfo):
|
||||
# try:
|
||||
try:
|
||||
image_stack = np.concatenate(
|
||||
(
|
||||
cv2.cvtColor(self.current_image_gray, cv2.COLOR_GRAY2BGR),
|
||||
@ -195,8 +195,8 @@ class EyeProcessor:
|
||||
self.previous_image = self.current_image
|
||||
self.previous_rotation = self.config.rotation_angle
|
||||
|
||||
# except: # If this fails it likely means that the images are not the same size for some reason.
|
||||
# print("\033[91m[ERROR] Size of frames to display are of unequal sizes.\033[0m")
|
||||
except: # If this fails it likely means that the images are not the same size for some reason.
|
||||
print("\033[91m[ERROR] Size of frames to display are of unequal sizes.\033[0m")
|
||||
|
||||
def capture_crop_rotate_image(self):
|
||||
# Get our current frame
|
||||
|
Loading…
Reference in New Issue
Block a user