Skip to main content

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

pip install 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 connections
  • enable_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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vision_agents_plugins_ultralytics-0.3.2.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file vision_agents_plugins_ultralytics-0.3.2.tar.gz.

File metadata

  • Download URL: vision_agents_plugins_ultralytics-0.3.2.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for vision_agents_plugins_ultralytics-0.3.2.tar.gz
Algorithm Hash digest
SHA256 8864aaa4a823e87e66c7d6b204cf118122f49754484f8553d9145a843902a6d9
MD5 9ca590f2df86bc510db310536ce4665a
BLAKE2b-256 e2db2e87ce1d1f3d6e9f95b9baf52f6bf62db82a8e59d8480d92f817a6335fab

See more details on using hashes here.

File details

Details for the file vision_agents_plugins_ultralytics-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: vision_agents_plugins_ultralytics-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for vision_agents_plugins_ultralytics-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 45f97ae2a24741f670876b86a6e9e1c864e945506083a9bdd9f9741d9e843e0f
MD5 1fde450ac7d28115190d7ee06e273f2d
BLAKE2b-256 0ab69faedb53f2385ef6300b32986efc4b7e7f2c61591361f67b44e320fbc52f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page