SandroMachado / openalpr-android

Android Automatic License Plate Recognition library (http://www.openalpr.com) ported for android.
Apache License 2.0
770 stars 272 forks source link

Sample App does not recognize (detect) plates #80

Open AlexandreMeslin opened 3 years ago

AlexandreMeslin commented 3 years ago

Hi Sandro, first of all, thanks for your OpenALPR project and for making it open and free!

And hi all also!

I downloaded the full project, and now I'm trying to use the sample as it is. I had some problems compiling the sample, and I had to make some changes:

  1. File gradle-wrapper.properties, I change the distributionURL: distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-rc-1-all.zip
  2. File build.gradle: I change the class path to: classpath 'com.android.tools.build:gradle:3.0.0-beta1'
  3. File build.gradle: I included the Maven repo:
    repositories {
    maven { 
        url 'https://maven.google.com'
    }
    jcenter()
    maven { url 'https://maven.fabric.io/public' }
    }
  4. And I removed the following line: apply plugin: 'com.github.dcendents.android-maven'

I'm not sure if I mess it up doing all of these, but finally, I could compile the project. When I run it on an AVD Pixel 2 API 30 CPU x86, the App does not recognize plates by photos or by uploaded pictures.

Can you help me, please!!! Alex