mediapipe icon indicating copy to clipboard operation
mediapipe copied to clipboard

The stop() method on the Camera does not disable requestAnimationFrame calls

Open Dok11 opened this issue 2 years ago • 1 comments

I use camera_utils.js and after call .stop() on the instance of Camera class the requestAnimationFrame still works.

image image

As you can see the link to the requestAnimationFrame not saved to any class property, so it can't be remove after call the stop method. image

And, of course, in the whole js file does not present the cancelAnimationFrame method that should be calls in the stop method.

Dok11 avatar Apr 05 '22 16:04 Dok11

@Dok11 maybe it is related to this bug, can you test it, please?

https://github.com/google/mediapipe/issues/3373

DeividVeloso avatar May 25 '22 19:05 DeividVeloso

Hello @Dok11, 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 04 '23 09: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 12 '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 19 '23 01:05 github-actions[bot]

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

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

Hey have you solved this issue ?

galharth avatar Jun 06 '23 10:06 galharth