mediapipe icon indicating copy to clipboard operation
mediapipe copied to clipboard

Use two MediaPipe solutions at the same time.

Open GreenVegetables opened this issue 2 years ago • 6 comments

I have used the AAR of selfie-segmentation in my project and it is working fine. All contents of the package com.google.mediapipe are included in the AAR. like this: image

At the same time, I want to use facemesh with solution api way. In build.gradle, I added

implementation("com.google.mediapipe:solution-core:0.8.10.1-alpha-1")
implementation("com.google.mediapipe:facemesh:0.8.10.1-alpha-1")

When I run the project, it reports an error like this:

image

Because the solution-core dependencies also contain these:

image

How can I use selfie-segmentation and facemesh at the same time. please help me. thanks

GreenVegetables avatar Jun 28 '22 06:06 GreenVegetables

Hi @GreenVegetables , Could you provide steps to reproduce this issue.

sureshdagooglecom avatar Jun 29 '22 10:06 sureshdagooglecom

Hello @GreenVegetables I've faced your issue before. The only solution I found - combine multiple solutions in one graph. For example you first perform selfie segmentation and after that run face detection.

zzmicer avatar Jun 30 '22 09:06 zzmicer

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 Jul 07 '22 10:07 google-ml-butler[bot]

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

google-ml-butler[bot] avatar Jul 14 '22 10:07 google-ml-butler[bot]

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

google-ml-butler[bot] avatar Jul 14 '22 10:07 google-ml-butler[bot]

Hi @GreenVegetables , Yes , you will have use 2 different solutions in two different times.

sureshdagooglecom avatar Aug 04 '22 06:08 sureshdagooglecom

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

google-ml-butler[bot] avatar Aug 11 '22 07:08 google-ml-butler[bot]

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

google-ml-butler[bot] avatar Aug 11 '22 07:08 google-ml-butler[bot]