Closed cesine closed 12 years ago
Very clear steps to create a builder for an NDK project:
What I got done this morning: I brought over the resources from the Tutorial 2 Advanced - 1. Add Native OpenCV
But we need to decide on how we want to include the OpenCV source.. and how we want to set up the builder. At the moment it is complaining at this line:
include $(TOOLCHAIN_PREBUILT_ROOT)/user/share/OpenCV/OpenCV.mk
I might be able to work on it later tonight, or I might not. @drdub @peristeri if you want to work on the android code you can checkout tag https://github.com/AndroidImageProcessing/AndroidBacteriaImageProcessing/tree/v0.1 which is before the repo transitioned into NDK.
Decided to set up the environment as suggested in the OpenCV docs
Tested calling Sample3Native from the app, at the moment getting
12-11 16:38:19.777: E/AndroidRuntime(7082): java.lang.RuntimeException: Fail to connect to camera service
Take an existing working OpenCV in Android code (probably one of the tutorials) to set up the infrastructure needed for @pakdel's C++ port of the Image Processing script.