What this visualizer does
It runs MediaPipe PoseLandmarker on an image or webcam frame, draws a 33-point body skeleton, and derives joint angles and pose states.
Computer vision visualizer
Detect 33 body landmarks, inspect joint angles, and recognize common poses directly in your browser with MediaPipe.
Keep the full body visible. The Lite model is used for responsive webcam tracking.
It runs MediaPipe PoseLandmarker on an image or webcam frame, draws a 33-point body skeleton, and derives joint angles and pose states.
import mediapipe as mp
BaseOptions = mp.tasks.BaseOptions
PoseLandmarker = mp.tasks.vision.PoseLandmarker
PoseLandmarkerOptions = mp.tasks.vision.PoseLandmarkerOptions
options = PoseLandmarkerOptions(
base_options=BaseOptions(model_asset_path="pose_landmarker.task"),
num_poses=1,
min_pose_detection_confidence=0.5
)
with PoseLandmarker.create_from_options(options) as landmarker:
image = mp.Image.create_from_file("pose.jpg")
result = landmarker.detect(image)
print(result.pose_landmarks)Max poses limits simultaneous people. Confidence filters weak detections, while overlay buttons control skeleton, points, and bounds.
Keep shoulders, hips, knees, and ankles visible for reliable pose recognition. Loose framing works better than a close crop.