Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
web
Mobile device if the issue happens on mobile device
No response
Browser and version if the issue happens on browser
No response
Programming Language and version
0.10.0
MediaPipe version
No response
Bazel version
No response
Solution
handLandmarker
Android Studio, NDK, SDK versions (if issue is related to building in Android environment)
No response
Xcode & Tulsi version (if issue is related to building for iOS)
No response
Describe the actual behavior
the browser process freezes
Describe the expected behaviour
can close
Standalone code/steps you may have used to try to get what you need
in your example
const createHandLandmarker = async () => {
const vision = await FilesetResolver.forVisionTasks(
"https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@0.10.0/wasm"
);
handLandmarker = await HandLandmarker.createFromOptions(vision, {
baseOptions: {
modelAssetPath: `https://storage.googleapis.com/mediapipe-models/hand_landmarker/hand_landmarker/float16/1/hand_landmarker.task`,
delegate: "GPU"
},
runningMode: runningMode,
numHands: 2
});
window.Test = handLandmarker
demosSection.classList.remove("invisible");
};
setTimeout(() => {handLandmarker.close()}, 100000)
Other info / Complete Logs
the browser process freezes
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
web
Mobile device if the issue happens on mobile device
No response
Browser and version if the issue happens on browser
No response
Programming Language and version
0.10.0
MediaPipe version
No response
Bazel version
No response
Solution
handLandmarker
Android Studio, NDK, SDK versions (if issue is related to building in Android environment)
No response
Xcode & Tulsi version (if issue is related to building for iOS)
No response
Describe the actual behavior
the browser process freezes
Describe the expected behaviour
can close
Standalone code/steps you may have used to try to get what you need
Other info / Complete Logs