24 lines
1.0 KiB
Python
24 lines
1.0 KiB
Python
"""Webcam -> virtual Kinect tracker package (plan todo 5).
|
|
|
|
Captures webcam/video frames, runs MediaPipe Pose, and publishes Kinect-style
|
|
frames over the frozen shared-memory IPC contract (`tracker.contract`). The
|
|
pipeline is built around the `tracker.pose.PoseProvider` seam so a fake provider
|
|
can drive the data path in tests without MediaPipe.
|
|
|
|
Modules:
|
|
* `contract` - ctypes mirror of core/contract/contract.h (todo 2).
|
|
* `pose` - PoseResult + PoseProvider + MediaPipePoseProvider.
|
|
* `publisher` - FrameContractPublisher (shared-memory triple-buffer producer).
|
|
* `control` - handshake/heartbeat control plane over a unix socket.
|
|
* `tracker` - capture + inference loop with monotonic-clock pacing + CLI.
|
|
* `fake_pose` - synthetic providers/sources for the data-path tests.
|
|
|
|
Imports are kept light here so `tracker.contract` is usable without numpy/cv2.
|
|
"""
|
|
|
|
__version__ = "0.1.0"
|
|
|
|
|
|
def tracker_info() -> dict:
|
|
return {"name": "virtual-kinect-tracker", "version": __version__, "stage": "todo5-pipeline"}
|