18 lines
937 B
Markdown
18 lines
937 B
Markdown
|
|
# Local MediaPipe assets
|
||
|
|
|
||
|
|
`vision_bundle.js` and the four wasm loader/binary files under `wasm/` come
|
||
|
|
from `@mediapipe/tasks-vision` **1.0.1**, pinned in `frontend/package.json`.
|
||
|
|
`FilesetResolver.forVisionTasks` uses the SIMD pair where supported and the
|
||
|
|
no-SIMD pair elsewhere. The package and these files are Apache-2.0; see
|
||
|
|
[LICENSE](LICENSE).
|
||
|
|
|
||
|
|
`face_landmarker.task` is the official [Face Landmarker model](https://storage.googleapis.com/mediapipe-models/face_landmarker/face_landmarker/float16/1/face_landmarker.task).
|
||
|
|
Its SHA-256 is
|
||
|
|
`64184e229b263107bc2b804c6625db1341ff2bb731874b0bcc2fe6544e0bc9ff`.
|
||
|
|
|
||
|
|
These are served from `/mediapipe/` so detection needs no CDN at runtime. The
|
||
|
|
browser bundle is loaded as a script before the CLJS app because Shadow CLJS
|
||
|
|
cannot parse the package's CommonJS bundle (its dynamic `import()` is unsupported
|
||
|
|
by the current compiler). `flow/detect.cljs` is the sole call site for its
|
||
|
|
`Vision` global.
|