# Third-party face detector

BeniSil uses @mediapipe/tasks-vision 1.1.1 and BlazeFace short-range float16 model version 1, distributed locally; no CDN request is needed by a visitor.

- Package: https://www.npmjs.com/package/@mediapipe/tasks-vision/v/1.1.1
- Source and Apache 2.0 license: https://github.com/google-ai-edge/mediapipe
- Model: https://storage.googleapis.com/mediapipe-models/face_detector/blaze_face_short_range/float16/1/blaze_face_short_range.tflite
- Model card (Apache 2.0): https://storage.googleapis.com/mediapipe-assets/MediaPipe%20BlazeFace%20Model%20Card%20(Short%20Range).pdf

## Local modification, 2026-10-15

The bundled JavaScript telemetry transport class (Mh) is replaced with a disabled no-op transport: no periodic timer, no queued records, no network logging. The original 1.1.1 package attempts an odml.pa.googleapis.com telemetry request; CSP blocked it during testing. This local modification removes that attempt. Model inference is unchanged. Keep this modification when updating dependencies. The Content Security Policy also restricts connections to this site's origin.

The model is designed for short-range faces. Small, turned and covered faces may be missed. It does not recognize identity. Users must inspect exported images and add manual regions.
