Ask Your Question

Revision history [back]

Yes it is possible, when building in visual studio, only define the static libs in linker options that are actually needed. Remove all the others. This way, the modules of openCV that are not used, will not be integrated into your software.. On the other hand, what is 6MB extra these days? I guess some basic libraries like core / highgui / imgproc / objectdetection will already do the trick for you.