YOLO Vision 2026:
Ultralytics YOLO

Real-time YOLO image classification

Assign the right label to every image with Ultralytics YOLO26 classification models. Train on your own categories in minutes and run inference in real time on edge, cloud, and mobile hardware.

YOLO26 classification models

YOLO26-cls models assign whole-image labels with top-1 and top-5 accuracy reported below. They are the smallest and fastest members of the family — the nano classifier runs in a few milliseconds on CPU — and they fine-tune on custom categories from a simple folder-per-class dataset.

pip install ultralytics
from ultralytics import YOLO

# Load a YOLO26 classification model
model = YOLO("yolo26n-cls.pt")

# Run inference
results = model("image.jpg")
ModelSize (px)Top-1 accTop-5 accCPU ONNX (ms)T4 TensorRT (ms)Params (M)FLOPs (B)
YOLO26n-cls22471.490.15.0 ± 0.31.1 ± 0.02.80.5
YOLO26s-cls22476.092.97.9 ± 0.21.3 ± 0.06.71.6
YOLO26m-cls22478.194.217.2 ± 0.42.0 ± 0.011.64.9
YOLO26l-cls22479.094.623.2 ± 0.32.8 ± 0.014.16.2
YOLO26x-cls22479.995.041.4 ± 0.93.8 ± 0.029.613.6

YOLO26 classification benchmarks at 224 pixels from the Ultralytics docs.

Trusted by the world's leading organizations

DuolingoShellSiemensRenaultPhilipsNEURA RoboticsMercado LibreTata SteelFlock SafetyIntelDefense Intelligence AgencyDHL
DuolingoShellSiemensRenaultPhilipsNEURA RoboticsMercado LibreTata SteelFlock SafetyIntelDefense Intelligence AgencyDHL
DuolingoShellSiemensRenaultPhilipsNEURA RoboticsMercado LibreTata SteelFlock SafetyIntelDefense Intelligence AgencyDHL

Our models' impact

Streamline processes across industries with our cutting-edge vision AI models. Speed, accuracy and ease-of-use powered by Ultralytics.

GitHubGitHub stars
Downloads
Ultralytics YOLO usages / day
Open-source contributors

The evolution of Ultralytics YOLO models

See how Ultralytics YOLO evolved from the practical YOLOv5 workflow to edge-ready YOLO26 inference.

Made real-time object detection accessible with a fast, practical PyTorch workflow.

Expanded the unified workflow across detection, segmentation, classification, pose, and OBB.

Improved accuracy, speed, and efficiency while preserving the familiar Ultralytics workflow.

Introduced end-to-end inference and an architecture optimized for efficient edge deployment.

Image annotation interface using smart segmentation to label an object.

Label up to 10x faster with smart annotation

Ultralytics Platform gives you the image annotation tool to build high-quality datasets faster. From smart annotation to precise manual editing, these features are designed to reduce image labeling time without sacrificing quality.

  • SAM-powered smart annotation: Masks and bounding boxes in one click.
  • Full AI task coverage: Detection, instance segmentation, semantic segmentation, classification, pose, OBB.
  • Universal format support: Your choice of YOLO, COCO, and more.
  • Team review and versioning: Clear collaboration at every step.

Deploy Anywhere

Export to 20 formats and deploy across edge, cloud, and mobile.

Explore industry solutions

See how teams apply Ultralytics computer vision across production environments.

Frequently asked questions

  • Image classification assigns a whole image to one of a set of classes, with a confidence score for each. It is the simplest computer vision task and the right choice when you need to know what an image shows rather than where objects are — for example quality grading, content sorting, or state monitoring. Ultralytics YOLO classification models are small, fast, and easy to fine-tune.

  • Use classification when a single label per image is enough, and object detection when you need to locate or count objects within the image. Classification models are lighter and faster to train, so they are often the most efficient solution when position does not matter.

  • Ultralytics YOLO26 classification models are the recommended starting point, with sizes from nano for edge deployment to extra-large for maximum accuracy. All sizes share the same training and deployment workflow as other Ultralytics YOLO tasks.

  • Organize images into one folder per class and run the Ultralytics library's train mode, or upload your dataset to Ultralytics Platform and train on cloud GPUs without any local setup. Fine-tuning pretrained weights typically reaches strong accuracy with a few hundred images per class.

  • Export with export mode to ONNX, TensorRT, CoreML, OpenVINO, LiteRT, and other formats. Classification models are the smallest YOLO variants, making them ideal for mobile apps, embedded devices, and high-throughput services.

Build image classification with Ultralytics

Organize data, train YOLO26 classifiers, and deploy them anywhere with Ultralytics Platform.