Lack of documentation for compiling MediaPipe as a TensorFlow.js WASM package #5613
Labels
legacy:face mesh
Issues related to Face Mesh
platform:javascript
MediaPipe Javascript issues
type:docs-feature
Doc issues for new solution, or clarifications about functionality
type:support
General questions
Description of issue (what needs changing)
The current MediaPipe documentation does not provide instructions or examples on how to compile the Face Mesh model (for instance) as a WASM package for TensorFlow.js.
Clear description
The current MediaPipe documentation does not provide instructions or examples on how to compile the Face Mesh model (for instance) as a WASM package for TensorFlow.js. I’m interested in that because I want to change the built in FaceDetector Short-Range to a Full-Range model (in legacy solutions). Frameworks such as Bazel and Emscripten are involved, and possible configurations such as SIMD and XNNPACK are crucial for performance, but are poorly documented. Mediapipe solutions for TFJS API have a great performance compared to native TFJS models, so I consider it would be necessary for developers to know those compiling instructions.
Relevant links:
Mediapipe’s JS solutions, with no compiling instructions https://github.com/google-ai-edge/mediapipe/blob/master/docs/getting_started/javascript.md
Mediapipe’s Face Mesh model, with no TFJS compiling option https://github.com/google-ai-edge/mediapipe/blob/master/docs/solutions/face_mesh.md
TFJS Mediapipe Face Mesh: https://github.com/tensorflow/tfjs-models/tree/master/face-landmarks-detection/src/mediapipe
Desired libraries to compile: https://www.npmjs.com/package/@mediapipe/face_mesh
The most similar solution I have found https://github.com/prantoran/mediapipe/tree/latest_wasm
Correct links
Yes but incomplete.
Parameters defined
Documentation should explain the necessary build parameters for configuring the compilation of the Mediapipe models specifically for the WASM output targeting TensorFlow.js.
Returns defined
No response
Raises listed and defined
No response
Usage example
No response
Request visuals, if applicable
No response
Submit a pull request?
No
The text was updated successfully, but these errors were encountered: