mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-11-04 14:39:42 +08:00
fix: module leap not found
This commit is contained in:
parent
a26a2e75f4
commit
a29db80909
@ -37,7 +37,7 @@ from queue import Queue
|
|||||||
import threading
|
import threading
|
||||||
from one_euro_filter import OneEuroFilter
|
from one_euro_filter import OneEuroFilter
|
||||||
import psutil, os
|
import psutil, os
|
||||||
import sysfrom utils.misc_utils import resource_path
|
import sys from utils.misc_utils import resource_path
|
||||||
|
|
||||||
frames = 0
|
frames = 0
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ class LEAP_C(object):
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
onnxruntime.disable_telemetry_events()
|
onnxruntime.disable_telemetry_events()
|
||||||
# Config variables
|
# Config variables
|
||||||
self.num_threads = 3 # Number of python threads to use (using ~1 more than needed to acheive wanted fps yeilds lower cpu usage)
|
self.num_threads = 3 # Number of python threads to use (using ~1 more than needed to achieve wanted fps yields lower cpu usage)
|
||||||
self.queue_max_size = 1 # Optimize for best CPU usage, Memory, and Latency. A maxsize is needed to not create a potential memory leak.
|
self.queue_max_size = 1 # Optimize for best CPU usage, Memory, and Latency. A maxsize is needed to not create a potential memory leak.
|
||||||
self.model_path = resource_path('Models/mommy072623.onnx')
|
self.model_path = resource_path('Models/mommy072623.onnx')
|
||||||
self.interval = 1 # FPS print update rate
|
self.interval = 1 # FPS print update rate
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user