can not include xfeatures2d in opencv 3.0

asked 2016-02-03 03:37:47 -0500

jan gravatar image

I installed opencv3.0 and cmake and also download opencv_contrib from git. After configuring opencv in cmake , i built ALL_BUILD.sln file in vs12.I got some errors like can not open opencv_xfeatures2d300d.lib

So how can i add extra modules of opencv especially xfeatures2d ? please help asap

edit retag flag offensive close merge delete


Are you sure that you build opencv with the correct opencv_contrib instructions like mentioned here? If so, then include "opencv2/xfeatures2d.hpp" combined with using namespace cv::xfeatures2d should do the trick!

StevenPuttemans gravatar imageStevenPuttemans ( 2016-02-03 04:55:29 -0500 )edit

I followed the instructions as per .Instead of "face" module i was trying to add "xfeatures2d"module.but no success......

jan gravatar imagejan ( 2016-02-03 21:46:51 -0500 )edit

Did you even try my suggestion?

StevenPuttemans gravatar imageStevenPuttemans ( 2016-02-04 04:02:35 -0500 )edit