Opencv to apk with kivy or Kivymd,
HTML-код
- Опубликовано: 6 окт 2024
- This video is about how to convert kivy opencv application into an apk for android .
Like ,Share ,subscribe ,
Follow me in github github.com/Sah...
code link github.com/Sah...
see kivy apps in google store .Search
2048 Py
Sliding Puzzle Py
Pybird
Math Puzzle Py
Hello, I tried your code and my phone is using ARMv8-A architecture. I also included the CAMERA android permission and the libraries in the buildozer.spec file, however the app is crashing. The logcat is producing errors related to kivy clock and it also stated that there is no attribute blit_buffer at line 44.
I'm watching your tutorial now in May 2022 and Android Studio's 'tools' directory is not available. Do you know how to solve this? Please any help I'll be very grateful
bro where threading library😮by using threading you reduce lag. it will seperate ui and camera process so that you will not feel lag in ui
I use Ubuntu 20.04, install newest android studio and sdk tools, command line tools in this application interface, now i want to build apk from files in camera android project in your github, i still follow this??? Thanks.
How can we switch between front and rare camera ??
Got white screen after deploying apk on android.. How to fix this?
Please what is the rule of line 12 ("Camerax = autoclass("android.hardware.Camera ") ").
as I can see you dont call it after
no use .I was testing with this code .
Hello! Thank you so much for this great content! I get a noclassfound error for camera info when I run on python. Also, I created apk regardless to the error, but the app crashes when I open it. I manually turned on camera / storage permission, but it still crashes. Could you please help me?
see all adb logs and put logs in Kivy user support group
great job! Thanks man
like, Share subscribe ,Stay tuned for more interesting videos
This does not access the front camera on a tablet. Any ideas?
read java android code for front camera .and connect with Python using pyjnius
How can i do that on windows ?
Please suggest anything!
Use virtual machine
Thanks for the reply.
It's been one month, and I have tried with buildozer in coolab. I also tried the gitHub Action method, but nothing worked with opencv.
Will this method work as of now ?? Because in coolab, I had to check with some new libraries when I used buildozer, like libff7 instead of libff6.
There is always an error when i change resolution ((640, 480) or (480, 640 )) to more (like 1024, 724 ).
Please Sir how to solve it ?
developer.android.com/guide/topics/media/camera
you have to maintain screen aspect ratio i think.
for further discussion please visit "kivy user support " google group
@@sksahil4374 Please how to maintain screen aspect ratio (show by code)?
@@jovyalchoussi4268 here we are accessing android camera via Java Android api ..and pyjnius is bridge between python and Java .so we can use java classes in python through pyjnius ..so to configure android camera you have to read camera API of Java Android .then connect java code to python via pyjnius.
@@sksahil4374 Thanks for the link sir. by it i have an idea.
Thanks
@@jovyalchoussi4268 see "pykivdroid" python module I have written .using pyjnius to control android .
Sir muze aapse ek apk banvana tha me aapse kese contact karu
Give me your mail or any contact details .
can you share your .buildozer
sorry i cant it is more than 1GB
Bro is there any way to import android in Pycharm. Because when we use Java class to confirm it we need everytime to do apk. Is there any solution for it?
You need Android OS to run java android code.
Java android developers are also doing that ..They every time build and test on Android OS ...I will suggest you use Physical Android device ..
nice bro :D
like share subscribe
bro code pllzzz
keep for github
like share subscribe
github.com/Sahil-pixel/Kivy-Android-Face-Detection
@@sksahil4374 thanks bro nice content.
@@sagarhm2237 Subscribe for more videos
Bro your apk didn't work in my device ?
Manually enable camera permission and storage permission
@@sksahil4374 I do it ,but also don't work
@@someone-od2qi what android version you are using ?
@@sksahil4374 yes
i mean android api level?