feat: fix .spec file to include bat and tools folder

This commit is contained in:
Prohurtz 2024-07-30 14:44:12 -05:00
parent 0d7cc4f648
commit 8a0ba4dfb4
3 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ import sys ; sys.setrecursionlimit(sys.getrecursionlimit() * 5)
block_cipher = None
resources=[("Audio/*", "Audio"), ("Images/*", "Images/"), ("pye3d/refraction_models/*", "pye3d/refraction_models/"), ("Models/*", "Models/")]
resources=[("Audio/*", "Audio"), ("Images/*", "Images/"), ("pye3d/refraction_models/*", "pye3d/refraction_models/"), ("Models/*", "Models/"),("Tools/*", "Tools/"),("center.bat", ".")]
a = Analysis(
['eyetrackapp.py'],

View File

@ -65,8 +65,8 @@ class LEAP_C:
self.queues.append(queue)
opts = onnxruntime.SessionOptions()
opts.inter_op_num_threads = 4
opts.intra_op_num_threads = 1
opts.inter_op_num_threads = 1
opts.intra_op_num_threads = 1 #fps hit
opts.graph_optimization_level = onnxruntime.GraphOptimizationLevel.ORT_ENABLE_ALL
self.one_euro_filter_float = OneEuroFilter(np.random.rand(1, 2), min_cutoff=0.0004, beta=0.9)

View File

@ -63,7 +63,7 @@ def ellipse_model(data, y, f):
def fit_rotated_ellipse_ransac(
data: np.ndarray,
rng: np.random.Generator,
iter=100,
iter=45,
sample_num=10,
offset=80, # 80.0, 10, 80
): # before changing these values, please read up on the ransac algorithm