-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Android FrameProcessor method close() will crash #2150
Comments
I have found a similar issue, Could you please verify with this. If the reference doesn't work, please provide the below details. Assuming the above issue is often due to finding the calculator dependencies. Can you provide all the steps to reproduce the above error. With respective details like android phone and its version. |
@sgowroji I use a simple example to replicate the processor.close() crash problem. activity_main.xml MainActvitiy.java My Android phone is Samsung (Galaxy A8+), and the Android version is 9.0. |
@camillol knows the FrameProcessor better than @mcclanahoochie and me. It's better to ask @camillol to take a look. |
@camillol Could you help me~? |
@solmate-james Are you still looking for a resolution? |
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. |
Closing as stale. Please reopen if you'd like to work on this further. |
I've had the same problem before, hope someone has the best solution. |
I use face detection and hair segmentation, both of which work when used alone.
My situation is that face detection is turned on in Activity, and there is a Bottom Navigation Bar at the bottom of the screen. When you click on it will switch Fragment.
After entering Fragment will turn on hair segmentation, but the App will crash.
com.google.mediapipe.framework.MediaPipeException: not found ValidatedGraphConfig Initialization failed
I think the implementation of FrameProcessor is caused by singleton.
So I want to close the FrameProcessor before entering the Fragment
But it will crash directly when I call it.
How do I use FrameProcessor close() well?
#1555 #580
I have confirmed the above two questions. It seems that they only use one model, so they can singleton FrameProcessor, but I have to set a different mobile_gpu.binarypb in new FrameProcessor(), the situation is different.
The text was updated successfully, but these errors were encountered: