Ultralytics YOLO plugin for GetStream
Project description
Ultralytics Plugin
This plugin provides YOLO-based pose detection capabilities for vision-agents using the Ultralytics YOLO library.
Features
- Real-time pose detection using YOLO models
- Hand and wrist tracking with detailed connections
- Video processing with pose annotations
- Configurable confidence thresholds and processing intervals
- Support for both CPU and GPU inference
Installation
uv add "vision-agents[ultralytics]"
# or directly
uv add vision-agents-plugins-ultralytics
Usage
from vision_agents.plugins import ultralytics
# Create a YOLO pose processor
processor = ultralytics.YOLOPoseProcessor(
model_path="yolo11n-pose.pt",
conf_threshold=0.5,
device="cpu",
enable_hand_tracking=True,
enable_wrist_highlights=True
)
Configuration
model_path: Path to YOLO pose model file (default: "yolo11n-pose.pt")conf_threshold: Confidence threshold for pose detection (default: 0.5)imgsz: Image size for YOLO inference (default: 512)device: Device to run inference on ('cpu' or 'cuda')max_workers: Number of worker threads for processing (default: 2)interval: Processing interval in seconds (0 for every frame)enable_hand_tracking: Whether to draw detailed hand connectionsenable_wrist_highlights: Whether to highlight wrist positions
Dependencies
- ultralytics>=8.0.0
- opencv-python>=4.8.0
- numpy>=1.24.0
- pillow>=10.0.0
- aiortc>=1.6.0
- av>=10.0.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vision_agents_plugins_ultralytics-0.5.3.tar.gz.
File metadata
- Download URL: vision_agents_plugins_ultralytics-0.5.3.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a74a42c973b836b5e19e5a8896146e3eb6330745902cbfe6099594a02cd67509
|
|
| MD5 |
ef598cf0e15c32574d3209a8ebbeb476
|
|
| BLAKE2b-256 |
546dc6b0f3af68328e7d0c455b843e541ede74aefdf0b182303f948ddb051f99
|
File details
Details for the file vision_agents_plugins_ultralytics-0.5.3-py3-none-any.whl.
File metadata
- Download URL: vision_agents_plugins_ultralytics-0.5.3-py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d46185122d734fd284337600887e9d67cfb410606ade60572ee38488f41da723
|
|
| MD5 |
9b1646f01df7e33170c998b857315847
|
|
| BLAKE2b-256 |
ed7e798ae1dc5f8aad13ebb402acc71e28f54e520ef7b94ec5a96b7d8c8ab91b
|