From 5ca859f90b56ca3dffa54beab6b64e421ad04a09 Mon Sep 17 00:00:00 2001 From: Alex Macdonald-Smith Date: Tue, 21 Nov 2023 16:03:57 -0500 Subject: [PATCH] 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. --- mediapipe/tasks/web/vision/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediapipe/tasks/web/vision/README.md b/mediapipe/tasks/web/vision/README.md index 816ef9e4f..c603beaea 100644 --- a/mediapipe/tasks/web/vision/README.md +++ b/mediapipe/tasks/web/vision/README.md @@ -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);