Ask Your Question
1

SURF_GPU not in cv::gpu

asked 2013-06-15 21:31:17 -0600

Visidyn gravatar image

Hello, I am having a problem where I am unable to use the SURF_GPU object as it states that SURF_GPU is undefined. However, I compiled OpenCV 2.4.5 including CUDA for VC++ and other GPU functions are functioning correctly so I'm not sure why it cannot locate it. Any help would be appreciated.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2013-06-16 06:47:10 -0600

Vladislav Vinogradov gravatar image

SURF_GPU was moved to nonfree module. You should link with opencv_nonfree245.lib and include

#include <opencv2/nonfree/gpu.hpp>
edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-06-15 21:31:17 -0600

Seen: 3,070 times

Last updated: Jun 16 '13