Merge pull request #4978 from amacsmith:master
PiperOrigin-RevId: 585775506
This commit is contained in:
commit
6fa9848a15
|
@ -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