OpenCV-based object detection framework on Android that provides driving assistance capabilities on the Speed Dreams simulator.
-
Download Android NDK and Build tools https://developer.android.com/studio/projects/add-native-code.html
-
Download OpenCV Android SDK (v3.2) http://opencv.org/releases.html
-
Add path to local Android NDK binary in build.gradle
def ndkBuildPath = '/Users/chandruscm/Library/Android/sdk/ndk-bundle/ndk-build'
- Add path to local OpenCV Android SDK in Android.mk
OPENCV_SDK:=/Users/chandruscm/AppDevelopment/Android/Libraries/OpenCV-android-sdk/sdk
- Add appropriate CPU architecture in Application.mk
APP_ABI := armeabi-v7a x86