mediapipe-usage
Installation
SKILL.md
Google MediaPipe Usage (Web / Pose Landmarker)
Quick Start
- Install
@mediapipe/tasks-vision, resolve WASM from CDN - Create
PoseLandmarkerwithcreateFromOptions - Use
detect()for single image, ordetectForVideo()in a throttledrequestAnimationFrameloop
Setup
Install (prefer pnpm):
pnpm add @mediapipe/tasks-vision
WASM root: Resolve vision tasks from CDN when creating the task: