Back to Ultralytics

YOLO Object Detection & Segmentation

docs/en/index.md

8.4.9815.2 KB
Original Source
<div align="center">

<a href="https://platform.ultralytics.com/ultralytics/yolo26?utm_source=docs&utm_medium=referral&utm_campaign=platform_launch&utm_content=banner&utm_term=ultralytics_docs" target="_blank"></a>

</div> <p align="center"> <a href="https://docs.ultralytics.com/zh">中文</a> · <a href="https://docs.ultralytics.com/ko">한국어</a> · <a href="https://docs.ultralytics.com/ja">日本語</a> · <a href="https://docs.ultralytics.com/ru">Русский</a> · <a href="https://docs.ultralytics.com/de">Deutsch</a> · <a href="https://docs.ultralytics.com/fr">Français</a> · <a href="https://docs.ultralytics.com/es">Español</a> · <a href="https://docs.ultralytics.com/pt">Português</a> · <a href="https://docs.ultralytics.com/tr">Türkçe</a> · <a href="https://docs.ultralytics.com/vi">Tiếng Việt</a> · <a href="https://docs.ultralytics.com/ar">العربية</a> </p> <div align="center">
<a href="https://github.com/ultralytics/ultralytics/actions/workflows/ci.yml"></a>
<a href="https://clickpy.clickhouse.com/dashboard/ultralytics"></a>
<a href="https://discord.com/invite/ultralytics"></a>
<a href="https://community.ultralytics.com/"></a>
<a href="https://www.reddit.com/r/ultralytics/"></a>


<a href="https://console.paperspace.com/github/ultralytics/ultralytics"></a>
<a href="https://colab.research.google.com/github/ultralytics/ultralytics/blob/main/examples/tutorial.ipynb"></a>
<a href="https://www.kaggle.com/models/ultralytics/yolo26"></a>
<a href="https://mybinder.org/v2/gh/ultralytics/ultralytics/HEAD?labpath=examples%2Ftutorial.ipynb"></a>
</div>

Ultralytics YOLO Docs

Ultralytics YOLO is a family of real-time computer vision models for object detection, instance segmentation, semantic segmentation, classification, pose estimation, oriented bounding boxes, and tracking, available through one Python package and CLI. YOLO26 is built on deep learning and computer vision advancements, featuring end-to-end NMS-free inference and optimized edge deployment. Its streamlined design makes it suitable for various applications and easily adaptable to different hardware platforms, from edge devices to cloud APIs. For stable production workloads, both YOLO26 and YOLO11 are recommended.

Explore the Ultralytics Docs, a comprehensive resource covering the YOLO package and CLI as well as the Ultralytics Platform, which adds data annotation, cloud training, and deployment on top of the same models. Whether you are a seasoned machine learning practitioner or new to the field, this hub aims to help you get the most out of YOLO in your projects.

Request an Enterprise License for commercial use at Ultralytics Licensing.

!!! tip "🚀 New: Knowledge Distillation"

Train smaller YOLO models with guidance from a larger teacher model — no extra inference cost, just better accuracy.

[:octicons-arrow-right-24: Learn more](guides/knowledge-distillation.md)

Get Started in Two Commands

bash
# Install the ultralytics package from PyPI
pip install ultralytics

# Detect objects in an image with a pretrained YOLO26 model
yolo predict model=yolo26n.pt source='https://github.com/ultralytics/assets/releases/download/v0.0.0/bus.jpg'

The model weights and the example image download automatically, and the annotated result is saved to runs/detect/predict.

See the Quickstart guide for the full installation and usage reference.

What Do You Want to Do?

<div class="grid cards" markdown>
  • :fontawesome-solid-brain:{ .lg .middle }   Train a model on your own dataset


    Fine-tune a pretrained YOLO26 model on your own dataset, tuning augmentation and hyperparameters for multi-GPU training


    :octicons-arrow-right-24: Train a custom model

  • :material-image:{ .lg .middle }   Run a model on your images or video


    Load a pretrained model and get bounding boxes, masks, or keypoints in a few lines of Python or a single CLI command


    :octicons-arrow-right-24: Predict on new data

  • :material-play-circle:{ .lg .middle }   Track objects across video frames


    Track objects across video frames with a persistent ID using BoT-SORT or ByteTrack, built into YOLO26's predict pipeline


    :octicons-arrow-right-24: Multi-object tracking

  • :material-apps:{ .lg .middle }   Run a ready-made vision application


    Ready-made vision apps for object counting, heatmaps, queue management, security alarms, and workouts, no training required


    :octicons-arrow-right-24: Explore Solutions

  • :material-rocket-launch:{ .lg .middle }   Deploy your model


    Export trained models to ONNX, TensorRT, or OpenVINO for fast inference on edge devices, mobile hardware, and cloud servers


    :octicons-arrow-right-24: Export and deploy

  • :material-magnify-expand:{ .lg .middle }   Pick the right model


    Compare YOLO26, YOLO11, SAM 3, RT-DETR, and every other supported architecture by speed, accuracy, and use case


    :octicons-arrow-right-24: Browse all models

  • :material-book-open-variant:{ .lg .middle }   Look up the Python API


    Look up classes, functions, and method signatures for the Python API, auto-generated from source on every new release


    :octicons-arrow-right-24: API Reference

  • :rocket:{ .lg .middle }   What's new: YOLO26


    Ultralytics' newest model family delivers NMS-free, end-to-end inference with an improved accuracy-latency tradeoff over YOLO11


    :octicons-arrow-right-24: Meet YOLO26

