Ask Your Question

MD1989's profile - activity

2015-04-08 09:31:41 -0600 commented question Hello !! I need a deep explanation of algorithm of this code!!!!

If you're looking for a detailed answer, I would recommend providing much more concise question - more commonly known as an SSCCE (see: http://sscce.org/). Posting a badly formatted source, with no indication about your current understanding and the specific sections you are confused by, will only get you downvoted.

2015-04-08 09:28:27 -0600 received badge  Critic (source)
2015-03-19 08:54:16 -0600 commented question Unknown Error during CUDA GPU Matching

It seems the images I'm trying to run this on are generating >25,000 key points - which may be causing some kind of stack issue? When I try it with images generating ~18k keypoints the issue seems to vanish.

How can I limit the number of keypoints being generated?

2015-03-19 08:11:49 -0600 asked a question Unknown Error during CUDA GPU Matching

Hello,

I'm trying to run the example file "surf_keypoint_matcher.cpp". I've downloaded and compiled the latest version of both 'opencv' and 'opencv_contrib' for Windows and VS2010.

The application compiles and runs the feature detection fine. However when it attempts to run the brutefore matcher (in the lines of code shown below), I get a graphic's card crash and an Unknown Error.

65:  Ptr<cv::cuda::DescriptorMatcher> matcher = 
                   cv::cuda::DescriptorMatcher::createBFMatcher(surf.defaultNorm());
66:  vector<DMatch> matches;    
67:  matcher->match(descriptors1GPU, descriptors2GPU, matches);

The error I'm seeing is:

OpenCV Error: Gpu API call (unknown error) in cv::cuda::device::bf_match::matchUnrolledCached, file  C:/....../cudafeatures2d/src/cuda/bf_match.cu, line 183

I'm currently in the process of trying a bunch of different NVIDIA drivers to see if that fixes it, however I've had no luck so far. I'm running a Quadro 2000 and CUDA 6.5.

Thanks for your help!