tips:openalpr

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tips:openalpr [2015/10/09 09:26] scipiotips:openalpr [2015/10/09 09:56] (current) – [Requirements] scipio
Line 10: Line 10:
  
 === android sdk === === 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 === === Eclipse ===
Line 21: Line 31:
 [[http://opencv.org/downloads.html|opencv for android sdk]] [[http://opencv.org/downloads.html|opencv for android sdk]]
  
-Unpack to /lab/sdk/ and Import /lab/sdk/**OpenCV-android-sdk** into eclipse +  * 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 
-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
-Project Properties -> C/C++ Build, and replace “Build command” text to "${NDKROOT}/ndk-build" +
-=== android-ndk === +
- +
-/etc/profile.d/sdk.sh +
-<code> +
-export NDKROOT=/lab/sdk/android-ndk-r10e +
-export PATH=${PATH}:${NDKROOT}:/lab/sdk/android-sdk-linux/platform-tools +
-</code>+
  
 === tess-two === === tess-two ===
Line 50: Line 52:
 /lab/sdk/OpenCV-android-sdk /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> </code>
  • tips/openalpr.1444375619.txt.gz
  • Last modified: 2015/10/09 09:26
  • by scipio