matte

Real-time portrait matting

MODNet running in your browser via WebGPU or WASM. Frames never leave your device.

Live matteidle
Backend
Resolution
Dtype
Background
Composed output
Raw webcam
Alpha matte
WebGPU availableno
Model load time—
Frames processed—
Avg inference/frame—
Rolling FPS—
Decision matrix
FPS bandVerdict
>= 20 fpsGreen light. Ship as real-time.
10-19 fpsYellow. Process every 2-3 frames.
5-9 fpsReframe as stop-motion background.
< 5 fpsKill or replace the model.