# The face model the camera page uses, kept beside it

The camera page (`face/`) finds the face in each picture with Google's MediaPipe Face Landmarker. So that the page
loads nothing from another site, the library and the model are kept here, unchanged, exactly as their publishers
give them. Both are under the Apache License 2.0 (`LICENSE` in this folder is MediaPipe's own).

| File | What it is | Where it came from |
|---|---|---|
| `vision_bundle.mjs` | MediaPipe Tasks Vision 0.10.14, the library | the npm package `@mediapipe/tasks-vision@0.10.14` |
| `wasm/vision_wasm_internal.js`, `.wasm` | its WebAssembly part | the same package, `wasm/` |
| `wasm/vision_wasm_nosimd_internal.js`, `.wasm` | the same for browsers without WebAssembly SIMD | the same package, `wasm/` |
| `face_landmarker.task` | the Face Landmarker model (float16, version 1): a face detector, 478 face points, 52 shape coefficients | `storage.googleapis.com/mediapipe-models/face_landmarker/face_landmarker/float16/1/face_landmarker.task` |
| `LICENSE` | Apache License 2.0, with MediaPipe's notices | `github.com/google-ai-edge/mediapipe`, `LICENSE` |

SHA-256 of each file, as fetched on 2 December 2026 and compared with the publishers' copies (the npm tarball's
own checksum, sha1 `16c5ddc513408f2a416ccc6ce8ccc797ee02da3b`, matched the registry's):

    e77f281f9619150d937023c355bae170e9120e3b9e43f1e23a2a7bee07197669  vision_bundle.mjs
    9440cf0cc0cea21800e31581ec32aeedcc5fbf9df4509796bbc7d3f99e52ab9c  wasm/vision_wasm_internal.js
    f82a8e6c05e08a44cc9f9e7ec5f845935bcbb1b1500ebe8c2f4812fb4e2917dc  wasm/vision_wasm_internal.wasm
    abe9b6fbeaf86fcb53a5edce3926c82ccb0619e18fed4d9d9ce561ee7f55e054  wasm/vision_wasm_nosimd_internal.js
    38b61feab2fd7934e05cbe9f68baa308978a5e3b7f85c1913bb8ae89b8ef8b97  wasm/vision_wasm_nosimd_internal.wasm
    64184e229b263107bc2b804c6625db1341ff2bb731874b0bcc2fe6544e0bc9ff  face_landmarker.task

`test_survives.py` in the repository's root fails if any of these stops matching.

The model runs in the visitor's browser. It is given the camera's picture there and nowhere else; nothing in this
folder sends anything.
