Ask Your Question
0

Opencv 2.4.11 android source code

asked 2016-09-23 02:11:18 -0500

I'm doing some image stitching stuff on an android application and the results have been great! However, I want to make some of my own modifications to the C++ code and compile them into an .so file to use in jni for my app. Whenever I look into the folder I downloaded from the website, there are only header files with no actual "code" in the functions of the classes. I'm looking at the code in Opencv-android-sdk/sdk/native/jni/include/opencv2/stitching/stitcher.hpp

I'd like to ask where I can the find the main source code for Opencv 2.4.11 for android? Or am I just looking in the wrong place?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-09-23 03:50:51 -0500

berak gravatar image

you can get the opencv src code from github via:

git clone https://github.com/opencv/opencv

then you can checkout the 2.4 branch with:

git checkout 2.4

(which will put you on 2.4.13 atm.)

to rebuild the android sdk, you need the cmake and ninja buildtools, follow the instructions here

edit flag offensive delete link more

Comments

I'm not sure that really answers my question. Is the source code in the sdk if I rebuild it? The instructions aren't really clear on how build the sdk with cmake either.

samuel40791765 gravatar imagesamuel40791765 ( 2016-09-23 21:59:06 -0500 )edit

"Is the source code in the sdk if I rebuild it? " - no, this would rather build a new (seperate) sdk

berak gravatar imageberak ( 2016-09-23 22:20:10 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-09-23 02:11:18 -0500

Seen: 193 times

Last updated: Sep 23 '16