</div>

How These Docs Are Organized

Most model workflow yolo commands follow one grammar, yolo [TASK] MODE ARGS, where Task is optional, and these docs are organized around the same three parts, plus one shortcut:

Everything else supports that grammar: Models lists every architecture you can pass to model= — YOLO26, YOLO11, SAM 3, RT-DETR, and more — Datasets supplies what each Task trains on, Guides is a broad collection of in-depth how-tos spanning hardware deployment, hyperparameter tuning, dataset conversion, and full project walkthroughs, Integrations connects the pipeline to the training and deployment tools you already use, and the Reference section documents every class and function in the Python API.

Beyond the Python package, two more surfaces run on the same models: the Ultralytics Platform for cloud annotation, training, and deployment, and Ultralytics Inference, a standalone Rust library and CLI for running exported models without a Python runtime.

YOLO Licenses: How is Ultralytics YOLO licensed?

<a href="https://www.ultralytics.com/license?utm_source=docs.ultralytics.com&utm_medium=referral&utm_content=license_banner" target="_blank" rel="noopener noreferrer"> </a>

Ultralytics offers two licensing options to accommodate diverse use cases:

  • AGPL-3.0 License: This OSI-approved open-source license is ideal for students and enthusiasts, promoting open collaboration and knowledge sharing. See the LICENSE file for more details.
  • Enterprise License: For development and production use, this license enables seamless integration of Ultralytics software and AI models into business products and services, including internal tools, automated workflows, and production deployments, bypassing the open-source requirements of AGPL-3.0. To get started, please contact us via Ultralytics Licensing.

Our licensing strategy is designed to ensure that any improvements to our open-source projects are returned to the community. We believe in open source, and our mission is to ensure that our contributions can be used and expanded in ways that benefit everyone.

FAQ

What is Ultralytics YOLO and how does it improve object detection?

Ultralytics YOLO is the acclaimed YOLO (You Only Look Once) series for real-time object detection and image segmentation. The latest model, YOLO26, builds on previous versions by introducing end-to-end NMS-free inference and optimized edge deployment. YOLO supports various vision AI tasks such as detection, instance segmentation, semantic segmentation, pose estimation, tracking, and classification. Its efficient architecture ensures excellent speed and accuracy, making it suitable for diverse applications, including edge devices and cloud APIs.

How can I get started with YOLO installation and setup?

Getting started with YOLO is quick and straightforward. Install the Ultralytics package from pip with pip install ultralytics, then run your first prediction with yolo predict model=yolo26n.pt — the model weights download automatically. For comprehensive instructions covering conda, Docker, and installation from source, visit the Quickstart page.

How can I train a custom YOLO model on my dataset?

Training a custom YOLO model on your dataset involves a few detailed steps:

  1. Prepare your annotated dataset and describe it in a dataset YAML file.
  2. Load a pretrained model, for example YOLO("yolo26n.pt") in Python.
  3. Start training with model.train(data="path/to/dataset.yaml", epochs=100, imgsz=640), or from the command line with yolo detect train data=path/to/dataset.yaml epochs=100 imgsz=640.

For a detailed walkthrough, check out our Train a Model guide, which includes examples and tips for optimizing your training process.

What are the licensing options available for Ultralytics YOLO?

Ultralytics offers two licensing options for YOLO:

  • AGPL-3.0 License: This open-source license is ideal for educational and non-commercial use, promoting open collaboration.
  • Enterprise License: For development and production use, including internal tools, automated workflows, and production deployments, bypassing the open-source requirements of AGPL-3.0.

For more details, visit our Licensing page.

How can Ultralytics YOLO be used for real-time object tracking?

Ultralytics YOLO supports efficient and customizable multi-object tracking. Call YOLO("yolo26n.pt").track(source="path/to/video.mp4") in Python, or run yolo track source=path/to/video.mp4 from the command line — both work with video files, live streams, and webcam input. For a detailed guide on setting up and running object tracking, check our Track Mode documentation, which explains the configuration and practical applications in real-time scenarios.

<div align="center">

<a href="https://github.com/ultralytics"></a>

<a href="https://www.linkedin.com/company/ultralytics/"></a>

<a href="https://twitter.com/ultralytics"></a>

<a href="https://www.youtube.com/ultralytics?sub_confirmation=1"></a>

<a href="https://www.tiktok.com/@ultralytics"></a>

<a href="https://ultralytics.com/bilibili"></a>

<a href="https://discord.com/invite/ultralytics"></a>

</div>