Files
kinect/tools/record-replay/vkrr/__init__.py
T
kinect-bot 4a66699d82
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python tracker (pytest) (push) Canceled after 0s
feat(mapping,tracker,tools): NUI mapping+smoothing, MediaPipe tracker, record/replay harness, mock NUI host (wave 3)
2026-11-25 04:21:18 -05:00

42 lines
1.1 KiB
Python

"""Virtual-Kinect record/replay harness (plan todo 16).
Records frames published to the shared-memory IPC frame contract into a
deterministic fixture file and replays them back - into the emitter/shim or any
consumer - on a fake clock, with no wall-clock sleeps. The fixture is byte-exact
so a replay reproduces the recorded frame sequence bit-for-bit, and a truncated
or contract-drifted fixture is rejected cleanly.
"""
from .buffer import ContractFrameBuffer, copy_frame
from .clock import FakeClock
from .fixture import (
FORMAT_VERSION,
MAGIC,
FixtureError,
FixtureFormatError,
FixtureHeader,
RecordedFrame,
TruncatedFixtureError,
read_fixture,
write_fixture,
)
from .harness import Recorder, Replayer, build_synthetic_frame
__all__ = [
"ContractFrameBuffer",
"copy_frame",
"FakeClock",
"FORMAT_VERSION",
"MAGIC",
"FixtureError",
"FixtureFormatError",
"FixtureHeader",
"RecordedFrame",
"TruncatedFixtureError",
"read_fixture",
"write_fixture",
"Recorder",
"Replayer",
"build_synthetic_frame",
]