Letterbox preprocessing
Frames are resized to 640 × 640 with proportional padding, then converted to CHW float tensors.
Real-time object detection that runs inside your browser. Upload a frame or open the webcam — the model, preprocessing and alert logic all stay on your device.
Pick a mode, then feed the model a frame. Everything below is computed locally in your browser.
Frames are resized to 640 × 640 with proportional padding, then converted to CHW float tensors.
The official YOLOv5s v7 graph runs through ONNX Runtime Web with the WASM execution provider.
Raw anchors are decoded back to source coordinates, scored, then filtered with per-class IoU suppression.
Detections are matched against the selected mode’s supported COCO classes to raise an on-screen alert.