Show pageOld revisionsBacklinksAdd to bookExport to PDFBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== OpenALPR ====== ===== Android ===== [[https://github.com/openalpr/openalpr/wiki/Android-compilation|reference]] ==== Requirements ==== === android sdk === === android-ndk === /etc/profile.d/sdk.sh <code> export NDKROOT=/lab/sdk/android-ndk-r10e export ANDROID_HOME=/lab/sdk/android-sdk-linux export PATH=${PATH}:${NDKROOT}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools/ export ANDROID_CMAKE_TOOLCHAIN=/lab/sdk/android-cmake/android.toolchain.cmake </code> === Eclipse === * Add ADT (android) plugin Help -> add new software -> https://dl-ssl.google.com/android/eclipse/ and set android sdk path * Add CDT (C++) plugin: Help -> add new software -> http://download.eclipse.org/tools/cdt/releases/8.8 === opencv === [[http://opencv.org/downloads.html|opencv for android sdk]] * Unpack to /lab/sdk/ and Import /lab/sdk/**OpenCV-android-sdk** into eclipse * On opencv projects add C++ nature: Properties -> New -> Other -> C/C++ -> Convert to a C/C++ project * Project Properties -> C/C++ Build, and replace “Build command” text to "${NDKROOT}/ndk-build" * Project Properties -> Android -> set target === tess-two === * [[https://github.com/rmtheis/tess-two|github]] <code> git clone git://github.com/rmtheis/tess-two tess cd tess cd tess-two ndk-build android update project --path . ant release </code> <code> /lab/sdk/OpenCV-android-sdk </code> === android-cmake === <code> cd /lab/sdk git clone https://github.com/taka-no-me/android-cmake.git # update path in sdk.sh above </code> tips/openalpr.txt Last modified: 2015/10/09 09:56by scipio