From ec39f0dc9eb51c4c85750088f8b0ae48d9932f60 Mon Sep 17 00:00:00 2001 From: Sheel-Patel <43507241+Sheel-Patel@users.noreply.github.com> Date: Tue, 23 Apr 2019 15:45:27 -0700 Subject: [PATCH] Merge pull request #14122 from Sheel-Patel:patch-1 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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/cpp/detect_mser.cpp b/samples/cpp/detect_mser.cpp index 8749789..5ab15fe 100644 --- a/samples/cpp/detect_mser.cpp +++ b/samples/cpp/detect_mser.cpp @@ -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 \n" + cout << "\nThis program demonstrates how to use MSER to detect extremal regions\n" + "Usage:\n" + " ./detect_mser \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 -- 2.7.4