tips:openalpr

OpenALPR

android sdk

android-ndk

/etc/profile.d/sdk.sh

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

Eclipse

opencv

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

* github

git clone git://github.com/rmtheis/tess-two tess
cd tess
cd tess-two
ndk-build
android update project --path .
ant release
/lab/sdk/OpenCV-android-sdk

android-cmake

cd /lab/sdk
git clone https://github.com/taka-no-me/android-cmake.git
# update path in sdk.sh above
  • tips/openalpr.txt
  • Last modified: 2015/10/09 09:56
  • by scipio