我们如何修改OpenCV并生成新的DLL
OpenCV 库很棒。大多数函数都有所需的功能,但是,我想修改一些函数并重新编译,以使其适合我的特定需求。我们如何重新编译 dll 和其他文件?是否有内置脚本或者我们需要自己编写所有脚本?
The OpenCV library is great. Most functions have the required functionality, however, I would like to modify some of the functions and recompile so that it fits my specific needs. how would we recompile the dlls and other files? is there a built-in script or do we need to write all the scripts ourselves?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据安装指南,您需要 CMake 在 Windows 上编译它。
我找到了本教程 逐步展示了如何在 Windows 上编译 OpenCV 2.0,但我相信这些说明也适用于编译 OpenCV 2.1。
此线程与您的内容直接相关目的。
According to the install guide, you'll need CMake to compile it on Windows.
I found this tutorial that shows step-by-step how to compile OpenCV 2.0 on Windows, but I believe the instructions also apply for compiling OpenCV 2.1.
This thread is directly related to what you aim.