1 · Live alpha threshold sweep (0.1 → 0.9) & histogram
Initialising model loader…
Foreground coverage curve across thresholds 0.1 → 0.9 (green dot = selected threshold).
Bimodal distribution: confident background (0.0–0.1) vs person (0.9–1.0) vs edge hair/clothing.
| Threshold | Foreground % | Background % | Boundary band (±0.1) | Coverage |
|---|---|---|---|---|
| Run inference above to populate the threshold sweep. | ||||
2 · Real q8 (0.22 MB) vs fp32 (0.46 MB) quantization diff
onnx-community/mediapipe_selfie_segmentation publishes both onnx/model_quantized.onnx
(q8, 224,004 B) and onnx/model.onnx (fp32, 462,352 B). Run both
weights sequentially in the worker to measure exact IoU, Dice, and amplified per-pixel quantization error.
q8 matte (0.22 MB)
fp32 matte (0.46 MB)
5× amplified |q8 − fp32| difference map