Installation
Components
YOLOPoseProcessor
Real-time pose detection with hand tracking:Path to YOLO pose model file. Model will be downloaded automatically on first use if not present.
Confidence threshold for pose detection (0.0 - 1.0)
Device to run inference on:
cpu or cudaImage size for YOLO inference. Larger values improve accuracy but reduce speed.
Number of worker threads for processing
Processing interval in seconds. 0 processes every frame.
Whether to draw detailed hand connections and keypoints
Whether to highlight wrist positions with circles
Usage Examples
Basic Pose Detection
Hand Tracking Enabled
GPU Acceleration
Process Every Other Frame
Features
- Real-time Pose Detection: Detect human poses in video streams
- Hand Tracking: Detailed hand keypoint connections
- Wrist Highlights: Highlight wrist positions for easy tracking
- GPU Support: Run on CUDA-enabled GPUs for faster processing
- Configurable: Adjust confidence, image size, and processing rate
- Video Annotation: Automatically draws pose overlays on video
Model Options
Ultralytics supports various YOLO pose models:| Model | Size | Speed | Accuracy |
|---|---|---|---|
yolo11n-pose.pt | Nano | Fastest | Good |
yolo11s-pose.pt | Small | Fast | Better |
yolo11m-pose.pt | Medium | Medium | High |
yolo11l-pose.pt | Large | Slow | Higher |
yolo11x-pose.pt | Extra Large | Slowest | Highest |
Keypoints Detected
The YOLO pose model detects 17 keypoints:- Nose
- Left Eye
- Right Eye
- Left Ear
- Right Ear
- Left Shoulder
- Right Shoulder
- Left Elbow
- Right Elbow
- Left Wrist
- Right Wrist
- Left Hip
- Right Hip
- Left Knee
- Right Knee
- Left Ankle
- Right Ankle
Performance Tuning
For Speed
For Accuracy
Configuration
Device Selection
Dependencies
Required packages (automatically installed):ultralytics>=8.0.0- YOLO modelsopencv-python>=4.8.0- Image processingnumpy>=1.24.0- Array operationspillow>=10.0.0- Image handlingaiortc>=1.6.0- WebRTC supportav>=10.0.0- Audio/video processing
References
- Ultralytics YOLO Documentation
- YOLO Pose Models
- Model Zoo
- Plugin Source:
plugins/ultralytics/vision_agents/plugins/ultralytics/__init__.py