Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

well it IS possible, but it means, you have to rebuild the opencv4android sdk locally.

you'd have to start here , modify the build script and add a line like:

        BUILD_LIST="core,imgproc",

(add the modules you want/need there, seperated by commas)

and make sure, all tests and examples are OFF (they might rely on features you disabled)

you'll need:

  • android sdk
  • android ndk (10 or 16 are tested)
  • apache ant
  • ninja
  • python2.7
  • a recent java sdk

the build scipt has some issues with python3, so make sure to use 2.7 there.

good luck !

well it IS possible, but it means, you have to rebuild the opencv4android sdk locally.

you'd have to start here , modify the build script and add a line like:

        BUILD_LIST="core,imgproc",

(add the modules you want/need there, seperated by commas)

and make sure, all tests and examples are OFF (they might rely on features you disabled)

you'll need:

  • android sdk
  • android ndk (10 or 16 are tested)
  • apache ant
  • ninja
  • cmake
  • python2.7
  • a recent java sdk

the build scipt has some issues with python3, so make sure to use 2.7 there.

good luck !

well it IS possible, but it means, you have to rebuild the opencv4android sdk locally.

you'd have to start here , modify the build script and add a line like:

        BUILD_LIST="core,imgproc",

(add the modules you want/need there, seperated by commas)

and make sure, all tests and examples are OFF (they might rely on features you disabled)

you'll need:

  • opencv src code, https://github.com/opencv/opencv
  • android sdk
  • android ndk (10 or 16 are tested)
  • apache ant
  • ninja
  • cmake
  • python2.7
  • a recent java sdk

the build scipt has some issues with python3, so make sure to use 2.7 there.

good luck !