Commit 6287c113 authored by Maria Dimashova's avatar Maria Dimashova

fixed compile errors

parent b535356e
...@@ -43,12 +43,12 @@ double match(const vector<KeyPoint>& /*kpts_train*/, const vector<KeyPoint>& /*k ...@@ -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) ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment