本文介绍了构建特定的模块OpenCV的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想问一下如何指定由cmake ex构建的OpenCV模块.我只想构建core,highgui和improc.

I'd like to ask how can I specify OpenCV modules to build by cmake ex. I'd like to build only core, highgui and improc.

感谢您的回复,因为我用Google搜索了它,但找不到. :(

Thank you for your responses because I googled it and I can't find it. :(

玛丽

推荐答案

您可以通过将每个模块指定为cmake来切换它们:

you can toggle each module by specifying it to cmake:

-DBUILD_opencv_xxxx=OFF # where xxxx is the module in question, and ON or OFF is your requested state

带有cmake

这篇关于构建特定的模块OpenCV的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-01 22:52