asus4 / tf-lite-unity-sample

TensorFlow Lite Samples on Unity
861 stars 252 forks source link

Hand tracking sample #259

Closed Qiuqiu0529 closed 1 year ago

Qiuqiu0529 commented 1 year ago

In hand tracking sample,only one hand can be detected.HandTrackingSample.cs line 96 shows " // Detect only first palm". I wonder how to modify it so that it can detects both hands. And have you considered create a sample for mediapipe's holistic model?I try to run face mesh,hand tracking and pose detect in one scene,and it runs slowly.(PS:I did detect rect before detect landmarks.

asus4 commented 1 year ago

Technically, detecting multiple hands would be possible by calling the HandLandmarkDetect.Invoke method for each palm.

I also suggest looking at MediaPipeUnityPlugin which supports Holistic detection. It may be more suitable for your use case.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.