After installation, preparing a new OpenCV code project is quite a straightforward process that requires including the header files and instructing the compiler to find the files and libraries used in the project.
OpenCV is composed of several modules, grouping related functionalities. Each module has an associated header file (for example,
core.hpp) located in the directory with the same name as that of the module (that is,
OPENCV_BUILD\install\include\opencv2\<module>). The supplied modules with the current version of OpenCV are as follows:
core: This module defines the basic (core) functions used by all the other modules and fundamental data structures, including the dense multidimensional array,