From c999cb3c5e4ca8e5e5600ff16e7c3130db6cde57 Mon Sep 17 00:00:00 2001 From: NlSEMONO <86743730+NlSEMONO@users.noreply.github.com> Date: Thu, 2 May 2024 11:38:18 -0400 Subject: [PATCH] Update text_detection.cpp --- samples/dnn/text_detection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/dnn/text_detection.cpp b/samples/dnn/text_detection.cpp index 24902abfd7..d97ec7bc9b 100644 --- a/samples/dnn/text_detection.cpp +++ b/samples/dnn/text_detection.cpp @@ -31,8 +31,8 @@ const char* keys = "{ help h | | Print help message. }" "{ input i | | Path to input image or video file. Skip this argument to capture frames from a camera.}" "{ detModel dmp | | Path to a binary .pb file contains trained detector network.}" - "{ width | 320 | Preprocess input image by resizing to a specific width. It should be multiple by 32. }" - "{ height | 320 | Preprocess input image by resizing to a specific height. It should be multiple by 32. }" + "{ width | 320 | Preprocess input image by resizing to a specific width. It should be a multiple of 32. }" + "{ height | 320 | Preprocess input image by resizing to a specific height. It should be a multiple of 32. }" "{ thr | 0.5 | Confidence threshold. }" "{ nms | 0.4 | Non-maximum suppression threshold. }" "{ recModel rmp | | Path to a binary .onnx file contains trained CRNN text recognition model. "