Skip to content
imaged

Object detection

YOLO26n

Ultralytics' smallest YOLO26 detector: finds and boxes 80 kinds of everyday objects, no NMS step.

AGPL-3.0yoloultralyticscoconms-freeagpl
Choose a variant

About this model

YOLO26n finds objects in a photo or camera frame and draws a box around each, with its class and a score. It knows the 80 COCO classes: people, vehicles, animals, and common household and street objects. It is the nano size of Ultralytics' YOLO26 family: 2.4 million parameters.

YOLO26 is NMS-free: the network itself picks at most 300 final boxes, so no non-maximum suppression step is needed. Ultralytics reports 40.1 mAP 50-95 on COCO val2017 for this end-to-end head.

What you can build

  • People and vehicle counting from a camera
  • Live object detection on phones
  • Finding regions of interest before a second model (classification, OCR)

People crossing street

f16
Input
People crossing street (Unsplash)

Mike Petrucci mikepetrucci, CC0, https://commons.wikimedia.org/wiki/File:People_crossing_street_(Unsplash).jpg

Output
The photo with 14 boxes found by YOLO26n
14 boxes on the Metal (FP16 pack), score 0.25 or more:
person 0.85 at [124, 357, 166, 451]
person 0.83 at [383, 354, 431, 447]
person 0.77 at [525, 360, 566, 445]
person 0.73 at [771, 372, 798, 439]
traffic light 0.72 at [65, 157, 90, 221]
truck 0.62 at [313, 345, 371, 408]
person 0.54 at [492, 365, 528, 440]
traffic light 0.52 at [881, 252, 899, 296]
person 0.51 at [438, 364, 466, 431]
traffic light 0.50 at [850, 250, 871, 296]
truck 0.47 at [226, 338, 317, 425]
car 0.45 at [874, 400, 959, 498]
bicycle 0.40 at [0, 387, 56, 448]
person 0.36 at [66, 348, 84, 411]

Bus stop people

f16
Input
Moscow, Paveletskaya Square, people at bus stop Sept 2025 02

Retired electrician, CC0, https://commons.wikimedia.org/wiki/File:Moscow,_Paveletskaya_Square,_people_at_bus_stop_Sept_2025_02.jpg

Output
The photo with 10 boxes found by YOLO26n
10 boxes on the Metal (FP16 pack), score 0.25 or more:
person 0.93 at [203, 230, 290, 472]
person 0.92 at [327, 223, 449, 567]
person 0.88 at [453, 216, 574, 562]
person 0.88 at [111, 240, 211, 473]
suitcase 0.79 at [530, 397, 616, 568]
suitcase 0.70 at [305, 412, 390, 573]
bus 0.70 at [248, 34, 958, 506]
bus 0.66 at [177, 41, 307, 203]
person 0.60 at [851, 186, 885, 295]
bus 0.30 at [243, 26, 704, 450]

Office desk computer

f16
Input
Office desk with computer and music player (Unsplash)

Jeff Sheldon ugmonk, CC0, https://commons.wikimedia.org/wiki/File:Office_desk_with_computer_and_music_player_(Unsplash).jpg

Output
The photo with 1 boxes found by YOLO26n
1 boxes on the Metal (FP16 pack), score 0.25 or more:
cup 0.85 at [619, 506, 776, 719]

Variants & downloads

Choose the build for your app

Model files are hosted on Google Drive. Large files may open a confirmation page before downloading.

Small

Slab

Weights stored as int8 in blocks of 64. Slab decodes them to float when loading, so it runs at the same speed; scores move more than with FP16 (see Accuracy).

Platforms: macos · android

yolo26n-int8.slab

5.6 MB · Hosted download

Download
SHA-256 checksum
ac4d1aab41cf0b0491f840fbac3ac7c8ea841fda275d4b611bc014094abd799d

LICENSE-Ultralytics-AGPL-3.0.txt

34 KB

Download
SHA-256 checksum
1d375d1895b362fc4c11b61d46d279ddc1ddb47238a45539f4bda11e8a635872
Conversion details
command
python -c "import ultralytics; ultralytics.YOLO('yolo26n.pt').export(format='onnx', imgsz=640, opset=17)" && mv yolo26n.onnx model.onnx # Ultralytics simplifies the graph by default and writes the export date into the model, so a rebuilt pack differs from this one only in its date entry python -c "import ultralytics; n = ultralytics.YOLO('yolo26n.pt').names; open('labels.txt', 'w').write('\n'.join(n[k] for k in range(len(n))))" slab-load convert model.onnx model.slab --input images=1x3x640x640 --meta task=detect --meta resize=letterbox --meta letterbox_pad:i64=114 --meta normalize=scale255 --meta color=rgb --meta labels:labels=@labels.txt --meta fp16_safe:i64=0 slab-load quantize model.slab yolo26n-int8.slab slab-load meta set yolo26n-int8.slab default_backend.macos=gpu

Integration examples

Python

python

import slab

