-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to find Calculator "mediapipe.tasks.vision.face_landmarker.FaceLandmarkerGraph"; Initialize was not ok #4200
Comments
Instead of labeling this as |
FaceLandmarker is not yet released via NPM. While you can build from source, you will need to wait for the new Wasm binaries to land on NPM. I am working on a release today, so this should be resolved soon. |
@schmidt-sebastian |
Thanks, @schmidt-sebastian. You are my destiny !!! |
@schmidt-sebastian Hi! I have just tried the npm release with the script
But the browser says Thank you very much. |
You can download and try in your project. Here are the results I got: Untitled.mp4 |
My code to initialize blendshap: const vision = await FilesetResolver.forVisionTasks(
"https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@latest/wasm"
)
const response = await FaceLandmarker.createFromOptions(vision, {
baseOptions: {
modelAssetPath: "asset/blendshapes.task", // your blendshape model
},
numFaces: 1,
outputFaceBlendshapes: true,
runningMode: "VIDEO",
outputFacialTransformationMatrixes: true,
}); |
@baronha still not working for me ; the initialization was ok but error occurred during inference, I guess I have problems with the calling procedure. Appreciate it a lot if you could give me some advice
|
@FishWoWater , the latest npm package looks broken. Use the version 0.1.0-alpha-11 instead of "latest" and it should work well. All the best. |
@ArghyaDasIntel Thank you~ Yes, I have tried the 0.1.0-alpha-11 and it works with the model provided by baronda |
Hi, I was trying to test out the newly committed face landmarker web api.
I build the package by running bazel build vision_pkg and then try to use it using the follow code.
However the browser is giving me the follow error.
Is there anything wrong within my process or is the task file still need to be updated?
Thank you.
The text was updated successfully, but these errors were encountered: