mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-11-04 14:39:42 +08:00
fix: import paths?
This commit is contained in:
parent
446590a7f2
commit
377c5ab635
@ -4,7 +4,6 @@ import os
|
||||
import timeit
|
||||
from functools import lru_cache
|
||||
from logging import Formatter, INFO, StreamHandler, FileHandler, getLogger
|
||||
|
||||
import cv2
|
||||
import numpy as np
|
||||
from numpy.linalg import _umath_linalg
|
||||
@ -1122,3 +1121,4 @@ if __name__ == "__main__":
|
||||
# print("")
|
||||
logger.info("")
|
||||
logger.info(f"{this_file_basename}: ALL Finish {format_time(main_total_time)}")
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import json
|
||||
import os.path
|
||||
import shutil
|
||||
from EyeTrackApp.eye import EyeId
|
||||
from eye import EyeId
|
||||
from pydantic import BaseModel
|
||||
from typing import Union, List
|
||||
import os
|
||||
|
||||
@ -15,7 +15,6 @@ if is_nt:
|
||||
from winotify import Notification
|
||||
os.system("color") # init ANSI color
|
||||
|
||||
os.environ["OMP_NUM_THREADS"] = "1"
|
||||
# Random environment variable to speed up webcam opening on the MSMF backend.
|
||||
# https://github.com/opencv/opencv/issues/17687
|
||||
os.environ["OPENCV_VIDEOIO_MSMF_ENABLE_HW_TRANSFORMS"] = "0"
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
from pythonosc import udp_client
|
||||
from pythonosc import osc_server
|
||||
from pythonosc import dispatcher
|
||||
from EyeTrackApp.config import EyeTrackConfig
|
||||
from EyeTrackApp.utils.misc_utils import PlaySound, SND_FILENAME, SND_ASYNC
|
||||
from config import EyeTrackConfig
|
||||
from utils.misc_utils import PlaySound, SND_FILENAME, SND_ASYNC
|
||||
from enum import IntEnum
|
||||
import queue
|
||||
import threading
|
||||
@ -31,6 +31,7 @@ falloff = False
|
||||
def output_osc(eye_x, eye_y, eye_blink, last_blink, pupil_dilation, avg_velocity, self):
|
||||
global se, falloff
|
||||
|
||||
|
||||
if self.config.gui_osc_vrcft_v1:
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user