Skip to main content

ml-pipes-ultralytics stacked-text logo

Latest PyPI release Python 3.10 or newer Apache 2.0 license Ultralytics 8.4.174 API coverage

Ultralytics YOLO capabilities as composable operators in ml-pipes.
Build explicit computer-vision pipelines for prediction, embedding, tracking, and result processing.

Install

python -m pip install ml-pipes-ultralytics

See the full installation guide for environment setup and GPU configuration.

Coverage

The package operator catalog is maintained in docs/reference.md. The Ultralytics API comparison is in docs/coverage.md.

License and terms

ml-pipes-ultralytics is licensed under the Apache License 2.0. It requires Ultralytics, which is licensed separately under AGPL-3.0 or an Ultralytics Enterprise License. Installing or using this package does not grant rights to Ultralytics software or model weights. Users of the community Ultralytics distribution must comply with AGPL-3.0; Enterprise users must ensure their Ultralytics agreement covers their intended use.

Quickstart

Build a segmentation-and-annotation pipeline. The model configuration belongs to yolo.Predict; the pipeline call receives only the BGR image.

import cv2

from ml_pipes.core import Pipeline
from ml_pipes.standard import Select
from ml_pipes.ultralytics import results, yolo

pipeline = Pipeline(
    [
        yolo.Predict(model="yolo26n-seg.pt", conf=0.25),
        Select(0),
        results.Plot(color_mode="instance"),
    ]
)

image = cv2.imread("photo.jpg")
annotated = pipeline(image)
cv2.imwrite("annotated.jpg", annotated)

yolo.Predict, yolo.Embed, and yolo.Track accept normal Ultralytics source types—paths, URLs, camera sources, in-memory images, tensors, and batches—but do not support stream=True. For videos or large datasets, use a pipeline that explicitly owns decoding, batching, and frame scheduling.

Documentation

Want to learn how to use Ultralytics with ml-pipes? Explore our documentation, how-to guides, and end-to-end examples!

For additional YOLO examples and broader computer-vision use cases, see ml-pipes-supervision.

Built with Ultralytics x ml-pipes

View runnable Ultralytics example pipelines
Example Upstream source Note
run_detect_and_crop.py Object Cropping Detects objects, saves native result crops, and renders the annotated image.
run_segment_and_annotate.py Instance Segmentation and Tracking Runs segmentation and renders instance-coloured masks.
run_object_blurrer.py Object Blurring Tracks and blurs COCO person detections.
run_detection_video.py Ultralytics predict mode Uses an explicit OpenCV capture loop and one non-streaming prediction pipeline call per frame.
run_track_objects.py Ultralytics track mode Preserves native tracker state and draws native tracking IDs plus explicit motion traces.
run_batch_predict.py Ultralytics predict mode Processes a local image archive with single-image prediction, batching, or batched inference with concurrent image decoding.

Metadata

Release files for ml-pipes-ultralytics 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ml-pipes-ultralytics 0.1.3
File Size Uploaded
ml_pipes_ultralytics-0.1.3.tar.gz 10.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ml-pipes-ultralytics 0.1.3
File Interpreter ABI Platform
ml_pipes_ultralytics-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 21.3 kB

Release files / ml_pipes_ultralytics-0.1.3.tar.gz

Download URL ml_pipes_ultralytics-0.1.3.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a77178de0743e7cd7de92262d22f414bafaace4983335afa7ceaf43f4c44f24c
BLAKE2b-256 checksum
How to use checksums
9d2774f8352af985ce2450049cba64431fbd2433493279390ab495747e8d4897
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release files / ml_pipes_ultralytics-0.1.3-py3-none-any.whl

Download URL ml_pipes_ultralytics-0.1.3-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2eae44a671a8fa5454fab96934a5d9529b49bb4ca212a89fd1a3707c771b4a2
BLAKE2b-256 checksum
How to use checksums
6a58ff6711c23230640ac0af626e7395ecb84cd7205f937cf5133731bc930ff6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page