Skip to content
WebAI

vision / detection

Detection

Finds objects and returns boxes with class scores. Post-processing is part of the cost: non-maximum suppression and letterbox scaling usually run in JavaScript, so measured latency depends as much on that glue code as on the network itself.

6 entries

Open demo →

Catalog comparison

Entries include models, tools and applications. An upstream example documents a browser integration, not a test on your device. Missing versions, measurements and licenses remain unverified. Historical estimates are not benchmark results.

Catalog comparison
EntryEntry typeFrameworkResourcesLicenseBrowser evidenceLinks

YOLOv8n

Ultralytics YOLOv8 nano — fast real-time object detection in the browser.

Tasks: Detection

ModelONNX Runtime Web

Download size: Historical estimate: ~13 MB (unverified)

Code license: MIT

Weight license: Not verified

Browser support unverified

Source review is not a browser execution test.

Sources and comparison details
Exact model ID
Not verified
Natural languages
Not specified
Programming languages
Not specified
Other reported capabilities
Object Detection (80 classes, COCO)
Package
Not verified
Runtime version
onnxruntime-web@1.30.0
Execution backend
Not verified
Code license
MIT
Weight license
Not verified
Legacy license label (unverified)
Other

Deployment variants

Unspecified variant
Download size: Historical estimate: ~13 MB (unverified)
Peak runtime memory: Not measured
Quantization / precision: Not verified
Weight revision: Not verified

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

YOLOv5s

Classic YOLOv5 small model widely ported to ONNX.

Tasks: Detection

ModelONNX Runtime Web

Download size: Historical estimate: ~30 MB (unverified)

Code license: MIT

Weight license: Not verified

Browser support unverified

Source review is not a browser execution test.

Sources and comparison details
Exact model ID
Not verified
Natural languages
Not specified
Programming languages
Not specified
Other reported capabilities
Object Detection
Package
Not verified
Runtime version
onnxruntime-web@1.30.0
Execution backend
Not verified
Code license
MIT
Weight license
Not verified
Legacy license label (unverified)
Other

Deployment variants

Unspecified variant
Download size: Historical estimate: ~30 MB (unverified)
Peak runtime memory: Not measured
Quantization / precision: Not verified
Weight revision: Not verified

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

MediaPipe Object Detection

MediaPipe Tasks API — EfficientDet-Lite for object detection.

Tasks: Detection

ModelMediaPipe

Download size: 6.9 MiB

Code license: Apache-2.0

Weight license: Not verified

Upstream browser example

Reference ↗

Source review is not a browser execution test.

Sources and comparison details
Exact model ID
Not verified
Natural languages
Not specified
Programming languages
Not specified
Other reported capabilities
Object Detection
Package
@mediapipe/tasks-vision
Runtime version
@mediapipe/tasks-vision@1.0.1
Execution backend
Not verified
Code license
Apache-2.0
Weight license
Not verified
Legacy license label (unverified)
Apache-2.0

Deployment variants

Unspecified variant
Download size: 6.9 MiB
Peak runtime memory: Not measured
Quantization / precision: Not verified
Weight revision: Not verified
Weight artifact ↗

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

SSD MobileNet v2

MobileNetV2 backbone with SSD head, packaged for tfjs-models.

Tasks: Detection

ModelTensorFlow.js

Download size: Historical estimate: ~27 MB (unverified)

Code license: Apache-2.0

Weight license: Not verified

Browser support unverified

Source review is not a browser execution test.

Sources and comparison details
Exact model ID
Not verified
Natural languages
Not specified
Programming languages
Not specified
Other reported capabilities
Object Detection
Package
@tensorflow-models/coco-ssd
Runtime version
@tensorflow-models/coco-ssd@2.2.3
Execution backend
Not verified
Code license
Apache-2.0
Weight license
Not verified
Legacy license label (unverified)
Apache-2.0

Deployment variants

Unspecified variant
Download size: Historical estimate: ~27 MB (unverified)
Peak runtime memory: Not measured
Quantization / precision: Not verified
Weight revision: Not verified

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

RT-DETR v2 R18

Real-time detection transformer: it predicts a fixed set of boxes, so there is no non-maximum suppression to write in JavaScript. Apache-2.0, which is the practical difference from the YOLO family.

Tasks: Detection

ModelTransformers.js

q8: 20.0 MiB

q4f16: 32.6 MiB

fp16: 38.9 MiB

fp32: 77.3 MiB

Code license: Apache-2.0

Weight license: Apache-2.0

