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_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.4

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.4
File Size Uploaded Provenance Actions
ml_pipes_ultralytics-0.1.4.tar.gz 11.2 kB With provenance Details for ml_pipes_ultralytics-0.1.4.tar.gz

Built distribution (wheel)

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

Total release size: 22.8 kB

Release files / ml_pipes_ultralytics-0.1.4.tar.gz

Download URL ml_pipes_ultralytics-0.1.4.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2a66e9acdf35b9c1cda1a7736ab87621cc3e75b050428966c743f51e06261acc
BLAKE2b-256 checksum
How to use checksums
5b9a9a1c6973dbe13f44aebcf033e5e53ed89386fe6ccab6b1f3a45135675d55
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 1, 2026.

Transparency log

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

Download URL ml_pipes_ultralytics-0.1.4-py3-none-any.whl
Size 11.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f4029fabbf8acbd604a37a8fbc5d871a1f47b8efafbe0b49b47e66132661757a
BLAKE2b-256 checksum
How to use checksums
ab06c14baaafbca61e5e41d5314c7463ded90ee9593097d9e10e7121999a14e3
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 1, 2026.

Transparency log

Security for ml-pipes-ultralytics 0.1.4

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ml_pipes_ultralytics-0.1.4.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 1, 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