Set up body tracking
setup_body_trackingSets up real-time body tracking from a webcam by loading the mediapipe engine, capturing pose landmarks, and building a live skeleton.
Instructions
One-shot body tracking from a webcam: loads the free mediapipe-touchdesigner ENGINE (install it first with tdmcp install mediapipe-touchdesigner) into your project, starts the timeline (the engine captures the webcam through an embedded browser that only runs while playing), reads its pose JSON DAT through an adapter that emits a 33-landmark pose CHOP, and builds a live skeleton so you only need to pick your webcam and enable Pose. If the engine isn't installed yet, it tells you how. Loading the engine will prompt for camera permission on macOS (click Allow).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tox_path | No | Path to the MediaPipe ENGINE .tox (MediaPipe.tox — the full tracker that captures the webcam, not the bare pose_tracking.tox processor). Defaults to the package staged by `tdmcp install mediapipe-touchdesigner`, falling back to the legacy ~/tdmcp-packages path. | |
| parent_path | No | COMP to load the engine into. | /project1 |
| build_skeleton | No | Also build a pose-skeleton visual wired to the tracked body so you see it working. |