fixed compile errors
This commit is contained in:
parent
b535356ec7
commit
6287c113c8
@ -43,12 +43,12 @@ double match(const vector<KeyPoint>& /*kpts_train*/, const vector<KeyPoint>& /*k
|
|||||||
|
|
||||||
void help()
|
void help()
|
||||||
{
|
{
|
||||||
printf ("This program shows how to use BRIEF descriptor to match points in features2d\n"
|
cout << "This program shows how to use BRIEF descriptor to match points in features2d" << endl <<
|
||||||
"It takes in two images, finds keypoints and matches them displaying matches and final homography warped results\n"
|
"It takes in two images, finds keypoints and matches them displaying matches and final homography warped results" << endl <<
|
||||||
"Usage: \n"
|
"Usage: " << endl <<
|
||||||
"image1 image2 \n"
|
"image1 image2 " << endl <<
|
||||||
"Example: \n"
|
"Example: " << endl <<
|
||||||
"box.png box_in_scene.png \n");
|
"box.png box_in_scene.png " << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* keys =
|
const char* keys =
|
||||||
@ -70,8 +70,8 @@ int main(int argc, const char ** argv)
|
|||||||
|
|
||||||
if (im1.empty() || im2.empty())
|
if (im1.empty() || im2.empty())
|
||||||
{
|
{
|
||||||
printf( "could not open one of the images...\n");
|
cout << "could not open one of the images..." << endl;
|
||||||
printf("the cmd parameters have next current value: \n");
|
cout << "the cmd parameters have next current value: " << endl;
|
||||||
parser.printParams();
|
parser.printParams();
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user