How to disable modules of openCV which are not required.

asked 2017-10-30 01:18:27 -0600

Hello All,

I am integrating the openCV library in Android but using only specific things like canny, hough and threshold for edge detection. and I want to exclude the extra code.

Is there a possible way to exclude the extra code.

Thanks

edit retag flag offensive close merge delete

Comments

this might be possible, but it will require you to rebuild/crosscompile the opencv4android sdk locally.

(imho, you're seriously understimating the effort needed for this)

berak gravatar imageberak ( 2017-10-30 02:39:50 -0600 )edit

@berak opencv4android sdk uses java but i want to build using the c++ as i am writing a wrapper above it.

mzeus.bolt gravatar imagemzeus.bolt ( 2017-10-30 03:45:31 -0600 )edit

we probably have no idea, what your build process looks like. add more information (to your question) ?

berak gravatar imageberak ( 2017-10-30 04:31:37 -0600 )edit

@mzeus.bolt. Is this what u seeking for here

supra56 gravatar imagesupra56 ( 2017-10-30 05:36:16 -0600 )edit

" but i want to build using the c++ " -- still, you'll need to crosscompile for half a dozen ABI's and you'll jhave to use toolchains like here

berak gravatar imageberak ( 2017-10-30 07:07:02 -0600 )edit

@mzeus.bolt were you able to do this?

mkhase gravatar imagemkhase ( 2018-07-03 01:25:39 -0600 )edit