Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Holistic with Iris does not work on Android #61

Closed
some2014 opened this issue Feb 15, 2021 · 11 comments
Closed

Holistic with Iris does not work on Android #61

some2014 opened this issue Feb 15, 2021 · 11 comments

Comments

@some2014
Copy link

some2014 commented Feb 15, 2021

Dear developer:
Thank you very much for your great achievements!

Everything is OK on Mac OS,there is a problem on Android 10 device(Cpu A78 Gpu G77)
Face detection, hand tracking and pose tracking are all Fine.
After hollistic && Iris tracking runs, the screen stops and cannot be detected.

The log prompt may be this:
2021-02-16 02:15:40.314 15997-16112/? E/tflite: Following operations are not supported by GPU delegate: DEQUANTIZE: 577 operations will run on the GPU, and the remaining 0 operations will run on the CPU.

Looking forward to your reply, thank you!

@homuler
Copy link
Owner

homuler commented Feb 16, 2021

Can you run the official apk (mediapipe/examples/android/src/java/com/google/mediapipe/apps/holistictrackinggpu:holistictrackinggpu) on your device?

@some2014
Copy link
Author

Can you run the official apk (mediapipe/examples/android/src/java/com/google/mediapipe/apps/holistictrackinggpu:holistictrackinggpu) on your device?

Google's official holistictrackingGpu works well。

@homuler
Copy link
Owner

homuler commented Feb 16, 2021

OK. Will you enable verbose log (see https://github.com/homuler/MediaPipeUnityPlugin#debug-mediapipe) and share the runtime log, please?

adb logcat Unity:V native:V tflite:V CRASH:E AndroidRuntime:E "*:S"

I would also like you to try disabling iris detection.
Please uncheck Detect Iris from the inspector window for Holistic (Assets/MediaPipe/Examples/Graphs/Holistic/Objects/Holistic.prefab).
Desktop-screenshot

@some2014
Copy link
Author

Hello,After canceling iris recognition, the program can run normally

@homuler
Copy link
Owner

homuler commented Feb 16, 2021

Please filter logs like this.

adb logcat Unity:V native:V tflite:V CRASH:E AndroidRuntime:E "*:S"

And the output would be very long, so please upload the file.

@some2014
Copy link
Author

log file:
log.txt
Thanks!

@homuler
Copy link
Owner

homuler commented Feb 17, 2021

Thank you for uploading the log.
I'm afraid that the process is too heavy for your device, although there may be a workaround or room for improvements.

@homuler homuler changed the title Android Error Holistic with Iris does not work on Android Feb 20, 2021
@some2014
Copy link
Author

some2014 commented Feb 24, 2021

Thank you for uploading the log.
I'm afraid that the process is too heavy for your device, although there may be a workaround or room for improvements.

Hello, The performance of CPU is between 855 and 865, Redmi K30; And There is also a problem that using APK packaged by unity in win10 can't call the Camera

@some2014
Copy link
Author

The log of packing APK not working in win10:

log.txt

@midopooler
Copy link

@some2014 Can you share the built APK?

@homuler
Copy link
Owner

homuler commented Sep 26, 2021

@some2014 I've made a big change to the sample app at #296.
If you're still interested in the issue, please tell me whether the issue is fixed or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants