1 · Initialise both on-device models (isolated Web Workers)
Stage 1 · MediaPipe FaceDetector (0.23 MB BlazeFace)
BlazeFace short-range detector (mediapipe/face-detector, Apache-2.0) reusing
models/face-detector/worker.js to locate face boxes & 6 keypoints.
Stage 2 · eDifFIQA(T) Face Quality (7.3 MB WASM fp32)
Biometric FIQA scorer (opencv/face_image_quality_assessment_ediffiqa,
Apache-2.0) scoring each detected 112×112 face crop plus the full-frame baseline.
Prepare both models above (or initialise either stage individually) to run the two-stage biometric gatekeeper.
2 · Choose a scene & run the 2-stage biometric pipeline
Pipeline Controls & Stage Telemetry
3 · Full-Frame Uncropped vs Tightly Face-Cropped Breakdown
No Stage 2 quality scores yet — run the 2-stage pipeline above.
| Subject | Detector Conf & Crop | eDifFIQA Score | Δ vs Full Frame | Quality Tier | KYC Gate | Stage 2 |
|---|---|---|---|---|---|---|
| Run the 2-stage pipeline to compare full-frame vs face-cropped scores. | ||||||