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

Recipe for mediapipe required to execute python code on android #2999

Open
ghost opened this issue Mar 29, 2024 · 2 comments
Open

Recipe for mediapipe required to execute python code on android #2999

ghost opened this issue Mar 29, 2024 · 2 comments

Comments

@ghost
Copy link

ghost commented Mar 29, 2024

I built a python project with Kivy, opencv and mediapipe and Ibuilt an apk for it using buildozer. The apk failed to run in simulator in Android Studio with error:
ImportError: dlopen failed: "/data/data/org.test.myapp/files/app/_python_bundle/site-packages/mediapipe/python/_framework_bindings.so" is for EM_X86_64 (62) instead of EM_AARCH64 (183)

I would need a recipe for mediapipe for it to be successful.

buildozer.spec

requirements = python3,kivy==2.3.0,mediapipe,opencv,opencv_extras,kivymd,numpy,pillow

@Muhaiminnn
Copy link

mee too, is there any solution??

@T-Dynamos
Copy link
Contributor

Please understand that adding this recipe isn't worth, android has already mediapipe apis which you can use with pyjnius.

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

2 participants