← All models

pose-landmark-detection Β· vision Β· MediaPipe Β· ~10 MB

PoseLandmarker β€” a 33-point body skeleton

MediaPipe's PoseLandmarker finds a person in an image or video and returns 33 body landmarks β€” eyes, shoulders, elbows, wrists, hips, knees, ankles, feet β€” each with a normalized position and a visibility score. It's a real downloadable .task model that runs on-device via WebAssembly. Drop a photo or turn on your webcam.

At a glance

ModelMediaPipe PoseLandmarker Lite (Google)
RuntimeMediaPipe Tasks Vision (@mediapipe/tasks-vision) β€” .task bundle
Output33 landmarks (x, y, z normalized + visibility), plus world landmarks in metres
People1 by default (configurable)
DelegateGPU when a WebGPU/WebGL adapter exists, otherwise CPU (XNNPACK)
Download~10 MB .task file (Lite), cached by the browser after first load
LicenseApache-2.0 (Google MediaPipe)
Web APIsWebAssembly, Canvas, getUserMedia, requestVideoFrameCallback β€” all Baseline widely available

Run it

Pick a sample photo, drop your own, or use your webcam. The 33 landmarks and the body skeleton are drawn straight onto the canvas; the visibility slider hides low-confidence joints.

Drop a photo of a person here, or click to choose
A person in a yoga warrior pose on a beach An athlete crouching to tie a shoe
0.50

See inside

The pose comes back as 33 named landmarks, each a normalized x, y (0–1 across the image), a relative depth z, and a visibility (how confident the model is that the joint is actually in frame β€” low for occluded or off-screen parts). The slider above uses exactly this number. Below is the raw list for the detected person.

Detect a pose to see its 33 landmark coordinates.

Why it matters

Body tracking used to mean a Kinect or a cloud vision API. PoseLandmarker turns "where is this person's body?" into a local function call in any browser β€” private, offline, and fast enough for a live camera.

Use cases

Basics

Detect a pose on a sample photo and read all 33 landmark coordinates and visibilities.

Practical

A live squat / rep counter and posture check that reads your joint angles from the webcam.

Wild

A pose-match game: strike the target silhouette and score how close your skeleton gets.

Multi-model

Pose + Hands: full-body skeleton with detailed 21-point finger tracking layered on top.

How the API works

MediaPipe Tasks loads a .task bundle and gives you a landmarker you call per image or per video frame:

import { FilesetResolver, PoseLandmarker } from "@mediapipe/tasks-vision";

const vision = await FilesetResolver.forVisionTasks(".../wasm");
const pose = await PoseLandmarker.createFromOptions(vision, {
  baseOptions: {
    modelAssetPath: ".../pose_landmarker_lite.task",  // ~10 MB
    delegate: "GPU",                                   // or "CPU"
  },
  numPoses: 1,
  runningMode: "IMAGE",                                // or "VIDEO"
});

const result = pose.detect(imageElement);
// result.landmarks β†’ [ [ {x,y,z,visibility} Γ— 33 ] ]  (normalized 0–1)
// result.worldLandmarks β†’ the same in real-world metres, hip-centred

This page loads the model through the showcase's shared auto-init loader and draws the skeleton on a canvas at the image's natural resolution; for the webcam it switches the task to VIDEO mode and calls detectForVideo each frame.

References