mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-11-04 14:39:42 +08:00
fix imports
This commit is contained in:
parent
f6d3ea0659
commit
88c5ecdf99
@ -7,7 +7,7 @@ from functools import lru_cache
|
|||||||
import cv2
|
import cv2
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
from EyeTrackApp.img_utils import safe_crop
|
from img_utils import safe_crop
|
||||||
|
|
||||||
# from line_profiler_pycharm import profile
|
# from line_profiler_pycharm import profile
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,7 @@ from functools import lru_cache
|
|||||||
import cv2
|
import cv2
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
from EyeTrackApp.haar_surround_feature import (
|
from haar_surround_feature import (
|
||||||
AutoRadiusCalc,
|
AutoRadiusCalc,
|
||||||
BlinkDetector,
|
BlinkDetector,
|
||||||
CenterCorrection,
|
CenterCorrection,
|
||||||
@ -14,8 +14,8 @@ from EyeTrackApp.haar_surround_feature import (
|
|||||||
conv_int,
|
conv_int,
|
||||||
frameint_get_xy_step,
|
frameint_get_xy_step,
|
||||||
)
|
)
|
||||||
from EyeTrackApp.img_utils import safe_crop
|
from img_utils import safe_crop
|
||||||
from EyeTrackApp.utils import clamp
|
from utils import clamp
|
||||||
|
|
||||||
# from line_profiler_pycharm import profile
|
# from line_profiler_pycharm import profile
|
||||||
|
|
||||||
@ -496,3 +496,4 @@ if __name__ == "__main__":
|
|||||||
hsrac.open_video(video_path)
|
hsrac.open_video(video_path)
|
||||||
while hsrac.read_frame():
|
while hsrac.read_frame():
|
||||||
_ = hsrac.single_run()
|
_ = hsrac.single_run()
|
||||||
|
1
|
||||||
Loading…
Reference in New Issue
Block a user