Ask Your Question
0

Question:- How can i check in opencv which of the extra modules i have built in linux

asked 2017-03-08 11:45:38 -0600

hls gravatar image

How can i check in opencv which of the extra modules i have built in linux

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-03-09 03:00:18 -0600

berak gravatar image

as a human:

  • just look into /usr/local/lib
  • have a look at the "to be build" section in the cmake output
  • cerr << cv::getBuildInformation(); (to retrieve that later)

from a program:

  • #include "opencv2/opencv_modules.hpp" , then check, if e.g. HAVE_OPENCV_XFEATURES2D or HAVE_OPENCV_DNN are defined
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-03-08 11:45:38 -0600

Seen: 762 times

Last updated: Mar 09 '17