cansik / mediapipe-osc

MediaPipe examples which stream their detections over OSC.
MIT License
42 stars 10 forks source link

formatting OSC message hands.py #4

Open evavdborn opened 3 years ago

evavdborn commented 3 years ago

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

cansik commented 3 years ago

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 (https://github.com/google/mediapipe/issues/1320).