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

Комментарии • 53

  • @battledoom6054
    @battledoom6054 2 года назад +2

    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.

  • @guilhermematos2340
    @guilhermematos2340 2 года назад +1

    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

  • @soonislive
    @soonislive 7 месяцев назад

    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

  • @nqtz
    @nqtz Год назад

    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.

  • @xerogaming2127
    @xerogaming2127 2 года назад

    How can we switch between front and rare camera ??

  • @ranarobo3078
    @ranarobo3078 2 года назад

    Got white screen after deploying apk on android.. How to fix this?

  • @jovyalchoussi4268
    @jovyalchoussi4268 2 года назад

    Please what is the rule of line 12 ("Camerax = autoclass("android.hardware.Camera ") ").
    as I can see you dont call it after

    • @sksahil4374
      @sksahil4374  2 года назад

      no use .I was testing with this code .

  • @takashifukushima5013
    @takashifukushima5013 2 года назад

    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?

    • @sksahil4374
      @sksahil4374  2 года назад +1

      see all adb logs and put logs in Kivy user support group

  • @alexeydresden
    @alexeydresden 3 года назад

    great job! Thanks man

    • @sksahil4374
      @sksahil4374  3 года назад +1

      like, Share subscribe ,Stay tuned for more interesting videos

  • @BryceChudomelka
    @BryceChudomelka 3 года назад

    This does not access the front camera on a tablet. Any ideas?

    • @sksahil4374
      @sksahil4374  3 года назад +1

      read java android code for front camera .and connect with Python using pyjnius

  • @demigodsadventures
    @demigodsadventures Год назад

    How can i do that on windows ?
    Please suggest anything!

    • @sksahil4374
      @sksahil4374  Год назад

      Use virtual machine

    • @demigodsadventures
      @demigodsadventures Год назад

      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.

  • @jovyalchoussi4268
    @jovyalchoussi4268 2 года назад

    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 ?

    • @sksahil4374
      @sksahil4374  2 года назад

      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

    • @jovyalchoussi4268
      @jovyalchoussi4268 2 года назад

      @@sksahil4374 Please how to maintain screen aspect ratio (show by code)?

    • @sksahil4374
      @sksahil4374  2 года назад

      @@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.

    • @jovyalchoussi4268
      @jovyalchoussi4268 2 года назад

      @@sksahil4374 Thanks for the link sir. by it i have an idea.
      Thanks

    • @sksahil4374
      @sksahil4374  2 года назад +1

      @@jovyalchoussi4268 see "pykivdroid" python module I have written .using pyjnius to control android .

  • @mayurmore6686
    @mayurmore6686 Год назад +1

    Sir muze aapse ek apk banvana tha me aapse kese contact karu

    • @sksahil4374
      @sksahil4374  Год назад

      Give me your mail or any contact details .

  • @gregoriuswillson4153
    @gregoriuswillson4153 3 года назад

    can you share your .buildozer

    • @sksahil4374
      @sksahil4374  3 года назад

      sorry i cant it is more than 1GB

  • @sagarhm2237
    @sagarhm2237 3 года назад

    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?

    • @sksahil4374
      @sksahil4374  3 года назад

      You need Android OS to run java android code.

    • @sksahil4374
      @sksahil4374  3 года назад

      Java android developers are also doing that ..They every time build and test on Android OS ...I will suggest you use Physical Android device ..

  • @reneromero3764
    @reneromero3764 3 года назад

    nice bro :D

  • @sagarhm2237
    @sagarhm2237 3 года назад

    bro code pllzzz
    keep for github

    • @sksahil4374
      @sksahil4374  3 года назад

      like share subscribe
      github.com/Sahil-pixel/Kivy-Android-Face-Detection

    • @sagarhm2237
      @sagarhm2237 3 года назад

      @@sksahil4374 thanks bro nice content.

    • @sksahil4374
      @sksahil4374  3 года назад

      @@sagarhm2237 Subscribe for more videos

  • @someone-od2qi
    @someone-od2qi 3 года назад

    Bro your apk didn't work in my device ?

    • @sksahil4374
      @sksahil4374  3 года назад +1

      Manually enable camera permission and storage permission

    • @someone-od2qi
      @someone-od2qi 3 года назад

      @@sksahil4374 I do it ,but also don't work

    • @sksahil4374
      @sksahil4374  3 года назад +1

      @@someone-od2qi what android version you are using ?

    • @someone-od2qi
      @someone-od2qi 3 года назад

      @@sksahil4374 yes

    • @sksahil4374
      @sksahil4374  3 года назад

      i mean android api level?