-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
os:windowsMediaPipe issues on WindowsMediaPipe issues on Windowsplatform:pythonMediaPipe Python issuesMediaPipe Python issuesstat:awaiting googlerWaiting for Google Engineer's ResponseWaiting for Google Engineer's Responsetask:gesture recognitionIssues related to hand gesture recognition: Identify and recognize hand gesturesIssues related to hand gesture recognition: Identify and recognize hand gesturestype:supportGeneral questionsGeneral questions
Description
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
Windows 10
Python Version
3.9
MediaPipe Model Maker version
No response
Task name (e.g. Image classification, Gesture recognition etc.)
Gesture recognition
Describe the actual behavior
I see that this model includes two parts: hand detection and gesture recognition. The input of the gesture recognition module is landmark coordinates and other information. But I saw that the instance code is directly input into the image, and the two modules are running together. I want to directly input the landmark coordinates to the gesture recognition moduleDescribe the expected behaviour
One of my devices obtained some landmark coordinates by running the hand detection module and sent this information to another device. After receiving the information, this device wants to input it into the model for gesture recognition. Now I don't know how to do thisStandalone code/steps you may have used to try to get what you need
mp_image = mp.Image(image_format=mp.ImageFormat.SRGB, data=img)
timestamp = mp.Timestamp.microseconds(mp.Timestamp.from_seconds(time.time()))
results = recognizer.recognize_async(mp_image,timestamp) # I don't want to input imageOther info / Complete Logs
No response
Metadata
Metadata
Assignees
Labels
os:windowsMediaPipe issues on WindowsMediaPipe issues on Windowsplatform:pythonMediaPipe Python issuesMediaPipe Python issuesstat:awaiting googlerWaiting for Google Engineer's ResponseWaiting for Google Engineer's Responsetask:gesture recognitionIssues related to hand gesture recognition: Identify and recognize hand gesturesIssues related to hand gesture recognition: Identify and recognize hand gesturestype:supportGeneral questionsGeneral questions