google-ai-edge / mediapipe

Cross-platform, customizable ML solutions for live and streaming media.
https://ai.google.dev/edge/mediapipe
Apache License 2.0
27.46k stars 5.15k forks source link

selfie segmentation official demo page is not working #2260

Closed ghost closed 3 years ago

ghost commented 3 years ago

I think that selfie segmentation official demo page is not working well.

System information (Please provide as much relevant information as possible)

Describe the current behavior: When I access the official demo page of selfie segmentation, this has been loading for a long time. By the way, I could use other mediapipe services such as Face Detection, Face Mesh, Hands, Pose, Holistic. asdfaewa

Describe the expected behavior: I want to know anything I need to set up to run.

Standalone code to reproduce the issue:

Other info / Complete Logs : my console message afdafaw

sgowroji commented 3 years ago

Hi @gtaws2, Instead of integrated Camera from the dropdown controllers, Can you check the same build with other built in camera .

mhays-google commented 3 years ago

Can you tell me which OS / browser you specifically used to get this error? Selfie segmentation has an issue on Safari right now because I can't return more than one texture from our graph using my current strategy. I have a workaround, but performance is terrible right now so I'm still investigating.

This is on my short list of things to get working (I'm getting the other demos working on iOS first).

ghost commented 3 years ago

Thank you @mhays-google ! Yes, selfie segmentation (and handpose) are not working in Safari. But I tested these in Edge just before, they're worked!! Thank you very much and I'm waiting for it to work in Safari.

mhays-google commented 3 years ago

Working on iOS / Safari support for all of this as we speak. Safari for selfie segmentation has a secondary issue we need to address, but we're hoping to have updates in the next week or so.

On Wed, Jul 21, 2021 at 5:56 PM gtaws2 @.***> wrote:

Thank you @mhays-google https://github.com/mhays-google ! Yes, it's not working with Safari. But I tested with Edge just before, it's worked!! Thank you very much and I'm waiting for Safari to work.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/google/mediapipe/issues/2260#issuecomment-884591275, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHKQBFICV64F46QXNQJBG73TY5UFNANCNFSM474SDVPQ .

google-ml-butler[bot] commented 3 years 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.

mattrencher commented 3 years ago

Working on iOS / Safari support for all of this as we speak. Safari for selfie segmentation has a secondary issue we need to address, but we're hoping to have updates in the next week or so. On Wed, Jul 21, 2021 at 5:56 PM gtaws2 @.***> wrote: Thank you @mhays-google https://github.com/mhays-google ! Yes, it's not working with Safari. But I tested with Edge just before, it's worked!! Thank you very much and I'm waiting for Safari to work. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#2260 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHKQBFICV64F46QXNQJBG73TY5UFNANCNFSM474SDVPQ .

Any updates for iOS/Safari support? Or if you can point out what the issue is it would be very helpful.

mhays-google commented 3 years ago

Safari on iOS currently has an issue where we cannot return more than one texture from our graphs. it's not that we can't, it's that the technique we would be using would be to return image elements, and this is slow. We already are suffering from an inference engine that currently falls back to CPU when iOS is detected. So graphs that run at 30fps in the GPU are reduced to 5fps. Unless the frame rate is usable, the demos are not truly supported on iOS (in my opinion).

I could technically get the mask to return without returning the main image, but there would be synchronization issues using it as an overlay on the camera image. I will continue to ring the bell to get attention on this issue, though I have no release date for you right now.

On Tue, Aug 10, 2021 at 1:22 PM renchsan @.***> wrote:

Working on iOS / Safari support for all of this as we speak. Safari for selfie segmentation has a secondary issue we need to address, but we're hoping to have updates in the next week or so. … <#m3757221574963862762> On Wed, Jul 21, 2021 at 5:56 PM gtaws2 @.***> wrote: Thank you @mhays-google https://github.com/mhays-google https://github.com/mhays-google ! Yes, it's not working with Safari. But I tested with Edge just before, it's worked!! Thank you very much and I'm waiting for Safari to work. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#2260 (comment) https://github.com/google/mediapipe/issues/2260#issuecomment-884591275>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHKQBFICV64F46QXNQJBG73TY5UFNANCNFSM474SDVPQ .

Any updates for iOS/Safari support? Or if you can point out what the issue is it would be very helpful.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/google/mediapipe/issues/2260#issuecomment-896292628, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHKQBFLP26D6SWUQANONCQDT4GC63ANCNFSM474SDVPQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

ghost commented 3 years ago

Thank you! It works sometimes, but there are many errors. I'd like to release it.

google-ml-butler[bot] commented 3 years 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.

google-ml-butler[bot] commented 3 years ago

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

google-ml-butler[bot] commented 3 years ago

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