Upstream browser example

Reference ↗

Source review is not a browser execution test.

Sources and comparison details
Exact model ID
onnx-community/rtdetr_v2_r18vd-ONNX
Natural languages
Not specified
Programming languages
Not specified
Other reported capabilities
COCO-80, No NMS post-processing
Package
Not verified
Runtime version
@huggingface/transformers@4.3.0
Execution backend
Not verified
Code license
Apache-2.0
Weight license
Apache-2.0

Deployment variants

q8
Download size: 20.0 MiB
Peak runtime memory: Not measured
Quantization / precision: q8
Weight revision: 936f90b6a476c6da4dfe053fc521af55285976ba
Weight artifact ↗
q4f16
Download size: 32.6 MiB
Peak runtime memory: Not measured
Quantization / precision: q4f16
Weight revision: 936f90b6a476c6da4dfe053fc521af55285976ba
Weight artifact ↗
fp16
Download size: 38.9 MiB
Peak runtime memory: Not measured
Quantization / precision: fp16
Weight revision: 936f90b6a476c6da4dfe053fc521af55285976ba
Weight artifact ↗
fp32
Download size: 77.3 MiB
Peak runtime memory: Not measured
Quantization / precision: fp32
Weight revision: 936f90b6a476c6da4dfe053fc521af55285976ba
Weight artifact ↗

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

YOLOv10n

The NMS-free YOLO generation, at nano size. Licensed AGPL-3.0 like the rest of the Ultralytics line, which reaches the application that serves it — not only the model file.

Tasks: Detection

ModelTransformers.js

q8: 2.5 MiB

fp16: 4.5 MiB

fp32: 9.0 MiB

Code license: Apache-2.0

Weight license: AGPL-3.0

Upstream browser example

Reference ↗

Source review is not a browser execution test.

Sources and comparison details
Exact model ID
onnx-community/yolov10n
Natural languages
Not specified
Programming languages
Not specified
Other reported capabilities
COCO-80, No NMS post-processing
Package
Not verified
Runtime version
@huggingface/transformers@4.3.0
Execution backend
Not verified
Code license
Apache-2.0
Weight license
AGPL-3.0

Deployment variants

q8
Download size: 2.5 MiB
Peak runtime memory: Not measured
Quantization / precision: q8
Weight revision: 57657320425ee34056408a57ad9d29c4d4815bd8
Weight artifact ↗
fp16
Download size: 4.5 MiB
Peak runtime memory: Not measured
Quantization / precision: fp16
Weight revision: 57657320425ee34056408a57ad9d29c4d4815bd8
Weight artifact ↗
fp32
Download size: 9.0 MiB
Peak runtime memory: Not measured
Quantization / precision: fp32
Weight revision: 57657320425ee34056408a57ad9d29c4d4815bd8
Weight artifact ↗

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

Application workflows

About Detection

Detection under Vision holds 6 catalogue entries: 6 models.

3 of them carry browser evidence, all from upstream browser examples. Another 3 are still waiting for verification.

The usual pattern for this task is to load quantised weights (ONNX, TFLite or a MediaPipe asset bundle) into the page, hand them to ONNX Runtime Web and Transformers.js, and accelerate with WebGPU or WebAssembly. What decides the experience is weight size, peak memory and decoding path — not the parameter count.

To see the output first, open the interactive demo for this task: switch models, edit the sample input and compare results on one page. Every demo states whether it is running real weights or a deterministic simulator.

At a glance

Entries
6 in total
Main runtime
ONNX Runtime Web and Transformers.js
Smallest known weights
2.5 MiB
Browser evidence
3 of 6 verified

Detection: common questions

Can Detection run directly in a browser?
Yes. 3 entries already carry browser evidence (tested here or an upstream example), so the approach works; whether it runs smoothly on your device depends on weight size, browser version and whether WebGPU is enabled.
How large is the model for Detection?
We verified the weight file sizes of 3 entries in this task; the smallest tier is 2.5 MiB. Quantisation differs between entries, so the real download depends on the precision you pick. Files are reused from the HTTP cache or Cache Storage after the first download.
Which devices suit Detection?
Any modern browser with WebAssembly is a starting point, and WebGPU usually makes it faster. Phones are tighter on memory, so run the demo once on the target device before deciding.
Does running a model here upload my data?
The demos on this site infer inside the tab, so inputs never reach a server. Weights and runtimes are fetched from a CDN on first use and then served from the browser cache.

Other tasks in this category

Browse all Vision models →

Read next

All posts →