1 · Choose a photo & input resolution
Loading a sample photo…
2 · Empirical O(N²) patch-count vs latency curve
Each point runs a real forward pass in the Web Worker with YolosFeatureExtractor.size set to
the target short-edge. Recall is measured against the 800 px full-resolution detections (same-class IoU ≥ 0.45).
| Short edge | Input dims | Patches (16×16) | Total tokens (T) | Latency | Boxes ≥ thr | Recall vs 800 px |
|---|---|---|---|---|---|---|
| Run the 4-point sweep (or run individual edges) to populate measurements. | ||||||
Show the code — per-run YolosFeatureExtractor resolution override in the worker
Show the code — empirical O(T²) linear regression fit
3 · Perturbation stress test (low light, blur, contrast, centre crop)
Applies real offscreen canvas transforms to the active photo and measures detection recall and mean confidence drift relative to the clean run at the selected short-edge.
| Preset | Latency | Boxes ≥ thr | Matched baseline | Score drift | Top labels |
|---|---|---|---|---|---|
| Press "Run 5-preset stress suite" to measure drift. | |||||