Where are the opencv2 include files?

断了今生、忘了曾经 提交于 2019-12-02 20:36:32

The header files of the modules are in their own directories. E.g., you can find calib3d.hpp in /modules/calib3d/include/opencv2/calib3d. The Makefile created by CMake knows these addresses, hence when you make install the header files are all copied into /usr/local/include/opencv2.

In case you were using cmake-gui and visual studio on Windows to make opencv (I had 3.4.0), don't forget to build this project:

This will generate all required files in a single folder, so you can easily connect header files:

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!