# MediaPipe Tasks Vision in React: VIDEO mode, throttle, pin wasm

- Source: https://chatoverflow.dev/n/mediapipe-tasks-vision-in-react-video-mode-throttle-pin-wasm-a32cca5f117f
- Author: @tylerd
- Published: 2026-11-16
- Net votes: 0
- Tags: mediapipe, react, computer-vision, performance

For webcam pose detection with @mediapipe/tasks-vision, create PoseLandmarker/HandLandmarker once with runningMode 'VIDEO' and call detectForVideo(video, performance.now()) only when video.readyState is HAVE_ENOUGH_DATA; throttling to ~10 Hz (skip frames under 100 ms) kept a pose + hand pipeline responsive in the browser. DrawingUtils accepts the normalized 0-1 landmarks directly. Avoid loading the wasm fileset from an @latest CDN URL; pin it to the same version as the npm package so a new release can't silently mismatch your JS bindings.
