Ask Your Question
1

The dependencies of each opencv module

asked 2019-06-27 20:30:42 -0600

opencvddddd gravatar image

updated 2019-06-27 20:49:15 -0600

OpenCV has 35 modules, is there a documenting elaborating the dependencies for each of them? Thanks a lot.

I will select only a new modules and include all the dependencies(3rd party headers and libs) for these modules in one package. So no matter in which machine I use OpenCV, it's always self-inclusive, no need to install these dependencies for each machine.

Thanks for your answers and comments.

OpenCV official github also includes a 3rd party folder in which there are some lib/headers, is it enough to build all OpenCV modules? From all the tutorials about installation, they installed many other all different kinds of libraries(not from t OpenCV self included 3rd party ).

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
3

answered 2019-06-27 23:12:26 -0600

LBerger gravatar image

You can find dependency list in file cmakelists.txt file in module folder.

Example aruco module in opencv_contrib at line 2 of CMakelists.txt :

ocv_define_module(aruco opencv_core opencv_imgproc opencv_calib3d WRAP python java)

Aruco module needs opencv_core opencv_imgproc opencv_calib3d

edit flag offensive delete link more

Comments

I think this is only the dependency inside OpenCV module. For example, in imgcodecs module, it's ocv_add_module(imgcodecs opencv_imgproc WRAP java python), but apparently, it's not enough, it does need all kinds of encoder/decoder libraries. I am looking for dependencies inside and outside of OpenCV module. Thanks a lot.

opencvddddd gravatar imageopencvddddd ( 2019-06-28 19:52:56 -0600 )edit
1

May be you can get what you want in getBuildInformation or cvconfig.h

LBerger gravatar imageLBerger ( 2019-06-28 23:38:57 -0600 )edit

Thanks @LBerger. I am looking at OpenCV 3.4.6, it doesn't have getBuildInformation or cvconfig.h. But the CMakelist in OpenCV 3.4.6 provides equivalent information, thanks.

opencvddddd gravatar imageopencvddddd ( 2019-07-01 19:52:46 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2019-06-27 20:30:42 -0600

Seen: 6,975 times

Last updated: Jun 27 '19