Skip to content

Free Motion Capture for Everyone πŸ’€βœ¨

TypeScript

fixin

jonmatthis66485ce2f0e4
diff --git a/freemocap/__init__.py b/freemocap/__init__.py
index 4f3ad988..03bbbb2e 100644
--- a/freemocap/__init__.py
+++ b/freemocap/__init__.py
@@ -14,9 +14,7 @@ beartype_this_package()
import time
tik = time.perf_counter()
-from freemocap.system.logging_configuration.configure_logging import configure_logging
-from freemocap.system.logging_configuration.log_levels import LogLevels
+from skellylogs import configure_logging, LogLevels
LOG_LEVEL = LogLevels.TRACE
configure_logging(LOG_LEVEL)
-
diff --git a/freemocap/api/websocket/websocket_server.py b/freemocap/api/websocket/websocket_server.py
index 09545bb3..afc57a37 100644
--- a/freemocap/api/websocket/websocket_server.py
+++ b/freemocap/api/websocket/websocket_server.py
@@ -2,24 +2,25 @@
WebSocket server with settings sync integration.
"""
import asyncio
+import dataclasses
import json
import logging
import time
from typing import TYPE_CHECKING
import msgspec
+import numpy as np
from fastapi import FastAPI
from skellycam.api.websocket.websocket_server import ServerFramerateCalculator
+from skellylogs import get_websocket_log_queue
+from skellylogs.handlers.websocket_log_queue_handler import MIN_LOG_LEVEL_FOR_WEBSOCKET
from starlette.websockets import WebSocket, WebSocketState, WebSocketDisconnect
from freemocap.api.websocket.websocket_message_types import WebsocketMessageType
from freemocap.app.freemocap_application import FreemocapApplication, get_freemocap_app
-from freemocap.system.logging_configuration.handlers.websocket_log_queue_handler import (
- get_websocket_log_queue,
- MIN_LOG_LEVEL_FOR_WEBSOCKET,
-)
+
from freemocap.utilities.wait_functions import await_10ms
-from skellycam.core.types.type_overloads import CameraGroupIdString
+from skellycam.core.types.type_overloads import CameraGroupIdString, FrameNumberInt
from skellycam.core.recorders.framerate_tracker import FramerateTracker, CurrentFramerate
logger = logging.getLogger(__name__)
@@ -30,17 +31,21 @@ BACKPRESSURE_WARNING_THRESHOLD: int = 100
def _msgspec_enc_hook(obj: object) -> object:
"""Fallback encoder for types msgspec doesn't natively handle.
- Handles Pydantic BaseModel instances (e.g. skellyforge's Point3d)
- and dataclass instances by converting them to dicts.
+ Handles Pydantic BaseModel instances (e.g. skellyforge's Point3d),
+ dataclass instances, and numpy scalar types by converting them to
+ their Python-native equivalents.
"""
if hasattr(obj, "model_dump"):
return obj.model_dump()
if hasattr(obj, "__dataclass_fields__"):
- import dataclasses
return dataclasses.asdict(obj)
+ if isinstance(obj, np.integer):
+ return int(obj)
+ if isinstance(obj, np.floating):
+ return float(obj)
+ if isinstance(obj, np.ndarray):
+ return obj.tolist()
raise TypeError(f"Cannot encode object of type {type(obj).__name__}")
-
-
# Reusable msgspec JSON encoder for all websocket JSON messages
_ws_json_encoder = msgspec.json.Encoder(enc_hook=_msgspec_enc_hook)
@@ -64,8 +69,8 @@ class WebsocketServer:
self._websocket_should_continue = True
self.ws_tasks: list[asyncio.Task] = []
- self.last_received_frontend_confirmation: int = -1
- self.last_sent_frame_number: int = -1
+ self.last_received_frontend_confirmation: FrameNumberInt = -1
+ self.last_sent_frame_number: FrameNumberInt = -1
self._display_image_sizes: dict[CameraGroupIdString, dict[str, float]] | None = None
self._frontend_framerate_trackers: dict[CameraGroupIdString, FramerateTracker] = {}
diff --git a/freemocap/app/app.py b/freemocap/app/app.py
index 7bd13b03..9846bc34 100644
--- a/freemocap/app/app.py
+++ b/freemocap/app/app.py
@@ -4,6 +4,7 @@ Consolidated FastAPI app factory with proper lifecycle management.
import logging
import multiprocessing
from contextlib import asynccontextmanager
+from multiprocessing.sharedctypes import Synchronized
from pathlib import Path
from typing import AsyncGenerator
@@ -63,7 +64,7 @@ async def app_lifespan(
def create_fastapi_app(
*,
- global_kill_flag: multiprocessing.Value,
+ global_kill_flag: Synchronized,
worker_registry: WorkerRegistry,
port: int,
) -> FastAPI:
diff --git a/freemocap/app/freemocap_application.py b/freemocap/app/freemocap_application.py
index 6a581b16..33db6c0a 100644
--- a/freemocap/app/freemocap_application.py
+++ b/freemocap/app/freemocap_application.py
@@ -5,6 +5,7 @@ FreemocapApplication with SettingsManager integration.
import logging
import multiprocessing
from dataclasses import dataclass, field
+from multiprocessing.sharedctypes import Synchronized
from fastapi import FastAPI
from skellycam.core.camera.config.camera_config import CameraConfigs
@@ -28,7 +29,7 @@ logger = logging.getLogger(__name__)
@dataclass
class FreemocapApplication:
- global_kill_flag: multiprocessing.Value
+ global_kill_flag: Synchronized
worker_registry: WorkerRegistry
realtime_pipeline_manager: RealtimePipelineManager
posthoc_pipeline_manager: PosthocPipelineManager
diff --git a/freemocap/core/__init__.py b/freemocap/core/__init__.py
index 4019a2e0..b953c6d9 100644
--- a/freemocap/core/__init__.py
+++ b/freemocap/core/__init__.py
@@ -9,8 +9,7 @@ __package_name__ = "freemocap"
__repo_url__ = f"https://github.com/freemocap/{__package_name__}/"
__repo_issues_url__ = f"{__repo_url__}issues"
-from freemocap.system.logging_configuration.configure_logging import configure_logging
-from freemocap.system.logging_configuration.log_levels import LogLevels
+from skellylogs import configure_logging, LogLevels
LOG_LEVEL = LogLevels.TRACE
configure_logging(LOG_LEVEL)
diff --git a/freemocap/core/pipeline/abcs/base_node_abc.py b/freemocap/core/pipeline/abcs/base_node_abc.py
index a8699efe..b5185cd4 100644
--- a/freemocap/core/pipeline/abcs/base_node_abc.py
+++ b/freemocap/core/pipeline/abcs/base_node_abc.py
@@ -18,12 +18,12 @@ Error escalation policy (enforced by subclasses, not the base):
"""
import logging
import multiprocessing
+import multiprocessing.queues
import sys
import time
from collections.abc import Callable
from dataclasses import dataclass, field
-from typing import Optional, ClassVar
-
+from multiprocessing.sharedctypes import Synchronized
from skellycam.core.ipc.process_management.managed_worker import ManagedWorker
from skellycam.core.ipc.process_management.worker_registry import WorkerRegistry
@@ -36,7 +36,7 @@ logger = logging.getLogger(__name__)
# brief exclusive locks during file reads, and antivirus real-time
# scanning amplifies the contention. Staggering spawns lets each child
# finish its import phase before the next one starts.
-_SPAWN_STAGGER_SECONDS: ClassVar[float] = 0.25 if sys.platform == "win32" else 0.0
+_SPAWN_STAGGER_SECONDS: float = 0.25 if sys.platform == "win32" else 0.0
@dataclass
class BaseNode:
@@ -48,7 +48,7 @@ class BaseNode:
so subclasses only need to define `create()` and `_run()`.
"""
- shutdown_self_flag: multiprocessing.Value = field(repr=False)
+ shutdown_self_flag: Synchronized = field(repr=False)
worker: ManagedWorker = field(repr=False)
@property
@@ -89,9 +89,9 @@ class BaseNode:
target: Callable[..., None],
name: str,
worker_registry: WorkerRegistry,
- log_queue: Optional[multiprocessing.Queue],
+ log_queue: multiprocessing.queues.Queue | None,
kwargs: dict,
- ) -> tuple[multiprocessing.Value, ManagedWorker]:
+ ) -> tuple[Synchronized, ManagedWorker]:
"""
Convenience helper for subclass `create()` methods.
@@ -102,7 +102,7 @@ class BaseNode:
Returns:
(shutdown_self_flag, worker) tuple for passing to the dataclass constructor.
"""
- shutdown_self_flag: multiprocessing.Value = multiprocessing.Value('b', False)
+ shutdown_self_flag: Synchronized = multiprocessing.Value('b', False)
kwargs["shutdown_self_flag"] = shutdown_self_flag
worker = worker_registry.create_worker(
target=target,
diff --git a/freemocap/core/pipeline/abcs/pipeline_ipc.py b/freemocap/core/pipeline/abcs/pipeline_ipc.py
index c19b4baa..5f501917 100644
--- a/freemocap/core/pipeline/abcs/pipeline_ipc.py
+++ b/freemocap/core/pipeline/abcs/pipeline_ipc.py
@@ -11,21 +11,24 @@ PubSub is NOT on this object. Pipelines own pubsub separately and pass
bare queue handles to children as explicit kwargs.
"""
import multiprocessing
+import multiprocessing.queues
import uuid
from dataclasses import dataclass, field
+from multiprocessing.sharedctypes import Synchronized
+
+from skellylogs import get_websocket_log_queue
from freemocap.core.types.type_overloads import PipelineIdString
-from freemocap.system.logging_configuration.handlers.websocket_log_queue_handler import get_websocket_log_queue
from freemocap.utilities.check_main_processs_heartbeat import check_main_process_heartbeat
@dataclass
class PipelineIPC:
pipeline_id: PipelineIdString
- ws_queue: multiprocessing.Queue
- global_kill_flag: multiprocessing.Value
- heartbeat_timestamp: multiprocessing.Value
- pipeline_shutdown_flag: multiprocessing.Value = field(
+ ws_queue: multiprocessing.queues.Queue
+ global_kill_flag: Synchronized
+ heartbeat_timestamp: Synchronized
+ pipeline_shutdown_flag: Synchronized = field(
default_factory=lambda: multiprocessing.Value('b', False),
)
@@ -33,8 +36,8 @@ class PipelineIPC:
def create(
cls,
*,
- global_kill_flag: multiprocessing.Value,
- heartbeat_timestamp: multiprocessing.Value,
+ global_kill_flag: Synchronized,
+ heartbeat_timestamp: Synchronized,
pipeline_id: PipelineIdString | None = None,
) -> "PipelineIPC":
if pipeline_id is None:
@@ -64,4 +67,4 @@ class PipelineIPC:
def kill_everything(self) -> None:
"""Nuclear option: stop this pipeline AND signal global shutdown."""
self.pipeline_shutdown_flag.value = True
- self.global_kill_flag.value = True
\ No newline at end of file
+ self.global_kill_flag.value = True
diff --git a/freemocap/core/pipeline/posthoc/posthoc_aggregation_node.py b/freemocap/core/pipeline/posthoc/posthoc_aggregation_node.py
index 9655151f..fdf186f6 100644
--- a/freemocap/core/pipeline/posthoc/posthoc_aggregation_node.py
+++ b/freemocap/core/pipeline/posthoc/posthoc_aggregation_node.py
@@ -21,7 +21,7 @@ import logging
import multiprocessing
from collections.abc import Callable
from dataclasses import dataclass
-from typing import Optional
+from multiprocessing.sharedctypes import Synchronized
from skellycam.core.ipc.process_management.worker_registry import WorkerRegistry
from skellycam.core.recorders.videos.recording_info import RecordingInfo
@@ -96,7 +96,7 @@ class PosthocAggregationNode(AggregatorNode):
recording_info: RecordingInfo,
video_metadata: dict[VideoIdString, VideoMetadata],
ipc: PipelineIPC,
- shutdown_self_flag: multiprocessing.Value,
+ shutdown_self_flag: Synchronized,
video_node_output_subscription: TopicSubscriptionQueue,
aggregator_progress_pub: TopicPublicationQueue,
) -> None:
diff --git a/freemocap/core/pipeline/posthoc/posthoc_pipeline.py b/freemocap/core/pipeline/posthoc/posthoc_pipeline.py
index 755dad81..d048ec7e 100644
--- a/freemocap/core/pipeline/posthoc/posthoc_pipeline.py
+++ b/freemocap/core/pipeline/posthoc/posthoc_pipeline.py
@@ -14,7 +14,7 @@ import multiprocessing
import uuid
from dataclasses import dataclass
from pathlib import Path
-from typing import Optional
+from multiprocessing.sharedctypes import Synchronized
from skellycam.core.ipc.process_management.worker_registry import WorkerRegistry
from skellycam.core.recorders.videos.recording_info import RecordingInfo
@@ -69,7 +69,7 @@ class PosthocPipeline(PipelineABC):
detector_config: BaseDetectorConfig,
aggregation_task_fn: PosthocAggregationNodeTaskFn,
worker_registry: WorkerRegistry,
- global_kill_flag: multiprocessing.Value,
+ global_kill_flag: Synchronized,
save_annotated_video: bool = True,
) -> "PosthocPipeline":
"""
diff --git a/freemocap/core/pipeline/posthoc/posthoc_pipeline_manager.py b/freemocap/core/pipeline/posthoc/posthoc_pipeline_manager.py
index f83e9dde..747f1ea3 100644
--- a/freemocap/core/pipeline/posthoc/posthoc_pipeline_manager.py
+++ b/freemocap/core/pipeline/posthoc/posthoc_pipeline_manager.py
@@ -11,7 +11,9 @@ Dead pipelines are cleaned up lazily whenever the manager is accessed.
import functools
import logging
import multiprocessing
+import multiprocessing.synchronize
from dataclasses import dataclass, field
+from multiprocessing.sharedctypes import Synchronized
from skellycam.core.ipc.process_management.worker_registry import WorkerRegistry
from skellycam.core.recorders.videos.recording_info import RecordingInfo
@@ -38,9 +40,9 @@ class PosthocPipelineManager(PipelineManagerABC):
lazily on access.
"""
- global_kill_flag: multiprocessing.Value
+ global_kill_flag: Synchronized
worker_registry: WorkerRegistry
- lock: multiprocessing.Lock = field(default_factory=multiprocessing.Lock)
+ lock: multiprocessing.synchronize.Lock = field(default_factory=multiprocessing.Lock)
pipelines: dict[PipelineIdString, PosthocPipeline] = field(default_factory=dict)
# ------------------------------------------------------------------
diff --git a/freemocap/core/pipeline/posthoc/video_node.py b/freemocap/core/pipeline/posthoc/video_node.py
index d8be2974..6543c801 100644
--- a/freemocap/core/pipeline/posthoc/video_node.py
+++ b/freemocap/core/pipeline/posthoc/video_node.py
@@ -12,6 +12,7 @@ are drawn on the source video frames.
import logging
import multiprocessing
from dataclasses import dataclass
+from multiprocessing.sharedctypes import Synchronized
from pathlib import Path
import cv2
@@ -128,7 +129,7 @@ class VideoNode(SourceNode):
ipc: PipelineIPC,
video_output_pub: TopicPublicationQueue,
video_progress_pub: TopicPublicationQueue,
- shutdown_self_flag: multiprocessing.Value,
+ shutdown_self_flag: Synchronized,
recording_path: Path,
save_annotated_video: bool,
pipeline_id: PipelineIdString,
diff --git a/freemocap/core/pipeline/realtime/camera_node.py b/freemocap/core/pipeline/realtime/camera_node.py
index 470a9efc..d1341dd9 100644
--- a/freemocap/core/pipeline/realtime/camera_node.py
+++ b/freemocap/core/pipeline/realtime/camera_node.py
@@ -8,6 +8,7 @@ Runs indefinitely until shutdown. Responds to pipeline config updates
import logging
import multiprocessing
from dataclasses import dataclass
+from multiprocessing.sharedctypes import Synchronized
from typing import TYPE_CHECKING
from skellycam.core.ipc.process_management.worker_registry import WorkerRegistry
@@ -88,7 +89,7 @@ class CameraNode(SourceNode):
process_frame_number_sub: TopicSubscriptionQueue,
pipeline_config_sub: TopicSubscriptionQueue,
camera_output_pub: TopicPublicationQueue,
- shutdown_self_flag: multiprocessing.Value,
+ shutdown_self_flag: Synchronized,
camera_shm_dto: SharedMemoryRingBufferDTO,
) -> None:
import cv2
diff --git a/freemocap/core/pipeline/realtime/realtime_aggregator_node.py b/freemocap/core/pipeline/realtime/realtime_aggregator_node.py
index f73c0475..6453aa3d 100644
--- a/freemocap/core/pipeline/realtime/realtime_aggregator_node.py
+++ b/freemocap/core/pipeline/realtime/realtime_aggregator_node.py
@@ -21,6 +21,7 @@ import logging
import multiprocessing
import time
from dataclasses import dataclass
+from multiprocessing.sharedctypes import Synchronized
from typing import Iterable
import numpy as np
@@ -200,7 +201,7 @@ class RealtimeAggregatorNode(AggregatorNode):
camera_group_id: CameraGroupIdString,
camera_ids: list[CameraGroupIdString],
ipc: PipelineIPC,
- shutdown_self_flag: multiprocessing.Value,
+ shutdown_self_flag: Synchronized,
camera_group_shm_dto: CameraGroupSharedMemoryDTO,
camera_node_sub: TopicSubscriptionQueue,
pipeline_config_sub: TopicSubscriptionQueue,
diff --git a/freemocap/core/pipeline/realtime/realtime_pipeline_manager.py b/freemocap/core/pipeline/realtime/realtime_pipeline_manager.py
index 89353780..e6ac4f1f 100644
--- a/freemocap/core/pipeline/realtime/realtime_pipeline_manager.py
+++ b/freemocap/core/pipeline/realtime/realtime_pipeline_manager.py
@@ -13,6 +13,7 @@ Responsibilities:
"""
import logging
import multiprocessing
+import multiprocessing.synchronize
from dataclasses import dataclass, field
from skellycam.core.camera_group.camera_group import CameraGroup
@@ -39,7 +40,7 @@ class RealtimePipelineManager(PipelineManagerABC):
"""
worker_registry: WorkerRegistry
- lock: multiprocessing.Lock = field(default_factory=multiprocessing.Lock)
+ lock: multiprocessing.synchronize.Lock = field(default_factory=multiprocessing.Lock)
pipelines: dict[PipelineIdString, RealtimePipeline] = field(default_factory=dict)
# ------------------------------------------------------------------
diff --git a/freemocap/core/tasks/calibration/anipose_calibration/helpers/freemocap_anipose.py b/freemocap/core/tasks/calibration/anipose_calibration/helpers/freemocap_anipose.py
index 42e4f75f..c9e20345 100644
--- a/freemocap/core/tasks/calibration/anipose_calibration/helpers/freemocap_anipose.py
+++ b/freemocap/core/tasks/calibration/anipose_calibration/helpers/freemocap_anipose.py
@@ -4,10 +4,10 @@
import logging
import multiprocessing
+import multiprocessing.synchronize
from collections import defaultdict
from copy import copy
from pathlib import Path
-from typing import Optional
import cv2
import numpy as np
@@ -525,7 +525,7 @@ class AniposeCameraGroup:
points: np.ndarray,
undistort: bool = True,
progress: bool = False,
- kill_event: Optional[multiprocessing.Event ] = None,
+ kill_event: multiprocessing.synchronize.Event | None = None,
) -> np.ndarray | None:
"""Given CxNx2 points, returns Nx3 triangulated 3D points."""
assert points.shape[0] == len(self.cameras), (
diff --git a/freemocap/core/types/__init__.py b/freemocap/core/types/__init__.py
index 4019a2e0..e69de29b 100644
--- a/freemocap/core/types/__init__.py
+++ b/freemocap/core/types/__init__.py
@@ -1,16 +0,0 @@
-"""A free and open source markerless motion capture system for everyone πŸ’€βœ¨"""
-
-__author__ = """Skelly FreeMoCap"""
-__email__ = "[email protected]"
-__version__ = "v1.4.7"
-__description__ = "A free and open source markerless motion capture system for everyone πŸ’€βœ¨"
-
-__package_name__ = "freemocap"
-__repo_url__ = f"https://github.com/freemocap/{__package_name__}/"
-__repo_issues_url__ = f"{__repo_url__}issues"
-
-from freemocap.system.logging_configuration.configure_logging import configure_logging
-from freemocap.system.logging_configuration.log_levels import LogLevels
-
-LOG_LEVEL = LogLevels.TRACE
-configure_logging(LOG_LEVEL)
diff --git a/freemocap/core/types/type_overloads.py b/freemocap/core/types/type_overloads.py
index a5a08918..74ba9388 100644
--- a/freemocap/core/types/type_overloads.py
+++ b/freemocap/core/types/type_overloads.py
@@ -1,4 +1,5 @@
import multiprocessing
+import multiprocessing.queues
import msgspec
@@ -7,8 +8,8 @@ PipelineIdString = str
TrackedPointNameString = str
VideoIdString = str
-TopicPublicationQueue = multiprocessing.Queue
-TopicSubscriptionQueue = multiprocessing.Queue
+TopicPublicationQueue = multiprocessing.queues.Queue
+TopicSubscriptionQueue = multiprocessing.queues.Queue
TrackerTypeString = str # TODO - move this to `skellytracker.types` or something
diff --git a/freemocap/core/viz/frontend_payload.py b/freemocap/core/viz/frontend_payload.py
index ff14b6b9..dd84f39c 100644
--- a/freemocap/core/viz/frontend_payload.py
+++ b/freemocap/core/viz/frontend_payload.py
@@ -53,12 +53,12 @@ class FrontendPayload(msgspec.Struct):
@dataclass(slots=True, frozen=True)
class FrontendImagePacket:
- image_bytes: bytes
+ image_bytes: bytearray
multiframe_timestamp: MultiframeTimestampFloat
frontend_payload: FrontendPayload
@property
- def frame_number(self) -> int:
+ def frame_number(self) -> FrameNumberInt:
return self.frontend_payload.frame_number
@property
diff --git a/freemocap/pubsub/pubsub_manager.py b/freemocap/pubsub/pubsub_manager.py
index e762ee55..350407c7 100644
--- a/freemocap/pubsub/pubsub_manager.py
+++ b/freemocap/pubsub/pubsub_manager.py
@@ -11,6 +11,7 @@ import logging
import multiprocessing
from dataclasses import dataclass, field
from multiprocessing import parent_process
+from multiprocessing.sharedctypes import Synchronized
from freemocap.core.types.type_overloads import TopicPublicationQueue, TopicSubscriptionQueue
from freemocap.pubsub.pubsub_abcs import PubSubTopicABC, MessageType
@@ -36,7 +37,7 @@ class PubSubTopicManager:
_relay: PubSubRelay | None = None
@classmethod
- def create(cls, global_kill_flag: multiprocessing.Value) -> "PubSubTopicManager":
+ def create(cls, global_kill_flag: Synchronized) -> "PubSubTopicManager":
"""
Factory: creates manager, instantiates all registered topics,
and starts the relay thread.
diff --git a/freemocap/pubsub/pubsub_relay.py b/freemocap/pubsub/pubsub_relay.py
index 552f7c81..92a1c821 100644
--- a/freemocap/pubsub/pubsub_relay.py
+++ b/freemocap/pubsub/pubsub_relay.py
@@ -13,11 +13,13 @@ The relay owns the subscriptions lock, coordinating between the main thread
If the relay thread dies from an unhandled exception, it sets the global_kill_flag
to bring down all processes.
"""
+import _thread
import logging
import multiprocessing
import threading
import time
from dataclasses import dataclass, field
+from multiprocessing.sharedctypes import Synchronized
from freemocap.core.types.type_overloads import TopicPublicationQueue, TopicSubscriptionQueue
from freemocap.pubsub.pubsub_abcs import PubSubTopicABC
@@ -46,8 +48,8 @@ class PubSubRelay:
bring down all processes.
"""
topics: dict[type[PubSubTopicABC], PubSubTopicABC]
- global_kill_flag: multiprocessing.Value
- _subscriptions_lock: threading.Lock = field(default_factory=threading.Lock)
+ global_kill_flag: Synchronized
+ _subscriptions_lock: _thread.LockType = field(default_factory=threading.Lock)
_stop_event: threading.Event = field(default_factory=threading.Event)
_thread: threading.Thread | None = field(default=None, init=False)
_fatal_error: BaseException | None = field(default=None, init=False)
@@ -188,4 +190,4 @@ class PubSubRelay:
@property
def is_alive(self) -> bool:
- return self._thread is not None and self._thread.is_alive()
\ No newline at end of file
+ return self._thread is not None and self._thread.is_alive()
diff --git a/freemocap/system/logging_configuration/__init__.py b/freemocap/system/logging_configuration/__init__.py
deleted file mode 100644
index e69de29b..00000000
diff --git a/freemocap/system/logging_configuration/configure_logging.py b/freemocap/system/logging_configuration/configure_logging.py
deleted file mode 100644
index 2882f83d..00000000
--- a/freemocap/system/logging_configuration/configure_logging.py
+++ /dev/null
@@ -1,48 +0,0 @@
-import logging
-import multiprocessing
-from typing import Optional
-
-from freemocap.system.logging_configuration.handlers.websocket_log_queue_handler import create_websocket_log_queue
-from freemocap.system.logging_configuration.log_levels import LogLevels
-from freemocap.system.logging_configuration.package_log_quieters import suppress_noisy_package_logs
-from .log_test_messages import log_test_messages
-from .logger_builder import LoggerBuilder
-
-suppress_noisy_package_logs()
-# Add custom log levels
-logging.addLevelName(LogLevels.LOOP.value, "LOOP")
-logging.addLevelName(LogLevels.TRACE.value, "TRACE")
-logging.addLevelName(LogLevels.SUCCESS.value, "SUCCESS")
-logging.addLevelName(LogLevels.API.value, "API")
-
-
-def add_log_method(level: LogLevels, name: str):
- def log_method(self, message, *args, **kws):
- if self.isEnabledFor(level.value):
- self._log(level.value, message, args, **kws, stacklevel=2)
-
- setattr(logging.Logger, name, log_method)
-
-
-def configure_logging(level: LogLevels, ws_queue: Optional[multiprocessing.Queue] = None):
- if ws_queue is None:
- # do not create new queue if not main process
- if not multiprocessing.current_process().name.lower() == 'mainprocess':
- return
-
- ws_queue = create_websocket_log_queue()
- add_log_method(LogLevels.LOOP, 'loop')
- add_log_method(LogLevels.TRACE, 'trace')
- add_log_method(LogLevels.API, 'api')
- add_log_method(LogLevels.SUCCESS, 'success')
-
- builder = LoggerBuilder(level, ws_queue)
- builder.configure()
-
-
-if __name__ == "__main__":
- logger_test = logging.getLogger(__name__)
- log_test_messages(logger_test)
- logger_test.success(
- "Logging setup and tests completed. Check the console output and the log file."
- )
diff --git a/freemocap/system/logging_configuration/filters/__init__.py b/freemocap/system/logging_configuration/filters/__init__.py
deleted file mode 100644
index e69de29b..00000000
diff --git a/freemocap/system/logging_configuration/filters/delta_time.py b/freemocap/system/logging_configuration/filters/delta_time.py
deleted file mode 100644
index a44c519e..00000000
--- a/freemocap/system/logging_configuration/filters/delta_time.py
+++ /dev/null
@@ -1,16 +0,0 @@
-import logging
-from datetime import datetime
-
-
-class DeltaTimeFilter(logging.Filter):
- """Adds Ξ”t since last log to records"""
-
- def __init__(self):
- self.prev_time = datetime.now().timestamp()
- super().__init__()
-
- def filter(self, record: logging.LogRecord) -> bool:
- current_time = datetime.now().timestamp()
- record.delta_t = f"{(current_time - self.prev_time) * 1000:.3f}ms"
- self.prev_time = current_time
- return True
diff --git a/freemocap/system/logging_configuration/filters/stringify_traceback.py b/freemocap/system/logging_configuration/filters/stringify_traceback.py
deleted file mode 100644
index 2f7f8723..00000000
--- a/freemocap/system/logging_configuration/filters/stringify_traceback.py
+++ /dev/null
@@ -1,19 +0,0 @@
-import logging
-import traceback
-
-
-class StringifyTracebackFilter(logging.Filter):
- """Converts live traceback objects in exc_info to pre-formatted strings.
-
- Some formatters (e.g. ColorFormatter) copy the LogRecord, which fails on
- live traceback objects since they can't be deepcopied or pickled. This
- filter runs before any handler sees the record: it formats the traceback
- into exc_text, then clears exc_info so nothing downstream chokes.
- """
-
- def filter(self, record: logging.LogRecord) -> bool:
- if record.exc_info and record.exc_info[2] is not None:
- if not record.exc_text:
- record.exc_text = "".join(traceback.format_exception(*record.exc_info))
- record.exc_info = None
- return True
diff --git a/freemocap/system/logging_configuration/formatters/__init__.py b/freemocap/system/logging_configuration/formatters/__init__.py
deleted file mode 100644
index e69de29b..00000000
diff --git a/freemocap/system/logging_configuration/formatters/color_formatter.py b/freemocap/system/logging_configuration/formatters/color_formatter.py
deleted file mode 100644
index 8f72fb55..00000000
--- a/freemocap/system/logging_configuration/formatters/color_formatter.py
+++ /dev/null
@@ -1,43 +0,0 @@
-import copy
-import logging
-
-from .custom_formatter import CustomFormatter
-from ..log_format_string import LOG_POINTER_STRING
-from ..logging_color_helpers import get_hashed_color
-
-LOG_COLOR_CODES = {
- "LOOP": "\033[90m", # Grey
- "TRACE": "\033[37m", # White
- "DEBUG": "\033[34m", # Blue
- "INFO": "\033[96m", # Cyan
- "SUCCESS": "\033[95m", # Magenta
- "API": "\033[92m", # Green
- "WARNING": "\033[33m", # Yellow
- "ERROR": "\033[41m", # Red background
-}
-
-
-class ColorFormatter(CustomFormatter):
- """Adds ANSI colors to PID, TID, and log messages"""
-
- def format(self, record: logging.LogRecord) -> str:
- # Pre-format exception text so the traceback object doesn't need to survive the copy
- if record.exc_info and not record.exc_text:
- record.exc_text = self.formatException(record.exc_info)
-
- # Shallow copy to avoid mutating the original record (traceback objects can't be deepcopied)
- record = copy.copy(record)
- record.exc_info = None
-
- record.pid_color = get_hashed_color(record.process)
- record.tid_color = get_hashed_color(record.thread)
-
- # Apply level color to message
- level_color = LOG_COLOR_CODES.get(record.levelname, "")
- record.msg = f"{level_color}{record.msg}\033[0m"
-
- # Format with parent class
- formatted = super().format(record)
- formatted = f"{level_color}{formatted}\033[0m"
- # Add color to structural elements
- return formatted.replace(LOG_POINTER_STRING, f"{level_color}{LOG_POINTER_STRING}\033[0m")
\ No newline at end of file
diff --git a/freemocap/system/logging_configuration/formatters/custom_formatter.py b/freemocap/system/logging_configuration/formatters/custom_formatter.py
deleted file mode 100644
index f278cb73..00000000
--- a/freemocap/system/logging_configuration/formatters/custom_formatter.py
+++ /dev/null
@@ -1,13 +0,0 @@
-import logging
-from datetime import datetime
-
-
-class CustomFormatter(logging.Formatter):
- """Base formatter with microsecond timestamps and structured formatting"""
-
- def __init__(self, format_string: str):
- super().__init__(fmt=format_string, datefmt="%Y-%m-%dT%H:%M:%S")
- self.format_string = format_string
-
- def formatTime(self, record: logging.LogRecord, datefmt: str = None) -> str:
- return datetime.fromtimestamp(record.created).strftime("%Y-%m-%dT%H:%M:%S.%f")[:-3]
diff --git a/freemocap/system/logging_configuration/handlers/__init__.py b/freemocap/system/logging_configuration/handlers/__init__.py
deleted file mode 100644
index e69de29b..00000000
diff --git a/freemocap/system/logging_configuration/handlers/colored_console.py b/freemocap/system/logging_configuration/handlers/colored_console.py
deleted file mode 100644
index b6f7614a..00000000
--- a/freemocap/system/logging_configuration/handlers/colored_console.py
+++ /dev/null
@@ -1,15 +0,0 @@
-import logging
-import sys
-
-from ..filters.delta_time import DeltaTimeFilter
-from ..formatters.color_formatter import ColorFormatter
-from ..log_format_string import COLOR_LOG_FORMAT_STRING
-
-
-class ColoredConsoleHandler(logging.StreamHandler):
- """Colorized console output with Ξ”t and process/thread coloring"""
-
- def __init__(self, stream=sys.stdout):
- super().__init__(stream)
- self.setFormatter(ColorFormatter(COLOR_LOG_FORMAT_STRING))
- self.addFilter(DeltaTimeFilter())
diff --git a/freemocap/system/logging_configuration/handlers/websocket_log_queue_handler.py b/freemocap/system/logging_configuration/handlers/websocket_log_queue_handler.py
deleted file mode 100644
index 843a7e5d..00000000
--- a/freemocap/system/logging_configuration/handlers/websocket_log_queue_handler.py
+++ /dev/null
@@ -1,142 +0,0 @@
-import logging
-import multiprocessing
-import queue as queue_module
-import traceback as traceback_module
-from multiprocessing import Queue
-from typing import Optional
-
-from pydantic import BaseModel
-
-from ..filters.delta_time import DeltaTimeFilter
-from ..formatters.custom_formatter import CustomFormatter
-from ..log_format_string import LOG_FORMAT_STRING
-from ..log_levels import LogLevels
-
-MIN_LOG_LEVEL_FOR_WEBSOCKET = LogLevels.TRACE.value
-
-
-class LogRecordModel(BaseModel):
- name: str
- msg: str
- args: list
- levelname: str
- levelno: int
- pathname: str
- filename: str
- module: str
- lineno: int
- funcName: str
- created: float
- msecs: float
- relativeCreated: float
- thread: int
- threadName: str
- processName: str
- process: int
- delta_t: str
- message: str
- asctime: str
- formatted_message: str
- type: str
- message_type: str = "log_record"
- exc_info: str | None = None
- exc_text: str | None = None
- stack_info: str | None = None
-
-
-class WebSocketQueueHandler(logging.Handler):
- """Formats logs and puts them in a queue for websocket distribution.
-
- Uses non-blocking put: if the queue is full, the log message is
- silently dropped. Blocking the calling thread (which may be a camera
- frame-grab loop) to wait for the websocket relay to drain is never
- acceptable.
-
- Builds the queue payload from explicit field extraction rather than
- splatting record.__dict__, which avoids pickling failures from
- unpicklable args (cv2.VideoCapture, CameraConfig, etc.), unknown
- fields (taskName on 3.12+), and traceback frame locals.
- """
-
- def __init__(self, queue: multiprocessing.Queue):
- super().__init__()
- self.queue = queue
- self.addFilter(DeltaTimeFilter())
- self.setFormatter(CustomFormatter(LOG_FORMAT_STRING))
-
- def emit(self, record: logging.LogRecord) -> None:
- if record.levelno < MIN_LOG_LEVEL_FOR_WEBSOCKET:
- return
- try:
- # Format first β€” populates record.message and record.asctime
- formatted_message = self.format(record)
-
- # Convert exc_info to string safely
- exc_info_str: str | None = None
- if record.exc_info:
- try:
- exc_info_str = "".join(
- traceback_module.format_exception(*record.exc_info)
- )
- except Exception:
- exc_info_str = f"{record.exc_info[0].__name__}: {record.exc_info[1]}"
-
- exc_text_str: str | None = None
- if record.exc_text:
- exc_text_str = str(record.exc_text)
-
- stack_info_str: str | None = None
- if record.stack_info:
- stack_info_str = str(record.stack_info)
-
- payload = LogRecordModel(
- name=record.name,
- msg=str(record.msg) if record.msg is not None else "",
- args=[], # Args are already baked into record.message β€” no need to pickle them
- levelname=record.levelname,
- levelno=record.levelno,
- pathname=record.pathname,
- filename=record.filename,
- module=record.module,
- lineno=record.lineno,
- funcName=record.funcName,
- created=record.created,
- msecs=record.msecs,
- relativeCreated=record.relativeCreated,
- thread=record.thread or 0,
- threadName=record.threadName or "",
- processName=record.processName or "",
- process=record.process or 0,
- delta_t=getattr(record, "delta_t", "0.000ms"),
- message=record.getMessage(),
- asctime=getattr(record, "asctime", ""),
- formatted_message=formatted_message,
- type="LogRecord",
- exc_info=exc_info_str,
- exc_text=exc_text_str,
- stack_info=stack_info_str,
- ).model_dump()
-
- self.queue.put_nowait(payload)
- except queue_module.Full:
- pass
- except Exception:
- self.handleError(record)
-
-
-MAX_WEBSOCKET_LOG_QUEUE_SIZE = 1000
-WEBSOCKET_LOG_QUEUE: Optional[Queue] = None
-
-
-def create_websocket_log_queue() -> Queue:
- global WEBSOCKET_LOG_QUEUE
- if WEBSOCKET_LOG_QUEUE is None:
- WEBSOCKET_LOG_QUEUE = Queue(maxsize=MAX_WEBSOCKET_LOG_QUEUE_SIZE)
- return WEBSOCKET_LOG_QUEUE
-
-
-def get_websocket_log_queue() -> Queue:
- global WEBSOCKET_LOG_QUEUE
- if WEBSOCKET_LOG_QUEUE is None:
- raise ValueError("Websocket log queue not created yet")
- return WEBSOCKET_LOG_QUEUE
diff --git a/freemocap/system/logging_configuration/log_format_string.py b/freemocap/system/logging_configuration/log_format_string.py
deleted file mode 100644
index 94ae0a86..00000000
--- a/freemocap/system/logging_configuration/log_format_string.py
+++ /dev/null
@@ -1,18 +0,0 @@
-LOG_POINTER_STRING = "β””>>"
-LOG_FORMAT_STRING_WO_PID_TID = LOG_POINTER_STRING + (
- " %(message)s | "
- " %(levelname)s | "
- " %(delta_t)s | "
- " %(name)s.%(funcName)s():%(lineno)s | "
- " %(asctime)s | "
-)
-
-LOG_FORMAT_STRING = LOG_FORMAT_STRING_WO_PID_TID + (
- " PID:%(process)d:%(processName)s | "
- " TID:%(thread)d:%(threadName)s"
-)
-
-COLOR_LOG_FORMAT_STRING = LOG_FORMAT_STRING_WO_PID_TID + (
- " %(pid_color)sPID:%(process)d:%(processName)s\033[0m | "
- " %(tid_color)sTID:%(thread)d:%(threadName)s\033[0m"
-)
diff --git a/freemocap/system/logging_configuration/log_levels.py b/freemocap/system/logging_configuration/log_levels.py
deleted file mode 100644
index d1a9d680..00000000
--- a/freemocap/system/logging_configuration/log_levels.py
+++ /dev/null
@@ -1,14 +0,0 @@
-import logging
-from enum import Enum
-
-
-class LogLevels(Enum):
- ALL = logging.NOTSET # 0 # All logs, including those from third-party libraries
- LOOP = 3 # For logs that are printed in a loop (ONLY FOR DEBUGGING, REMOVE BEFORE PRODUCTION)
- TRACE = 5 # Low level logs for deep debugging
- DEBUG = logging.DEBUG # 10 # Detailed information for devs and curious folk
- INFO = logging.INFO # 20 # General information about the program
- SUCCESS = logging.INFO + 2 # 22 # OMG, something worked!
- API = logging.INFO + 5 # 25 # API calls/responses
- WARNING = logging.WARNING # 30 # Something unexpected happened, but it's necessarily an error
- ERROR = logging.ERROR # 40 # Something went wrong!
diff --git a/freemocap/system/logging_configuration/log_test_messages.py b/freemocap/system/logging_configuration/log_test_messages.py
deleted file mode 100644
index c15dbd8f..00000000
--- a/freemocap/system/logging_configuration/log_test_messages.py
+++ /dev/null
@@ -1,28 +0,0 @@
-import logging
-
-
-def log_test_messages(logger: logging.Logger):
- logger.loop("This is a LOOP message, value `4` -> For logs that are printed in a loop")
- logger.trace("This is a TRACE message, value `5` -> Low level logs for deep debugging")
- logger.debug("This is a DEBUG message, value `10` -> Detailed information for devs and curious folk")
- logger.info("This is an INFO message, value `20` -> General information about the program")
- logger.success("This is a SUCCESS message, value `22` -> OMG, something worked!")
- logger.api("This is an IMPORTANT message, value `25` -> API calls/responses")
- logger.warning(
- "This is a WARNING message, value `30` -> Something unexpected happened, but it's necessarily an error"
- )
- logger.error("This is an ERROR message, value `40` -> Something went wrong!")
-
- print("----------This is a regular ol' print message.------------------")
-
- import time
-
- iters = 10
- for iter in range(1, iters + 1):
- wait_time = iter / 10
- logger.loop("Starting timers loop (Ξ”t should probably be near 0, unless you've got other stuff going on)")
- tic = time.perf_counter_ns()
- time.sleep(wait_time)
- toc = time.perf_counter_ns()
- elapsed_time = (toc - tic) / 1e9
- logger.trace(f"Done {wait_time} sec timer - elapsed time:{elapsed_time}s (Ξ”t should be ~{wait_time}s)")
diff --git a/freemocap/system/logging_configuration/logger_builder.py b/freemocap/system/logging_configuration/logger_builder.py
deleted file mode 100644
index 1593e3f8..00000000
--- a/freemocap/system/logging_configuration/logger_builder.py
+++ /dev/null
@@ -1,67 +0,0 @@
-import logging
-from logging.config import dictConfig
-from multiprocessing import Queue
-from typing import Optional
-
-from .filters.delta_time import DeltaTimeFilter
-from .filters.stringify_traceback import StringifyTracebackFilter
-from .handlers.colored_console import ColoredConsoleHandler
-from .handlers.websocket_log_queue_handler import WebSocketQueueHandler
-from .log_format_string import LOG_FORMAT_STRING
-from .log_levels import LogLevels
-from ..default_paths import get_log_file_path
-
-
-class LoggerBuilder:
-
- def __init__(self,
- level: LogLevels,
- queue: Optional[Queue]):
- self.level = level
- self.queue = queue
- dictConfig({"version": 1, "disable_existing_loggers": False})
-
- def _configure_root_logger(self) -> None:
- root = logging.getLogger()
- root.setLevel(self.level.value)
- # Stringify live traceback objects before any handler sees the record,
- # to avoid pickling errors when sending to the frontend
- root.addFilter(StringifyTracebackFilter())
-
- # Clear existing handlers
- for handler in root.handlers[:]:
- root.removeHandler(handler)
-
- # Add handlers
- root.addHandler(self._build_file_handler())
-
- if self.queue:
- root.addHandler(self._build_websocket_handler())
-
- root.addHandler(self._build_console_handler())
-
- def _build_console_handler(self) -> logging.Handler:
- handler = ColoredConsoleHandler()
- handler.setLevel(self.level.value)
- return handler
-
- def _build_file_handler(self) -> logging.Handler:
- handler = logging.FileHandler(get_log_file_path(), encoding="utf-8")
- handler.setFormatter(logging.Formatter(LOG_FORMAT_STRING))
- handler.addFilter(DeltaTimeFilter())
- handler.setLevel(LogLevels.TRACE.value)
- return handler
-
- def _build_websocket_handler(self) -> logging.Handler:
- handler = WebSocketQueueHandler(self.queue)
- handler.setLevel(self.level.value)
- return handler
-
- def configure(self) -> None:
- """Configure the root logger, clearing any pre-existing handlers.
-
- Always runs β€” if something else added handlers before us (a library
- calling basicConfig, etc.) we replace them with our full handler set
- so the WebSocketQueueHandler is guaranteed to be attached.
- """
- self._configure_root_logger()
\ No newline at end of file
diff --git a/freemocap/system/logging_configuration/logging_color_helpers.py b/freemocap/system/logging_configuration/logging_color_helpers.py
deleted file mode 100644
index 9334f57b..00000000
--- a/freemocap/system/logging_configuration/logging_color_helpers.py
+++ /dev/null
@@ -1,41 +0,0 @@
-def ensure_min_brightness(value: int, threshold=100):
- """Ensure the RGB value is above a certain threshold."""
- return max(value, threshold)
-
-
-def ensure_not_grey(r: int, g: int, b: int, threshold_diff: int = 100):
- """Ensure that the color isn't desaturated grey by making one color component dominant."""
- max_val = max(r, g, b)
- if abs(r - g) < threshold_diff and abs(r - b) < threshold_diff and abs(g - b) < threshold_diff:
- if max_val == r:
- r = 255
- elif max_val == g:
- g = 255
- else:
- b = 255
- return r, g, b
-
-
-def ensure_not_red(r: int, g: int, b: int, threshold_diff: int = 100):
- """Ensure that the color isn't too red (which looks like an error)."""
- if r - g > threshold_diff and r - b > threshold_diff:
- r = int(r / 2)
- if g > b:
- g = 255
- else:
- b = 255
- return r, g, b
-
-
-def get_hashed_color(value: int):
- """Generate a consistent random color for the given value."""
- # Use modulo to ensure it's within the range of normal terminal colors.
- hashed = hash(value) % 0xFFFFFF # Keep within RGB 24-bit color
- red = ensure_min_brightness(hashed >> 16 & 255)
- green = ensure_min_brightness(hashed >> 8 & 255)
- blue = ensure_min_brightness(hashed & 255)
-
- red, green, blue = ensure_not_grey(red, green, blue)
- red, green, blue = ensure_not_red(red, green, blue)
-
- return "\033[38;2;{};{};{}m".format(red, green, blue)
diff --git a/freemocap/system/logging_configuration/package_log_quieters.py b/freemocap/system/logging_configuration/package_log_quieters.py
deleted file mode 100644
index dd991a35..00000000
--- a/freemocap/system/logging_configuration/package_log_quieters.py
+++ /dev/null
@@ -1,16 +0,0 @@
-import logging
-
-
-def suppress_noisy_package_logs():
- # Suppress some external loggers that are too verbose for our context/taste
- logging.getLogger("tzlocal").setLevel(logging.WARNING)
- logging.getLogger("matplotlib").setLevel(logging.WARNING)
- logging.getLogger("httpx").setLevel(logging.WARNING)
- logging.getLogger("asyncio").setLevel(logging.WARNING)
- logging.getLogger("websockets").setLevel(logging.INFO)
- logging.getLogger("websocket").setLevel(logging.INFO)
- logging.getLogger("watchfiles").setLevel(logging.WARNING)
- logging.getLogger("httpcore").setLevel(logging.WARNING)
- logging.getLogger("urllib3").setLevel(logging.WARNING)
- logging.getLogger("comtypes").setLevel(logging.WARNING)
- logging.getLogger("uvicorn").setLevel(logging.WARNING)
diff --git a/freemocap/utilities/check_main_processs_heartbeat.py b/freemocap/utilities/check_main_processs_heartbeat.py
index 34f6b535..09611540 100644
--- a/freemocap/utilities/check_main_processs_heartbeat.py
+++ b/freemocap/utilities/check_main_processs_heartbeat.py
@@ -3,14 +3,15 @@ import multiprocessing
import os
import signal
import time
+from multiprocessing.sharedctypes import Synchronized
from typing import Final
logger = logging.getLogger(__name__)
HEARTBEAT_INTERVAL_SECONDS: Final[float] = 1.0
HEARTBEAT_TIMEOUT_SECONDS: Final[float] = 300.0
def check_main_process_heartbeat(*,
- heartbeat_timestamp: multiprocessing.Value,
- global_kill_flag: multiprocessing.Value) -> bool:
+ heartbeat_timestamp: Synchronized,
+ global_kill_flag: Synchronized) -> bool:
"""Check if main process is still alive based on heartbeat."""
current_time: float = time.perf_counter()
last_heartbeat: float = heartbeat_timestamp.value
diff --git a/uv.lock b/uv.lock
index ed29ef71..c0426c49 100644
--- a/uv.lock
+++ b/uv.lock
@@ -3,15 +3,20 @@ revision = 3
requires-python = ">=3.11"
resolution-markers = [
"python_full_version >= '3.14' and sys_platform == 'darwin'",
- "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'darwin'",
+ "python_full_version == '3.13.*' and sys_platform == 'darwin'",
+ "python_full_version == '3.12.*' and sys_platform == 'darwin'",
"python_full_version >= '3.14' and platform_machine == 'aarch64' and sys_platform == 'linux'",
- "python_full_version >= '3.12' and python_full_version < '3.14' and platform_machine == 'aarch64' and sys_platform == 'linux'",
+ "python_full_version == '3.13.*' and platform_machine == 'aarch64' and sys_platform == 'linux'",
+ "python_full_version == '3.12.*' and platform_machine == 'aarch64' and sys_platform == 'linux'",
"python_full_version >= '3.14' and sys_platform == 'win32'",
"python_full_version >= '3.14' and sys_platform == 'emscripten'",
"(python_full_version >= '3.14' and platform_machine != 'aarch64' and sys_platform == 'linux') or (python_full_version >= '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'linux' and sys_platform != 'win32')",
- "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'",
- "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'",
- "(python_full_version >= '3.12' and python_full_version < '3.14' and platform_machine != 'aarch64' and sys_platform == 'linux') or (python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'linux' and sys_platform != 'win32')",
+ "python_full_version == '3.13.*' and sys_platform == 'win32'",
+ "python_full_version == '3.12.*' and sys_platform == 'win32'",
+ "python_full_version == '3.13.*' and sys_platform == 'emscripten'",
+ "python_full_version == '3.12.*' and sys_platform == 'emscripten'",
+ "(python_full_version == '3.13.*' and platform_machine != 'aarch64' and sys_platform == 'linux') or (python_full_version == '3.13.*' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'linux' and sys_platform != 'win32')",
+ "(python_full_version == '3.12.*' and platform_machine != 'aarch64' and sys_platform == 'linux') or (python_full_version == '3.12.*' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'linux' and sys_platform != 'win32')",
"python_full_version < '3.12' and sys_platform == 'darwin'",
"python_full_version < '3.12' and platform_machine == 'aarch64' and sys_platform == 'linux'",
"python_full_version < '3.12' and sys_platform == 'win32'",
@@ -86,6 +91,15 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/da/42/e921fccf5015463e32a3cf6ee7f980a6ed0f395ceeaa45060b61d86486c2/anyio-4.13.0-py3-none-any.whl", hash = "sha256:08b310f9e24a9594186fd75b4f73f4a4152069e3853f1ed8bfbf58369f4ad708", size = 114353, upload-time = "2026-03-24T12:59:08.246Z" },
]
+[[package]]
+name = "attrs"
+version = "26.1.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/9a/8e/82a0fe20a541c03148528be8cac2408564a6c9a0cc7e9171802bc1d26985/attrs-26.1.0.tar.gz", hash = "sha256:d03ceb89cb322a8fd706d4fb91940737b6642aa36998fe130a9bc96c985eff32", size = 952055, upload-time = "2026-03-19T14:22:25.026Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/64/b4/17d4b0b2a2dc85a6df63d1157e028ed19f90d4cd97c36717afef2bc2f395/attrs-26.1.0-py3-none-any.whl", hash = "sha256:c647aa4a12dfbad9333ca4e71fe62ddc36f4e63b2d260a37a8b83d2f043ac309", size = 67548, upload-time = "2026-03-19T14:22:23.645Z" },
+]
+
[[package]]
name = "av"
version = "17.0.0"
@@ -650,6 +664,56 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/cb/b1/3846dd7f199d53cb17f49cba7e651e9ce294d8497c8c150530ed11865bb8/iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12", size = 7484, upload-time = "2025-10-18T21:55:41.639Z" },
]
+[[package]]
+name = "jax"
+version = "0.9.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "jaxlib" },
+ { name = "ml-dtypes" },
+ { name = "numpy" },
+ { name = "opt-einsum" },
+ { name = "scipy" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/92/4c/5aca25abd45fa38dd136e5ae2010376518c67950e1f9408e0c5c93fcf77d/jax-0.9.2.tar.gz", hash = "sha256:42b28017b3e6b57a44b0274cc15f5153239c4873959030399ac1afc009c22365", size = 2662784, upload-time = "2026-03-18T23:28:10.471Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/17/9c/e897231c880f69e32251d3b1145894d7a04e4342d9bef8d29644c440d11b/jax-0.9.2-py3-none-any.whl", hash = "sha256:822a8ae155ab42e7bc59f2ae7a28705bcfccb01a7e76abfc8ae996190cdc5598", size = 3099142, upload-time = "2026-03-18T23:25:59.94Z" },
+]
+
+[[package]]
+name = "jaxlib"
+version = "0.9.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "ml-dtypes" },
+ { name = "numpy" },
+ { name = "scipy" },
+]
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b1/2c/0ba08670ab04f6094f0cda4cdc89818946007d0d1dfefa636eab6c7d5392/jaxlib-0.9.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:785f177c3eb78cb7dc797c55ed5c4b6312141845c9a686957e484bacbfce5e88", size = 58762159, upload-time = "2026-03-18T23:26:55.405Z" },
+ { url = "https://files.pythonhosted.org/packages/14/ea/cf8186c7f226c5786056ac05fc0d8bf39e9f82b0af80252098556f514502/jaxlib-0.9.2-cp311-cp311-manylinux_2_27_aarch64.whl", hash = "sha256:306de54a1de7386c806c723e356ce332d923ef748f8a72d674fefb748121d4dc", size = 77732197, upload-time = "2026-03-18T23:26:58.944Z" },
+ { url = "https://files.pythonhosted.org/packages/2c/f4/ef9a6ef930c455ccb73daab8da8e25bca1a1b0901280365a5ee6afab9ef8/jaxlib-0.9.2-cp311-cp311-manylinux_2_27_x86_64.whl", hash = "sha256:9ac995b4ba1aaeedae0d69f319987d515dcaecd4505b642b6312f9e15439351f", size = 83299115, upload-time = "2026-03-18T23:27:02.403Z" },
+ { url = "https://files.pythonhosted.org/packages/ef/8b/8e2c2059ebe7894abbf8e35077e2f528c35c499dd710cc89508f941117ee/jaxlib-0.9.2-cp311-cp311-win_amd64.whl", hash = "sha256:501df74472437ffc11aa3bd8f7fc8b1da274f80bd176d33012cf0d604093667d", size = 62816957, upload-time = "2026-03-18T23:27:05.851Z" },
+ { url = "https://files.pythonhosted.org/packages/51/15/ff3d9fde15b5146a0164505085312d8c9c0b0bbd7be5a15218ead2593307/jaxlib-0.9.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:97c2fbe58cbee4a27d94ca735d709d231b299ab6ed8b3b1075f52d864dfd32c1", size = 58770928, upload-time = "2026-03-18T23:27:08.94Z" },
+ { url = "https://files.pythonhosted.org/packages/88/79/699aa47d2256b2edbb75a68a8f1a1ee4d34dfb84b8842a963caeb9a8cb03/jaxlib-0.9.2-cp312-cp312-manylinux_2_27_aarch64.whl", hash = "sha256:fef02d846863b726e72452993883a8596eac325f22a2ec7ea921da0fbc5509b4", size = 77733913, upload-time = "2026-03-18T23:27:12.927Z" },
+ { url = "https://files.pythonhosted.org/packages/33/a0/ddb3a71359c1df61f3edc408936b5bda7ed402e78ae7e9ef6afd438577c6/jaxlib-0.9.2-cp312-cp312-manylinux_2_27_x86_64.whl", hash = "sha256:88b276a71f4f2071b1fd2e922abfd67c87c6977a551a1036febcea78d5ef7e22", size = 83318134, upload-time = "2026-03-18T23:27:16.237Z" },
+ { url = "https://files.pythonhosted.org/packages/2d/57/09d6a9e2a8bc8e3ea79eb8e980f8ea2aea2d9dec3793755f5765657f6e11/jaxlib-0.9.2-cp312-cp312-win_amd64.whl", hash = "sha256:c2f0837cc0788746301e68ae9eda468e6a8a7734dc4d529f26a2cb60fb56c657", size = 62846539, upload-time = "2026-03-18T23:27:19.869Z" },
+ { url = "https://files.pythonhosted.org/packages/09/d5/e5416c39e77eb1987479ef3b67930af9e78ecf65e7eb8a6cbe40b2aa0b66/jaxlib-0.9.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:52a0032508f8cf5791c7a7bee142531ee706c3c05518117fb0b6ee8d5e17fde7", size = 58772433, upload-time = "2026-03-18T23:27:23.188Z" },
+ { url = "https://files.pythonhosted.org/packages/56/57/f3d4bda9dcaae11f32fcbb29d7ecda1c36689b289f04b9e6902647876c0c/jaxlib-0.9.2-cp313-cp313-manylinux_2_27_aarch64.whl", hash = "sha256:bef61eef36ed38cec1069ea973f88af9e03335e884f6501ec3fe7f6222a1555b", size = 77736401, upload-time = "2026-03-18T23:27:26.387Z" },
+ { url = "https://files.pythonhosted.org/packages/a5/52/203497d40f365a6b4f924ad49d93d226d6853b3ada198623c96c11500027/jaxlib-0.9.2-cp313-cp313-manylinux_2_27_x86_64.whl", hash = "sha256:b6d5003e3add5c346a34ae9edc47058cbc2db60c8ed5c50096522176daf01c9f", size = 83319274, upload-time = "2026-03-18T23:27:30.025Z" },
+ { url = "https://files.pythonhosted.org/packages/c7/25/2d585ecf7cb4c982387b4f35ae6da8beb09d05665370bbff56b772e22925/jaxlib-0.9.2-cp313-cp313-win_amd64.whl", hash = "sha256:2d445dab57debd8c26b416c8bc91a4704ba6d7169788a961e4b15419bc3f4254", size = 62847296, upload-time = "2026-03-18T23:27:33.362Z" },
+ { url = "https://files.pythonhosted.org/packages/38/a9/a458a576f14c61de7a53105aa292acdb2f510352b44278dfe24b926f6d4a/jaxlib-0.9.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:6ffb22eccf07bfc8c9760bfbcdaa268df9b3745739e8397bfce5daee5d79cb51", size = 58880385, upload-time = "2026-03-18T23:27:36.297Z" },
+ { url = "https://files.pythonhosted.org/packages/5b/10/7eb27c376691f7864becf27844b3c818f015e86e9f8390614c0048c2e62e/jaxlib-0.9.2-cp313-cp313t-manylinux_2_27_aarch64.whl", hash = "sha256:6949d7ecd869c117e7ea8361866e60cf229c3cd9d6afdc37425a43cf83fc89e9", size = 77849690, upload-time = "2026-03-18T23:27:39.943Z" },
+ { url = "https://files.pythonhosted.org/packages/80/e0/0bc84ff53bbc599a9925fa7017a226c646de6569ba1871b36694af8e200a/jaxlib-0.9.2-cp313-cp313t-manylinux_2_27_x86_64.whl", hash = "sha256:e8e8165f0f647933f0ff9e1e4d9937d541841d3672a20db73f5ccb5e842b0edc", size = 83427722, upload-time = "2026-03-18T23:27:43.391Z" },
+ { url = "https://files.pythonhosted.org/packages/75/06/aa1e2c36db1ed893ea4a89528a9cc8617a31919ffe7307c4f56aaa87e5cc/jaxlib-0.9.2-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:bab168d25555464461bd077323484f690c471e69ce8b0c39a39fb81b3e3a8bf0", size = 58776023, upload-time = "2026-03-18T23:27:46.907Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/ed/7f2cd3c9d91c95457f503311be4bc648b3a4aa79bfe1c874b16fa54c2207/jaxlib-0.9.2-cp314-cp314-manylinux_2_27_aarch64.whl", hash = "sha256:be4627c42d44add7fe17d284ef579ff8d159e3cb6947f6437758f34177e878e6", size = 77748670, upload-time = "2026-03-18T23:27:50.009Z" },
+ { url = "https://files.pythonhosted.org/packages/c0/a1/461f25959e9eb0a46722d00c01cfb1dd82e8889dfa1c228f13e0cfbe948d/jaxlib-0.9.2-cp314-cp314-manylinux_2_27_x86_64.whl", hash = "sha256:3d7151140a4936f3218b2d1b1343dd237bd2865cf51442884b6d82fe884a3de7", size = 83330703, upload-time = "2026-03-18T23:27:54.578Z" },
+ { url = "https://files.pythonhosted.org/packages/21/98/34a9d156f61777abd9d4e74781fcd99fcf1bb77533e617c2d0ee1c5602fe/jaxlib-0.9.2-cp314-cp314-win_amd64.whl", hash = "sha256:87bd42c9f18c9cc9a45371d02ecdbdb574ea1e2277149601a92e14a24c4bbc86", size = 65247657, upload-time = "2026-03-18T23:27:57.855Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/c9/5653eb4be25a3235be2606e1e8fb28fb8c6f0f48b33b947e47f0dc7e7ec0/jaxlib-0.9.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:b8998f9fa6e67bf956044c310023f6a7bbfaa0d8955f11d928404c8f6eb02fcf", size = 58882789, upload-time = "2026-03-18T23:28:00.834Z" },
+ { url = "https://files.pythonhosted.org/packages/41/8d/ef12f6a2f158d47480cded343c85078a02e9fc7d4952dafcd95dab6f9127/jaxlib-0.9.2-cp314-cp314t-manylinux_2_27_aarch64.whl", hash = "sha256:35b473df72dbc2cfda0cb1b3de7521a2150a0aa5ef57ed7583eeceb012dc17c0", size = 77850880, upload-time = "2026-03-18T23:28:04.063Z" },
+ { url = "https://files.pythonhosted.org/packages/c9/6a/6dff1e6e3f9d918bc777e087091bdefbd7d33328c1d1b152429c6cdcf723/jaxlib-0.9.2-cp314-cp314t-manylinux_2_27_x86_64.whl", hash = "sha256:bbe59bdef668ff5fd998c6d88e8df9a32ab95bec0dea3d2b5f7a11b86a9a6788", size = 83425685, upload-time = "2026-03-18T23:28:07.906Z" },
+]
+
[[package]]
name = "joblib"
version = "1.5.3"
@@ -893,20 +957,72 @@ wheels = [
[[package]]
name = "mediapipe"
-version = "0.10.33"
+version = "0.10.14"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "absl-py" },
+ { name = "attrs" },
{ name = "flatbuffers" },
+ { name = "jax" },
+ { name = "jaxlib" },
{ name = "matplotlib" },
{ name = "numpy" },
{ name = "opencv-contrib-python" },
+ { name = "protobuf" },
{ name = "sounddevice" },
]
wheels = [
- { url = "https://files.pythonhosted.org/packages/a7/10/593aa6429e6e2dc309b19761804b7992d61a0ef485339435f164b83c2759/mediapipe-0.10.33-py3-none-macosx_11_0_arm64.whl", hash = "sha256:f8dd00affe7d02479cb2e5af8ca5899d2618d6cbc316507a56d41cf62cdbc4d2", size = 29397266, upload-time = "2026-03-18T22:15:58.627Z" },
- { url = "https://files.pythonhosted.org/packages/7b/bc/0695a2af4e35a8cbeaf0957eb2342acc1541ab363f36e8b51018193e05df/mediapipe-0.10.33-py3-none-manylinux_2_28_x86_64.whl", hash = "sha256:410e796215d9eb2cf1fdd6aecbf416abab6e74a5eea5572f4b6da94658c764d9", size = 11377495, upload-time = "2026-03-18T22:16:01.08Z" },
- { url = "https://files.pythonhosted.org/packages/a3/e9/c11a67dfffc2e2d9f9e68e790fc1f1342962669a0d8546c9a479a18c07a2/mediapipe-0.10.33-py3-none-win_amd64.whl", hash = "sha256:25c336c1697d51dddde99dd4568f2a22a1ac46f3f28f5a5bf583a4edf55a282d", size = 10574424, upload-time = "2026-03-18T22:16:03.087Z" },
+ { url = "https://files.pythonhosted.org/packages/31/fb/09fde872bd3c92720860adc25ffee605f18d3a5165320ae8cd2d71da7003/mediapipe-0.10.14-cp311-cp311-macosx_11_0_universal2.whl", hash = "sha256:4737fce6107bd21e420a6b2aad2c721fbc4cc318f1258b68f0665f10225bde1d", size = 50187308, upload-time = "2024-05-08T17:24:53.339Z" },
+ { url = "https://files.pythonhosted.org/packages/b0/17/8e0ca5c867fe9b9943945b3a0033158fd89ae031c0a2e7dd3dd9101b2f3f/mediapipe-0.10.14-cp311-cp311-macosx_11_0_x86_64.whl", hash = "sha256:e5f8fdf512da074c225219f4e09723f612cdd3449c4793693fd360dc817c9261", size = 50098859, upload-time = "2024-05-08T17:30:21.737Z" },
+ { url = "https://files.pythonhosted.org/packages/74/25/ee5679b8ddc58e97d417cfbc1c2b56346ea085a457aa61901ad225cc80bf/mediapipe-0.10.14-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1061d499d341e7f11dd7f18d5bee747e862db8ef47665ff777323282225d4315", size = 33017085, upload-time = "2024-05-08T17:30:27.617Z" },
+ { url = "https://files.pythonhosted.org/packages/2f/ee/2e9e730dc4d98c8a9541b57bad173bebddf0e4c78f179acc100248c58066/mediapipe-0.10.14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a807328339e7356fda0bb14df12fedbf1d33bdf81649c5f8666b0026b1cc30b4", size = 35664771, upload-time = "2024-05-08T17:30:36.062Z" },
+ { url = "https://files.pythonhosted.org/packages/c1/0f/4dc0802131756a9fe4d46d2824352014b85a75baca386cb9e43057f39f15/mediapipe-0.10.14-cp311-cp311-win_amd64.whl", hash = "sha256:1b7687d3b63590bcc601ad195b923b80a1b2d6be5cdf43711edc661cecd3dd47", size = 50834141, upload-time = "2024-05-08T17:30:43.471Z" },
+ { url = "https://files.pythonhosted.org/packages/2d/df/be410905b9757de4b00891dd34236d96e6db150b624f28cc27cd90c74564/mediapipe-0.10.14-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:aa2298c1886716cde6bd7ce96aba1505d67d52edaba856f6c2e1ab905de52b0d", size = 50203567, upload-time = "2024-05-08T17:30:50.451Z" },
+ { url = "https://files.pythonhosted.org/packages/32/40/b6a2a50593e8753bf12e2dbfd130dee588eb2fc50ce74939cf6485af2756/mediapipe-0.10.14-cp312-cp312-macosx_11_0_x86_64.whl", hash = "sha256:5c97e32cbb9e9d72b78a33f011257b3cdb55b60fef70a8a864c5d2a4b6652425", size = 50117879, upload-time = "2024-05-08T17:30:58.154Z" },
+ { url = "https://files.pythonhosted.org/packages/f4/da/dfed8db260b3fbe4e24ac17dda32c55787643a656d8d4e78c55bc847efa8/mediapipe-0.10.14-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3e30ed2f39f925924de58adeec6a8e61ba6beb6959325dc0d8a1aa487a74377b", size = 33015939, upload-time = "2024-05-08T17:31:05.758Z" },
+ { url = "https://files.pythonhosted.org/packages/11/73/07c6dcbb322f86e2b8526e0073456dbdd2813d5351f772f882123c985fda/mediapipe-0.10.14-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9b1e72d754cd9e1b4b88d80ec9ead2f1cbe8424b7f883d3bda53341b982a9f8b", size = 35665742, upload-time = "2024-05-08T17:31:11.933Z" },
+ { url = "https://files.pythonhosted.org/packages/f0/26/d228fe6e9f2060dde7f7db738968bcd603e9340f064351655b5b2652a664/mediapipe-0.10.14-cp312-cp312-win_amd64.whl", hash = "sha256:ebb8350e860c8e00b7c84d71e15090fc3ac4cc9d4249892f85fb35011590e372", size = 50837898, upload-time = "2024-05-08T17:31:21.34Z" },
+]
+
+[[package]]
+name = "ml-dtypes"
+version = "0.5.4"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "numpy" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/0e/4a/c27b42ed9b1c7d13d9ba8b6905dece787d6259152f2309338aed29b2447b/ml_dtypes-0.5.4.tar.gz", hash = "sha256:8ab06a50fb9bf9666dd0fe5dfb4676fa2b0ac0f31ecff72a6c3af8e22c063453", size = 692314, upload-time = "2025-11-17T22:32:31.031Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/c6/5e/712092cfe7e5eb667b8ad9ca7c54442f21ed7ca8979745f1000e24cf8737/ml_dtypes-0.5.4-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:6c7ecb74c4bd71db68a6bea1edf8da8c34f3d9fe218f038814fd1d310ac76c90", size = 679734, upload-time = "2025-11-17T22:31:39.223Z" },
+ { url = "https://files.pythonhosted.org/packages/4f/cf/912146dfd4b5c0eea956836c01dcd2fce6c9c844b2691f5152aca196ce4f/ml_dtypes-0.5.4-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bc11d7e8c44a65115d05e2ab9989d1e045125d7be8e05a071a48bc76eb6d6040", size = 5056165, upload-time = "2025-11-17T22:31:41.071Z" },
+ { url = "https://files.pythonhosted.org/packages/a9/80/19189ea605017473660e43762dc853d2797984b3c7bf30ce656099add30c/ml_dtypes-0.5.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:19b9a53598f21e453ea2fbda8aa783c20faff8e1eeb0d7ab899309a0053f1483", size = 5034975, upload-time = "2025-11-17T22:31:42.758Z" },
+ { url = "https://files.pythonhosted.org/packages/b4/24/70bd59276883fdd91600ca20040b41efd4902a923283c4d6edcb1de128d2/ml_dtypes-0.5.4-cp311-cp311-win_amd64.whl", hash = "sha256:7c23c54a00ae43edf48d44066a7ec31e05fdc2eee0be2b8b50dd1903a1db94bb", size = 210742, upload-time = "2025-11-17T22:31:44.068Z" },
+ { url = "https://files.pythonhosted.org/packages/a0/c9/64230ef14e40aa3f1cb254ef623bf812735e6bec7772848d19131111ac0d/ml_dtypes-0.5.4-cp311-cp311-win_arm64.whl", hash = "sha256:557a31a390b7e9439056644cb80ed0735a6e3e3bb09d67fd5687e4b04238d1de", size = 160709, upload-time = "2025-11-17T22:31:46.557Z" },
+ { url = "https://files.pythonhosted.org/packages/a8/b8/3c70881695e056f8a32f8b941126cf78775d9a4d7feba8abcb52cb7b04f2/ml_dtypes-0.5.4-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:a174837a64f5b16cab6f368171a1a03a27936b31699d167684073ff1c4237dac", size = 676927, upload-time = "2025-11-17T22:31:48.182Z" },
+ { url = "https://files.pythonhosted.org/packages/54/0f/428ef6881782e5ebb7eca459689448c0394fa0a80bea3aa9262cba5445ea/ml_dtypes-0.5.4-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a7f7c643e8b1320fd958bf098aa7ecf70623a42ec5154e3be3be673f4c34d900", size = 5028464, upload-time = "2025-11-17T22:31:50.135Z" },
+ { url = "https://files.pythonhosted.org/packages/3a/cb/28ce52eb94390dda42599c98ea0204d74799e4d8047a0eb559b6fd648056/ml_dtypes-0.5.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9ad459e99793fa6e13bd5b7e6792c8f9190b4e5a1b45c63aba14a4d0a7f1d5ff", size = 5009002, upload-time = "2025-11-17T22:31:52.001Z" },
+ { url = "https://files.pythonhosted.org/packages/f5/f0/0cfadd537c5470378b1b32bd859cf2824972174b51b873c9d95cfd7475a5/ml_dtypes-0.5.4-cp312-cp312-win_amd64.whl", hash = "sha256:c1a953995cccb9e25a4ae19e34316671e4e2edaebe4cf538229b1fc7109087b7", size = 212222, upload-time = "2025-11-17T22:31:53.742Z" },
+ { url = "https://files.pythonhosted.org/packages/16/2e/9acc86985bfad8f2c2d30291b27cd2bb4c74cea08695bd540906ed744249/ml_dtypes-0.5.4-cp312-cp312-win_arm64.whl", hash = "sha256:9bad06436568442575beb2d03389aa7456c690a5b05892c471215bfd8cf39460", size = 160793, upload-time = "2025-11-17T22:31:55.358Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/a1/4008f14bbc616cfb1ac5b39ea485f9c63031c4634ab3f4cf72e7541f816a/ml_dtypes-0.5.4-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:8c760d85a2f82e2bed75867079188c9d18dae2ee77c25a54d60e9cc79be1bc48", size = 676888, upload-time = "2025-11-17T22:31:56.907Z" },
+ { url = "https://files.pythonhosted.org/packages/d3/b7/dff378afc2b0d5a7d6cd9d3209b60474d9819d1189d347521e1688a60a53/ml_dtypes-0.5.4-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ce756d3a10d0c4067172804c9cc276ba9cc0ff47af9078ad439b075d1abdc29b", size = 5036993, upload-time = "2025-11-17T22:31:58.497Z" },
+ { url = "https://files.pythonhosted.org/packages/eb/33/40cd74219417e78b97c47802037cf2d87b91973e18bb968a7da48a96ea44/ml_dtypes-0.5.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:533ce891ba774eabf607172254f2e7260ba5f57bdd64030c9a4fcfbd99815d0d", size = 5010956, upload-time = "2025-11-17T22:31:59.931Z" },
+ { url = "https://files.pythonhosted.org/packages/e1/8b/200088c6859d8221454825959df35b5244fa9bdf263fd0249ac5fb75e281/ml_dtypes-0.5.4-cp313-cp313-win_amd64.whl", hash = "sha256:f21c9219ef48ca5ee78402d5cc831bd58ea27ce89beda894428bc67a52da5328", size = 212224, upload-time = "2025-11-17T22:32:01.349Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/75/dfc3775cb36367816e678f69a7843f6f03bd4e2bcd79941e01ea960a068e/ml_dtypes-0.5.4-cp313-cp313-win_arm64.whl", hash = "sha256:35f29491a3e478407f7047b8a4834e4640a77d2737e0b294d049746507af5175", size = 160798, upload-time = "2025-11-17T22:32:02.864Z" },
+ { url = "https://files.pythonhosted.org/packages/4f/74/e9ddb35fd1dd43b1106c20ced3f53c2e8e7fc7598c15638e9f80677f81d4/ml_dtypes-0.5.4-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:304ad47faa395415b9ccbcc06a0350800bc50eda70f0e45326796e27c62f18b6", size = 702083, upload-time = "2025-11-17T22:32:04.08Z" },
+ { url = "https://files.pythonhosted.org/packages/74/f5/667060b0aed1aa63166b22897fdf16dca9eb704e6b4bbf86848d5a181aa7/ml_dtypes-0.5.4-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6a0df4223b514d799b8a1629c65ddc351b3efa833ccf7f8ea0cf654a61d1e35d", size = 5354111, upload-time = "2025-11-17T22:32:05.546Z" },
+ { url = "https://files.pythonhosted.org/packages/40/49/0f8c498a28c0efa5f5c95a9e374c83ec1385ca41d0e85e7cf40e5d519a21/ml_dtypes-0.5.4-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:531eff30e4d368cb6255bc2328d070e35836aa4f282a0fb5f3a0cd7260257298", size = 5366453, upload-time = "2025-11-17T22:32:07.115Z" },
+ { url = "https://files.pythonhosted.org/packages/8c/27/12607423d0a9c6bbbcc780ad19f1f6baa2b68b18ce4bddcdc122c4c68dc9/ml_dtypes-0.5.4-cp313-cp313t-win_amd64.whl", hash = "sha256:cb73dccfc991691c444acc8c0012bee8f2470da826a92e3a20bb333b1a7894e6", size = 225612, upload-time = "2025-11-17T22:32:08.615Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/80/5a5929e92c72936d5b19872c5fb8fc09327c1da67b3b68c6a13139e77e20/ml_dtypes-0.5.4-cp313-cp313t-win_arm64.whl", hash = "sha256:3bbbe120b915090d9dd1375e4684dd17a20a2491ef25d640a908281da85e73f1", size = 164145, upload-time = "2025-11-17T22:32:09.782Z" },
+ { url = "https://files.pythonhosted.org/packages/72/4e/1339dc6e2557a344f5ba5590872e80346f76f6cb2ac3dd16e4666e88818c/ml_dtypes-0.5.4-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:2b857d3af6ac0d39db1de7c706e69c7f9791627209c3d6dedbfca8c7e5faec22", size = 673781, upload-time = "2025-11-17T22:32:11.364Z" },
+ { url = "https://files.pythonhosted.org/packages/04/f9/067b84365c7e83bda15bba2b06c6ca250ce27b20630b1128c435fb7a09aa/ml_dtypes-0.5.4-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:805cef3a38f4eafae3a5bf9ebdcdb741d0bcfd9e1bd90eb54abd24f928cd2465", size = 5036145, upload-time = "2025-11-17T22:32:12.783Z" },
+ { url = "https://files.pythonhosted.org/packages/c6/bb/82c7dcf38070b46172a517e2334e665c5bf374a262f99a283ea454bece7c/ml_dtypes-0.5.4-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:14a4fd3228af936461db66faccef6e4f41c1d82fcc30e9f8d58a08916b1d811f", size = 5010230, upload-time = "2025-11-17T22:32:14.38Z" },
+ { url = "https://files.pythonhosted.org/packages/e9/93/2bfed22d2498c468f6bcd0d9f56b033eaa19f33320389314c19ef6766413/ml_dtypes-0.5.4-cp314-cp314-win_amd64.whl", hash = "sha256:8c6a2dcebd6f3903e05d51960a8058d6e131fe69f952a5397e5dbabc841b6d56", size = 221032, upload-time = "2025-11-17T22:32:15.763Z" },
+ { url = "https://files.pythonhosted.org/packages/76/a3/9c912fe6ea747bb10fe2f8f54d027eb265db05dfb0c6335e3e063e74e6e8/ml_dtypes-0.5.4-cp314-cp314-win_arm64.whl", hash = "sha256:5a0f68ca8fd8d16583dfa7793973feb86f2fbb56ce3966daf9c9f748f52a2049", size = 163353, upload-time = "2025-11-17T22:32:16.932Z" },
+ { url = "https://files.pythonhosted.org/packages/cd/02/48aa7d84cc30ab4ee37624a2fd98c56c02326785750cd212bc0826c2f15b/ml_dtypes-0.5.4-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:bfc534409c5d4b0bf945af29e5d0ab075eae9eecbb549ff8a29280db822f34f9", size = 702085, upload-time = "2025-11-17T22:32:18.175Z" },
+ { url = "https://files.pythonhosted.org/packages/5a/e7/85cb99fe80a7a5513253ec7faa88a65306be071163485e9a626fce1b6e84/ml_dtypes-0.5.4-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2314892cdc3fcf05e373d76d72aaa15fda9fb98625effa73c1d646f331fcecb7", size = 5355358, upload-time = "2025-11-17T22:32:19.7Z" },
+ { url = "https://files.pythonhosted.org/packages/79/2b/a826ba18d2179a56e144aef69e57fb2ab7c464ef0b2111940ee8a3a223a2/ml_dtypes-0.5.4-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0d2ffd05a2575b1519dc928c0b93c06339eb67173ff53acb00724502cda231cf", size = 5366332, upload-time = "2025-11-17T22:32:21.193Z" },
+ { url = "https://files.pythonhosted.org/packages/84/44/f4d18446eacb20ea11e82f133ea8f86e2bf2891785b67d9da8d0ab0ef525/ml_dtypes-0.5.4-cp314-cp314t-win_amd64.whl", hash = "sha256:4381fe2f2452a2d7589689693d3162e876b3ddb0a832cde7a414f8e1adf7eab1", size = 236612, upload-time = "2025-11-17T22:32:22.579Z" },
+ { url = "https://files.pythonhosted.org/packages/ad/3f/3d42e9a78fe5edf792a83c074b13b9b770092a4fbf3462872f4303135f09/ml_dtypes-0.5.4-cp314-cp314t-win_arm64.whl", hash = "sha256:11942cbf2cf92157db91e5022633c0d9474d4dfd813a909383bd23ce828a4b7d", size = 168825, upload-time = "2025-11-17T22:32:23.766Z" },
]
[[package]]
@@ -1110,6 +1226,15 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/a7/9e/7110d2c5d543ab03b9581dbb1f8e2429863e44e0c9b4960b766f230c1279/opencv_contrib_python-4.10.0.84-cp37-abi3-win_amd64.whl", hash = "sha256:47ec3160dae75f70e099b286d1a2e086d20dac8b06e759f60eaf867e6bdecba7", size = 45541421, upload-time = "2024-06-17T18:28:46.012Z" },
]
+[[package]]
+name = "opt-einsum"
+version = "3.4.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/8c/b9/2ac072041e899a52f20cf9510850ff58295003aa75525e58343591b0cbfb/opt_einsum-3.4.0.tar.gz", hash = "sha256:96ca72f1b886d148241348783498194c577fa30a8faac108586b14f1ba4473ac", size = 63004, upload-time = "2024-09-26T14:33:24.483Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/23/cd/066e86230ae37ed0be70aae89aabf03ca8d9f39c8aea0dec8029455b5540/opt_einsum-3.4.0-py3-none-any.whl", hash = "sha256:69bb92469f86a1565195ece4ac0323943e83477171b91d24c35afe028a90d7cd", size = 71932, upload-time = "2024-09-26T14:33:23.039Z" },
+]
+
[[package]]
name = "optype"
version = "0.15.0"
@@ -1350,6 +1475,20 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/80/b7/503b7d3a51b0de9a329f1323048d166e309a97bb31bdc60e6acd11d2c71f/poethepoet-0.44.0-py3-none-any.whl", hash = "sha256:36d3d834708ed069ac1e4f8ed77915c55265b7b6e01aeb2fe617c9fe9cfd524a", size = 122873, upload-time = "2026-04-06T19:40:57.369Z" },
]
+[[package]]
+name = "protobuf"
+version = "4.25.9"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/d9/8e/d08c41a8c004e1d437ef467e7c4f9c3295cd784eba48ed5d1d01f94b1dad/protobuf-4.25.9.tar.gz", hash = "sha256:b0dc7e7c68de8b1ce831dacb12fb407e838edbb8b6cc0dc3a2a6b4cbf6de9cff", size = 381040, upload-time = "2026-03-25T23:09:36.423Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a8/e9/59435bd04bdd46cb38c42a336b22f9843e8e586ff83c35a5423f8b14704e/protobuf-4.25.9-cp310-abi3-win32.whl", hash = "sha256:bde396f568b0b46fc8fbfe9f02facf25b6755b2578a3b8ac61e74b9d69499e03", size = 392879, upload-time = "2026-03-25T23:09:21.32Z" },
+ { url = "https://files.pythonhosted.org/packages/f3/16/42a5c7f1001783d2b5bfcecde10127f09010f78982c86ae409122ce3ece6/protobuf-4.25.9-cp310-abi3-win_amd64.whl", hash = "sha256:3683c05154252206f7cb2d371626514b3708199d9bcf683b503dabf3a2e38e06", size = 413900, upload-time = "2026-03-25T23:09:23.589Z" },
+ { url = "https://files.pythonhosted.org/packages/56/5b/0074a0a9eb01f3d1c4648ca5e81b22090c811b210b61df9018ac6d6c5cda/protobuf-4.25.9-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:9560813560e6ee72c11ca8873878bdb7ee003c96a57ebb013245fe84e2540904", size = 394826, upload-time = "2026-03-25T23:09:25.194Z" },
+ { url = "https://files.pythonhosted.org/packages/54/aa/b2dba856f64c36b2a06c67be1472de98cca07a2322d0f0cbf03279a40e5b/protobuf-4.25.9-cp37-abi3-manylinux2014_aarch64.whl", hash = "sha256:999146ef02e7fa6a692477badd1528bcd7268df211852a3df2d834ba2b480791", size = 294191, upload-time = "2026-03-25T23:09:26.613Z" },
+ { url = "https://files.pythonhosted.org/packages/a8/5c/53f18822017b8bda6bd8bb4e02048e911fdc79a3dafdc83ab994fe922a84/protobuf-4.25.9-cp37-abi3-manylinux2014_x86_64.whl", hash = "sha256:438c636de8fb706a0de94a12a268ef1ae8f5ba5ae655a7671fcda5968ba3c9be", size = 295178, upload-time = "2026-03-25T23:09:27.839Z" },
+ { url = "https://files.pythonhosted.org/packages/16/28/d5065b212685875d3924bcdb3201cbf467cb4d58a18aa19a8dfd99ea80a9/protobuf-4.25.9-py3-none-any.whl", hash = "sha256:d49b615e7c935194ac161f0965699ac84df6112c378e05ec53da65d2e4cbb6d4", size = 156822, upload-time = "2026-03-25T23:09:34.957Z" },
+]
+
[[package]]
name = "psutil"
version = "5.9.6"
@@ -2144,7 +2283,7 @@ dependencies = [
[[package]]
name = "skellytracker"
version = "2024.9.1019"
-source = { git = "https://github.com/freemocap/skellytracker?branch=development#2424f6d48147774ad908589b14eaa525816cb0b7" }
+source = { git = "https://github.com/freemocap/skellytracker?branch=development#e062e7decc95b1efcc5cb9a03e6865b1cdffc4a5" }
dependencies = [
{ name = "beartype" },
{ name = "numpy" },