Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

opencv_contrib + opencv 3 using xfeature::SURF unexpeted handle 0xc0000005

$
0
0
I am working in the VS2013 with C++. Every time I call the function xfeature::SURF::create(), I will get crush. ![image description](/upfiles/1437397002292448.png) #include #include #include int main(int argc, char* argv[]) { cv::Mat image = cv::imread("1.jpg", cv::IMREAD_GRAYSCALE); std::vector keyPoints; cv::Mat descriptor; //cv::imshow("demo",image); cv::Ptr surf = cv::xfeatures2d::SURF::create(); //surf->detectAndCompute(image.getUMat(cv::ACCESS_READ), 0, keyPoints, descriptor); return 0; }

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>