mediapipe icon indicating copy to clipboard operation
mediapipe copied to clipboard

Update for returning gesture index in gesture_recognizer.py

Open Sandeepsabbella opened this issue 1 year ago • 1 comments

The gesture recognizer is returning a default value of -1. changed the _GESTURE_DEFAULT_INDEX to gesture.index to return the gesture class index (id:int). Now the respective class index is returned when the category is predicted by the model.

Sandeepsabbella avatar Jul 23 '24 19:07 Sandeepsabbella

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar Jul 23 '24 19:07 google-cla[bot]