agusorte / openfabmap

Automatically exported from code.google.com/p/openfabmap
Other
0 stars 0 forks source link

I have a problem. #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I tested your code widh 2.4.3 in winow & VS2010
2. I execute showFeatures. It's done
3. but I couldn't generateVocabTrainData. It happened memory exception.

this function causes extractor->compute(frame, kpts, descs);

For solving problem I add cv::initModule_nonfree(); but I couldn't execute 
generateVocabTrainData. let me know how to handle this problem.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
VS2010 in Window 

Please provide any additional information below.

Original issue reported on code.google.com by sungmok1...@gmail.com on 27 Sep 2013 at 6:49

GoogleCodeExporter commented 8 years ago
how many kpts are being detected in the previous step:

detector->detect(frame, kpts);

you can find this by looking at the vector:

std::vector<cv::KeyPoint> kpts;

This should lead you to solving your problem

Original comment by arren.gl...@gmail.com on 3 Oct 2013 at 12:30