From 88c5ecdf99720247ee5c995b2e066139c09a9c0d Mon Sep 17 00:00:00 2001 From: Prohurtz <48768484+RedHawk989@users.noreply.github.com> Date: Tue, 31 Jan 2023 13:54:42 -0600 Subject: [PATCH] fix imports --- EyeTrackApp/haar_surround_feature.py | 2 +- EyeTrackApp/hsrac.py | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/EyeTrackApp/haar_surround_feature.py b/EyeTrackApp/haar_surround_feature.py index e07496b..16bec9b 100644 --- a/EyeTrackApp/haar_surround_feature.py +++ b/EyeTrackApp/haar_surround_feature.py @@ -7,7 +7,7 @@ from functools import lru_cache import cv2 import numpy as np -from EyeTrackApp.img_utils import safe_crop +from img_utils import safe_crop # from line_profiler_pycharm import profile diff --git a/EyeTrackApp/hsrac.py b/EyeTrackApp/hsrac.py index 5bb344d..521d896 100644 --- a/EyeTrackApp/hsrac.py +++ b/EyeTrackApp/hsrac.py @@ -6,7 +6,7 @@ from functools import lru_cache import cv2 import numpy as np -from EyeTrackApp.haar_surround_feature import ( +from haar_surround_feature import ( AutoRadiusCalc, BlinkDetector, CenterCorrection, @@ -14,8 +14,8 @@ from EyeTrackApp.haar_surround_feature import ( conv_int, frameint_get_xy_step, ) -from EyeTrackApp.img_utils import safe_crop -from EyeTrackApp.utils import clamp +from img_utils import safe_crop +from utils import clamp # from line_profiler_pycharm import profile @@ -496,3 +496,4 @@ if __name__ == "__main__": hsrac.open_video(video_path) while hsrac.read_frame(): _ = hsrac.single_run() +1 \ No newline at end of file