Updated mediapipe/mediapipe/tasks/web /vision/README.md
There was a typo in the url referencing Gesture Recognizer ``` const gestureRecognizer = await GestureRecognizer.createFromModelPath(vision, "hhttps://storage.googleapis.com/mediapipe-models/gesture_recognizer/gesture_recognizer/float16/1/gesture_recognizer.task" ); ``` changed to ``` const gestureRecognizer = await GestureRecognizer.createFromModelPath(vision, "https://storage.googleapis.com/mediapipe-models/gesture_recognizer/gesture_recognizer/float16/1/gesture_recognizer.task" ); ``` The extra 'h' was dropped. Let me know if there are anymore updates needed for this.
This commit is contained in:
parent
e7edd97eff
commit
5ca859f90b
|
@ -66,7 +66,7 @@ const vision = await FilesetResolver.forVisionTasks(
|
|||
"https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision/wasm"
|
||||
);
|
||||
const gestureRecognizer = await GestureRecognizer.createFromModelPath(vision,
|
||||
"hhttps://storage.googleapis.com/mediapipe-models/gesture_recognizer/gesture_recognizer/float16/1/gesture_recognizer.task"
|
||||
"https://storage.googleapis.com/mediapipe-models/gesture_recognizer/gesture_recognizer/float16/1/gesture_recognizer.task"
|
||||
);
|
||||
const image = document.getElementById("image") as HTMLImageElement;
|
||||
const recognitions = gestureRecognizer.recognize(image);
|
||||
|
|
Loading…
Reference in New Issue
Block a user