Comments (1)
Successfully built, installed and tested 'tutorial-2-mixedprocessing' sample.
Steps taken:
- In build.gradle from project add 'google()' in 'repositories' block (both of them).
- In build.gradle files from both modules modify 'compileSdkVersion' and 'targetSdkVersion' to be the same.
- Make sure 'local.properties' has the right path to 'ndk.dir' and 'sdk.dir' (usually 'Android/Sdk/ndk-bundle' and 'Android/Sdk').
- Right-click in 'openCVTutorial2MixedProcesing' and select 'Link C++ Project with Gradle'.
- Select 'ndk-build' in 'Build System'.
- Select path for 'Android.mk' (usually is src/main/jni/Android.mk).
- Open 'Android.mk' and modify (last 'include', for example) path to 'OpenCV.mk' (look inside 'path-to-OpenCV-android-sdk/sdk/native/jni').
- Open 'Application.mk' (same folder as 'Android.mk') and modify APP_ABI to 'all' or your device arch.
- Open AndroidManifest.xml from 'openCVTutorial2MixedProcessing' and delete 'android:theme'.
- Install OpenCV Manager of the same arch as your device (see inside 'path-to-OpenCV-android-sdk/apk').
- Build project and install apk (you can do this from Android Studio directly).
- If an error appears on the device screen, you must give it permission to use the camera: go to its 'App info' and in 'Permissions' turn on 'Camera'.
from cvproj.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cvproj.