Could I decide which module I would like to have in opencv shared library?

asked 2014-10-02 22:03:51 -0600

Hi, Sirs: I apply opencv library in my native code development, and, its original library's size is around 10MB. It is too large for my application. And, I think there are some modules like video part and etc. unused in my application. Could I build a shared library to get rid of these unused modules for Android device?

Any helps are appreciated!!

BR, Pico

edit retag flag offensive close merge delete

Comments

You do not have to build a shared library but a static library. There you can select which parts to integrate and which not. However keep in mind that this will result in you having to include every single linux dependency also which could be quite the time consuming job.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-10-03 03:34:56 -0600 )edit