how can I find some information related to contributing opencv_contrib

asked 2017-04-01 01:30:45 -0600

german_iris gravatar image

Well, I want to implement a new algorithm for opencv_contrib. It is my first time to do such thing and I haven't any idea about this. Neither can't I find any information on such topic on the internet. I just find coding style guide about opencv not opencv_contrib. I try to add my module after existing modules, but I can't find the build result of my module using the following Cmake command:

$ cd <opencv_build_directory>
$ cmake -DOPENCV_EXTRA_MODULES_PATH=<opencv_contrib>/modules <opencv_source_directory> 
$ make -j5

So is anyone can help me? Thank you.

edit retag flag offensive close merge delete

Comments

what did you add, exactly ? was there a CmakeLists.txt ?

berak gravatar imageberak ( 2017-04-01 01:33:15 -0600 )edit

Actually, I try to implement a face alignment algorithm published on CVPR. I added a CMakeLists.txt under opencv_contrib/modules/<my_module>. I don't know, honestly, how to write CMakeListes.txt for opencv_contrib. I refered to the CMakeLists.txt of other modules. There only have two lines in my CMakeList.txt. The first line is setting of module description and the second line is ocv_define_module(). I don't know what ocv_define_module mean. I didn't find any information about it on the internet. All the search results are about CMake Error.

german_iris gravatar imagegerman_iris ( 2017-04-01 08:27:10 -0600 )edit