Exclude modules while building OpenCV
Is it possible to build OpenCV, including only the object detection module and excluding everything else ?
Is it possible to build OpenCV, including only the object detection module and excluding everything else ?
Asked: 2015-02-24 09:14:29 -0600
Seen: 6,994 times
Last updated: Feb 24 '15
How to get good matches from the ORB feature detection algorithm?
How to decrease the number of processed frames from a live video camera?
Unresolved inclusion in OpenCV+Android tutorial
build problems for android_binary_package - Eclipse Indigo, Ubuntu 12.04
Which values for window size and number of pyramids are reasonable for calcOpticalFlowPyrLK?
Errors running builder 'CDT Builder' when trying to build OpenCV for android samples
ndk-build deletes native OpenCV library
Installing Sample App / OpenCV Manager
you can disable building single modules like, e.g.
cmake -D BUILD_opencv_objdetect=OFF
just be aware, that you can't build only objdetect, and not have core or imgproc, most of them depend on each other.
Thank you for your answer, where can I find the list of modules on which objdetect depends ?
see opencv/modules/objdetect/CmakeLists.txt
so, that's core, imgproc, ml in this case
I want to do the same. What should i do?
@valium123 please be more exact. what do you want to do?