Merge pull request #14122 from Sheel-Patel:patch-1
authorSheel-Patel <43507241+Sheel-Patel@users.noreply.github.com>
Tue, 23 Apr 2019 22:45:27 +0000 (15:45 -0700)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Tue, 23 Apr 2019 22:45:27 +0000 (01:45 +0300)
Grammatical errors for help() in detect_mser.cpp (#14122)

* Grammatical errors for help() statement

Corrected spelling of "synthetic" and added grammatical clarification for keys to press to change view or use mouse.

* Adjustment of superfluous spaces

samples/cpp/detect_mser.cpp

index 8749789..5ab15fe 100644 (file)
@@ -36,11 +36,11 @@ using namespace cv;
 
 static void help()
 {
-    cout << "\n This program demonstrates how to use MSER to detect extremal regions \n"
-        "Usage: \n"
-        "  ./detect_mser <image1(without parameter a syntehtic image is used as default)>\n"
+    cout << "\nThis program demonstrates how to use MSER to detect extremal regions\n"
+        "Usage:\n"
+        "  ./detect_mser <image1(without parameter a synthetic image is used as default)>\n"
         "Press esc key when image window is active to change descriptor parameter\n"
-        "Press 2, 8, 4, 6, +,- or 5 keys in openGL windows to change view or use mouse\n";
+        "Press 2, 8, 4, 6, +, -, or 5 keys in openGL windows to change view or use mouse\n";
 }
 
 struct MSERParams