cansik / mediapipe-osc

MediaPipe examples which stream their detections over OSC.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

formatting OSC message hands.py

evavdborn opened this issue · comments

Hi, this seems to work pretty well! I'm sending the OSC message to Wekinator, but it seems that the incoming OSC messages misses some values...

  1. it seems it doesnt count the hands ((i always get a 0 value, also with both hands)
  2. it doenst give a value for the visibility

Example of the message [0, 0.37387, 0.66106, 0, 0, 0.35562, 043452, 0.27642, 0, etc]

Does anyone know what's going on? I've seen there have been some recent updates in the landmark framework from Mediapipe. Could this be a problem?

Thanks in advance

When I run the hand detection on my machine I get the right detection count. Have you modified the code?
The visibility is always the default value and can be ignored (google-ai-edge/mediapipe#1320).