mediapipe icon indicating copy to clipboard operation
mediapipe copied to clipboard

Blazepose Javascript solution takes 100% CPU utilization.

Open prajwal-v-athreya opened this issue 3 years ago • 6 comments

System information

  • I am using the example code provided on mediapipe's github
  • Running the JS solution for pose estimation
  • MediaPipe version: all versions have this issue
  • Bazel version: all versions have this issue
  • Solution: Pose
  • Programming Language and version : JavaScript - latest

Describe the expected behavior:

When the model runs on a browser it is using 100% CPU. Due to this other services are getting choked. Is there a way to reduce the amount of CPU it is utilizing and making it lighter? I have even used modelComplexity in different modes as well but it hasn't been very useful.

These are the options I am using: pose.setOptions({ staticimagemode: false, modelComplexity: 0, selfieMode: true, smoothLandmarks: true, enableSegmentation: false, smoothSegmentation: false, minDetectionConfidence: 0.5, minTrackingConfidence: 0.5 });

prajwal-v-athreya avatar Jun 02 '22 09:06 prajwal-v-athreya

Are you satisfied with the resolution of your issue? Yes No

google-ml-butler[bot] avatar Jun 02 '22 09:06 google-ml-butler[bot]

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.

google-ml-butler[bot] avatar Jun 13 '22 06:06 google-ml-butler[bot]

Closing as stale. Please reopen if you'd like to work on this further.

google-ml-butler[bot] avatar Jun 20 '22 07:06 google-ml-butler[bot]

Are you satisfied with the resolution of your issue? Yes No

google-ml-butler[bot] avatar Jun 20 '22 07:06 google-ml-butler[bot]

Closing as stale. Please reopen if you'd like to work on this further.

google-ml-butler[bot] avatar Jun 28 '22 04:06 google-ml-butler[bot]

Are you satisfied with the resolution of your issue? Yes No

google-ml-butler[bot] avatar Jun 28 '22 04:06 google-ml-butler[bot]

Hello @prajwal-v-athreya, We are upgrading the MediaPipe Legacy Solutions to new MediaPipe solutions However, the libraries, documentation, and source code for all the MediapPipe Legacy Solutions will continue to be available in our GitHub repository and through library distribution services, such as Maven and NPM.

You can continue to use those legacy solutions in your applications if you choose. Though, we would request you to check new MediaPipe solutions which can help you more easily build and customize ML solutions for your applications. These new solutions will provide a superset of capabilities available in the legacy solutions. Thank you

kuaashish avatar May 05 '23 10:05 kuaashish

This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.

github-actions[bot] avatar May 13 '23 01:05 github-actions[bot]

This issue was closed due to lack of activity after being marked stale for past 7 days.

github-actions[bot] avatar May 20 '23 01:05 github-actions[bot]

Are you satisfied with the resolution of your issue? Yes No

google-ml-butler[bot] avatar May 20 '23 01:05 google-ml-butler[bot]