tf-lite-unity-sample icon indicating copy to clipboard operation
tf-lite-unity-sample copied to clipboard

Blazepose Wrist and Ankle Angles

Open tolgak99 opened this issue 3 years ago • 4 comments

Environment (please complete the following information):

  • OS/OS Version: macOS 12.0.1
  • Source Version: master/v2.8.0
  • Unity Version: Unity 2021.3.3f1

Describe the bug In BlazePose scene detection can not detect wrist and ankle angels clearly as MediaPipe Web Demo.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'BlazePose Scene'
  2. Import 'pose_landmark_heavy.tflite'
  3. Try to see ankle and wrist angles

Expected behavior I need to get ankle and wrist angles degree.

Additional context Thanks for this repo, examples are clear and works well.

Screenshots You can see difference between web demo and unity version.

Unity Version Screen Shot 2022-06-01 at 09 40 45

Web Demo Screen Shot 2022-06-01 at 10 15 58

tolgak99 avatar Jun 01 '22 07:06 tolgak99

@tolgak99 Thanks for reporting. Can you please share the URL of the web-demo? will check it.

asus4 avatar Jun 01 '22 08:06 asus4

Of course. It is original demo of google as you can see below the page https://google.github.io/mediapipe/solutions/pose. Here is web demo link: https://cdpn.io/mediapipe/fullpage/jOMbvxw. Thanks for your answer.

tolgak99 avatar Jun 01 '22 08:06 tolgak99

Reproduced it on my mac. And the following modifications did not fix it. it might be an issue in C# pre/post-processing.

  • Disable quantization in MetalDelegate https://github.com/asus4/tf-lite-unity-sample/blob/4ed29ea1642ef82f1da0a37e55ea2d7c0e4d7077/Packages/com.github.asus4.tflite/Runtime/InterpreterOptions.cs#L101

  • Change Accelerator to Accelerator.NONE https://github.com/asus4/tf-lite-unity-sample/blob/4ed29ea1642ef82f1da0a37e55ea2d7c0e4d7077/Assets/Samples/BlazePose/PoseLandmarkDetect.cs#L84

asus4 avatar Jun 10 '22 15:06 asus4

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.

stale[bot] avatar Aug 10 '22 00:08 stale[bot]