cfg = slab.Config(cache_dir="/tmp/slab_cache", license=open("license.slablic.txt").read())
session = slab.Session(cfg, "yolo26n-f16.slab", warmup=True)
out = session.run(slab.Input(frame=slab.Frame.open("photo.jpg")))
for b in out.boxes(score_threshold=0.25, iou_threshold=1.0):
    print(b.label, round(b.score, 2), b.x1, b.y1, b.x2, b.y2)

Device & backend compatibility

Pack default: macos / GPU. The fastest backend that gives the upstream boxes on the Mac (about 5 ms per frame).

Available execution backends for YOLO26n
PlatformEngineStatusPrecision
apple

CPU

CPU

Supported

Measured on macOS.

f32
apple

Metal

GPU

Supported

Measured on macOS. The default.

f32
apple

Apple Neural Engine

NPU

Not supported

The box-selection step computes indices up to 24,000 in FP16 on the Neural Engine and picks wrong boxes (41 of 170 matched in our check). The pack marks itself not FP16-safe, so Slab's automatic choice skips it.

—
android

CPU

CPU

Supported

Measured on a Samsung Galaxy S23 Ultra (Snapdragon 8 Gen 2, Adreno 740), Android 17.

f32
android

Vulkan

GPU

Supported

Measured on a Samsung Galaxy S23 Ultra (Snapdragon 8 Gen 2, Adreno 740), Android 17.

f32
android

Qualcomm Hexagon NPU (QNN)

NPU

Not supported

Tried on a Samsung Galaxy S23 Ultra (Hexagon v73): Slab's QNN backend has no translation for TopK (the box selection) yet.

—

Performance

Results depend on the device, runtime, and test conditions. Each measurement keeps its own context.

Mac with Apple M1 Max

Slab · CPU

macOS 26.6.2

41.5 ms

Measured time · scope below

int8Session open (ms): 22 Platform: macos Runs: 100 Input: 1, 3, 640, 640 Measured: 2026-10-28

Median of 100 warm runs of the model, box selection included (Slab's run time). From a 1920 x 1080 photo, letterboxing and decoding boxes included: 41.99 ms median.

Mac with Apple M1 Max

Slab · GPU

macOS 26.6.2

5.2 ms

Measured time · scope below

int8Session open (ms): 19 Platform: macos Runs: 100 Input: 1, 3, 640, 640 Measured: 2026-10-28

Median of 100 warm runs of the model, box selection included (Slab's run time). From a 1920 x 1080 photo, letterboxing and decoding boxes included: 5.88 ms median.

Samsung Galaxy S23 Ultra (Snapdragon 8 Gen 2)

Slab · CPU

Android 17

125.0 ms

Measured time · scope below

int8Session open (ms): 16 Platform: android Runs: 94 Input: 1, 3, 640, 640 Measured: 2026-11-06

Median of 94 warm runs of the model (Slab's run time). From a 1920 x 1080 photo, letterboxing and decoding boxes included: 120 ms median. open_ms: opening the session. Peak memory (resident) after the runs: 117 MB.

Samsung Galaxy S23 Ultra (Snapdragon 8 Gen 2)

Slab · GPU

Android 17

62.3 ms

Measured time · scope below

int8Session open (ms): 69 Platform: android Runs: 100 Input: 1, 3, 640, 640 Measured: 2026-11-06

Median of 100 warm runs of the model (Slab's run time). From a 1920 x 1080 photo, letterboxing and decoding boxes included: 63.1 ms median. open_ms: opening the session with the GPU programs already in the cache folder (the first open on a device compiles them, about 0.3 s more). Peak memory (resident) after the runs: 88 MB.

Accuracy checks

macos · CPU · int8

The upstream PyTorch model on Ultralytics' 640 x 640 letterbox, 67 public-domain photos (Wikimedia Commons), boxes scoring 0.25 or more; a box matches with the same class and IoU 0.5 or more

With Slab preprocessing: 166 of 170 boxes matched (mean IoU 0.986), 8 extra. On identical input tensors: 165 of 170 matched (mean IoU 0.986), 5 extra, largest score difference 0.451.

macos · GPU · int8

The upstream PyTorch model on Ultralytics' 640 x 640 letterbox, 67 public-domain photos (Wikimedia Commons), boxes scoring 0.25 or more; a box matches with the same class and IoU 0.5 or more

With Slab preprocessing: 166 of 170 boxes matched (mean IoU 0.986), 8 extra. On identical input tensors: 165 of 170 matched (mean IoU 0.986), 5 extra, largest score difference 0.451.

Before you choose this model

  • Only the 80 COCO classes.
  • Small or distant objects are often missed at this size; larger YOLO26 sizes (s, m, l, x) convert the same way.
  • Not on the Apple Neural Engine: the box-selection step does index arithmetic that the Neural Engine's FP16 cannot hold exactly (indices up to 24,000), so Slab's automatic choice skips it.
  • The int8 pack moves scores more than the FP16 pack (see Accuracy).
  • AGPL-3.0: see License.