use case Β· practical Xenova/yolos-small Β· q8 WASM batch queue Β· scene density Β· CSV / COCO JSON

Multi-Photo COCO Scene Auditor

Drop a folder of interior, street, or inventory photos and YOLOS-Small counts every COCO object sequentially in its Web Worker β€” tracking per-class totals, objects-per-megapixel scene density, and a target checklist. Cancel cleanly mid-batch at any time, or export formula-safe CSV and JSON.

1 Β· Build & run the audit queue

Starter album:

Preparing starter album…

Images0
Done0
Queued / running0
Failed / cancelled0
Mean latency–
Objects β‰₯ threshold0
Scene density–
Audit queue β€” select a finished photo to inspect its boxes
# Image Size Status Latency Remove
The queue is empty.

2 Β· Per-class tally, checklist & density report

Target checklist

Per-class inventory across all finished photos
Class Group Count Images Best score
Run the queue to build the inventory.

Export formula-safe audit

Exports snapshot the active threshold in original image pixels; spreadsheet formula prefixes (= + - @) are neutralised per RFC 4180.

3 Β· Preview selected photo

Select an image in the queue to inspect its boxes.

How the batch auditor works

Each photo is queued sequentially onto the worker's strict FIFO enqueueOp chain so memory never spikes across multiple concurrent ONNX sessions. Pressing Stop bumps the run token, marks the in-flight image as cancelled without flashing an error, and preserves completed results.

Show the code β€” batch inventory, scene density, and target checklist aggregation
Show the code β€” formula-safe COCO JSON audit exporter