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.212 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_detect_and_classify.py Image Classification Detects objects, classifies each crop with a second model, and pairs predictions with the original boxes.
run_segment_and_annotate.py Instance Segmentation and Tracking Runs segmentation and renders instance-coloured masks.
run_isolate_segmented_objects.py Isolating Segmentation Objects Exports per-object PNGs with transparent or black backgrounds and optional box cropping.
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.
run_image_similarity.py YOLO image embeddings Compares two bus photos or an image and its horizontal flip, returning cosine similarity.

Metadata

Release files for ml-pipes-ultralytics 0.1.5

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.5
File Size Uploaded Provenance Actions
ml_pipes_ultralytics-0.1.5.tar.gz 11.3 kB With provenance Details for ml_pipes_ultralytics-0.1.5.tar.gz

Built distribution (wheel)

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

Total release size: 22.9 kB

Release files / ml_pipes_ultralytics-0.1.5.tar.gz

Download URL ml_pipes_ultralytics-0.1.5.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
68239b94b16b7bdc68527cc3a2474c281e82fd0eb60ea54f1e507f0cd6c9280e
BLAKE2b-256 checksum
How to use checksums
72f0ffa439799924a30c2c497a62fbc22c7c732875d0209f28fb530b574a8951
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 13, 2026.

Transparency log

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

Download URL ml_pipes_ultralytics-0.1.5-py3-none-any.whl
Size 11.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5092d2d32da5142937feff6899e9550c75d5b91761d04c9dfa4e0a573c98e74
BLAKE2b-256 checksum
How to use checksums
cc22e4b27057a17511b7a593b14ae89f7d2f0ea9fd9fea458b4abce944a40426
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 13, 2026.

Transparency log

Security for ml-pipes-ultralytics 0.1.5

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ml_pipes_ultralytics-0.1.5.tar.gz

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 Nov 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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