mediapipe: Unable to find Calculator "mediapipe.tasks.vision.face_landmarker.FaceLandmarkerGraph"; Initialize was not ok

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.

   const vision = await FilesetResolver.forVisionTasks(
        "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@latest/wasm"
    );
    const faceLandmarker = await FaceLandmarker.createFromModelPath(vision,
        "https://storage.googleapis.com/mediapipe-tasks/face_landmarker/face_landmarker.task"
    );

However the browser is giving me the follow error. image

Is there anything wrong within my process or is the task file still need to be updated? Thank you.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 2
  • Comments: 15

Most upvoted comments

It WORKS using models from this link, taken from this issue

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.

@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.

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 Can you tell me the specific time for the upcoming NPM release ?

@kuaashish @schmidt-sebastian

Instead of labeling this as type:others => it would be great for the community to be type:blendshape <= soon to be hot topic for mediapipe so the community can easily track the effort done by others

Create a “mediapipe blendshape” label