Open Hamed-Hassanzadeh opened 4 months ago
Hi @Hamed-Hassanzadeh,
Currently, the web worker is not very familiar with our task API. However, we are marking this as a feature request and will share it with the team to ensure it is on our radar. We will consider making it more user-friendly if there is more demand in the near future.
Thank you!!
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
Yes
OS Platform and Distribution
Windows 10, Chrome 126
MediaPipe Tasks SDK version
0.10.14
Task name (e.g. Image classification, Gesture recognition etc.)
Face Landmarker
Programming Language and version (e.g. C++, Python, Java)
JavaScript
Describe the actual behavior
Module scripts don't support importScripts() so when you try to run face landmarker in a module web worker it throws an error
Describe the expected behaviour
Should be able to run face landmarker in a module web worker
Standalone code/steps you may have used to try to get what you need
Other info / Complete Logs