portrait-segmentation-mediapipe icon indicating copy to clipboard operation
portrait-segmentation-mediapipe copied to clipboard

APK not working properly.

Open kunalchamoli opened this issue 4 years ago • 3 comments

Hello Swati I tried running your code but ran into some error

/mediapipe/mediapipe/examples/android/src/java/com/google/mediapipe/apps/portraitsegmentationgpu/BUILD:35:15: Merging manifest for //mediapipe/examples/android/src/java/com/google/mediapipe/apps/portraitsegmentationgpu:portraitsegmentationgpu failed (Exit 1): ResourceProcessorBusyBox failed: error executing command bazel-out/k8-opt-exec-50AE0418/bin/external/bazel_tools/src/tools/android/java/com/google/devtools/build/android/ResourceProcessorBusyBox --tool MERGE_MANIFEST -- --manifest ... (remaining 11 argument(s) skipped)

a person here had the same issue, so i tried the solution given to him about adding converterNumBuffers paramerter into the BUILD and was then able to build the APK.

However, the built APK is still not working ( it is asking for camera permission, but the screen is black the whole time). Since, I don't have much knowledge about android, could you also help me in debugging this.

kunalchamoli avatar Sep 11 '21 19:09 kunalchamoli

Hi Kunal,

there were some issues because of the outdated MediaPipe version, I have updated it, you should be able to build the app successfully now.

SwatiModi avatar Sep 19 '21 18:09 SwatiModi

Hey what do you mean by outdated MediaPipe version affecting the app. I am just using docker file so I am hoping that the mediapipe version is up to date. I just recently cloned files from mediapipe github and other examples work perfectly in my case (hairsegmentationgpu)

I have the same black screen problem running your code from the article (I am not using your github code so if you changed something at github, then please let me know). I am not sure what is the problem here. Does it have something to do with the graphs? Please let me know Thanks!!

zbt160 avatar Nov 06 '22 00:11 zbt160

Just a reminder. Still not able to figure out the problem in this case. It will be great if you can give some pointers on the possible issue here. My version is the latest.

zbt160 avatar Nov 15 '22 17:11 zbt160