Ask Your Question
0

.cpp source files

asked 2015-06-28 16:14:24 -0600

Hello,

I have a basic question since I am a beginer, maybe it is stupid but I do not know how to find the .cpp files of the different modules within the src folder after downloading the library. I can find without problem the header files (.hpp) within the includes/opencv2 path.

I am expecting a .cpp file with the same name as its header and the module itself.

I followed this OpenCV guide (http://code.opencv.org/projects/openc...)

I hope anyone could help me. Thanks in advance

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-06-29 06:37:57 -0600

updated 2015-06-29 06:38:37 -0600

Actually your downloaded folder should contain the following subfolders:

  • 3rdparty: all extra libs needed for the library
  • apps: application specifically designed for OpenCV based on the OpenCV sourcecode, mainly used for object detection and annotation for the moment
  • include: folder that contains all the header files as said before
  • modules: which contains the src code for each module, at the subfolder src for each module specifically
  • data: all data used by the provided software
  • doc: everything to build the documentation locally
  • samples: OpenCV examples

An example, the src of the core module can be found here.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-06-28 16:14:24 -0600

Seen: 197 times

Last updated: Jun 29 '15