Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Compile OpenALPR for Android with NDK

Is there a way to compile the library OpenALPR (https://github.com/openalpr/openalpr) for Android using NDK (ndk-build)?

like image 707
Rino Seminara Avatar asked Dec 08 '22 10:12

Rino Seminara


1 Answers

If you are still looking to achieve it, here are the steps i followed in order to use OpenAlpr on Android device :

  • First Download and Install OpenCV for Android (http://opencv.org/platforms/android.html)
  • Build the tess-two library (https://github.com/rmtheis/tess-two)
  • Download and install the Android CMake project (https://code.google.com/p/android-cmake/)
  • Then with CMake you should be able to compile the OpenAlpr library (lots of tricks take place in this process, to register the paths to tesseract library, opencv and so on..)

I tried it on Windows 8.1 And Ubuntu 13.10/14.04, both work perfectly

Well these are the main steps to build the library, you will also need to write an Android.mk file to use the library.

If you're interested (or anyone else) let me know and I'll write a proper step by step tutorial

like image 164
jav974 Avatar answered Dec 24 '22 11:12

jav974