fixed compile error; renamed createDescriptorMatch to createGenericDescriptorMatch
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
#include <cv.h>
|
||||
#include <cvaux.h>
|
||||
#include "opencv2/core/core.hpp"
|
||||
#include "opencv2/calib3d/calib3d.hpp"
|
||||
#include "opencv2/imgproc/imgproc.hpp"
|
||||
#include "opencv2/features2d/features2d.hpp"
|
||||
#include <highgui.h>
|
||||
|
||||
#include <string>
|
||||
#include <cstdio>
|
||||
|
||||
using namespace cv;
|
||||
|
||||
@@ -23,7 +24,7 @@ int main(int argc, char** argv)
|
||||
std::string alg_name = std::string(argv[3]);
|
||||
std::string params_filename = std::string(argv[4]);
|
||||
|
||||
GenericDescriptorMatch *descriptorMatch = GenericDescriptorMatch::CreateDescriptorMatch (alg_name, params_filename);
|
||||
GenericDescriptorMatch *descriptorMatch = createGenericDescriptorMatch(alg_name, params_filename);
|
||||
if( descriptorMatch == 0 )
|
||||
{
|
||||
printf ("Cannot create descriptor\n");
|
||||
|
Reference in New Issue
Block a user