Skip to content

Commit 111b3be

Browse files
committed
Modified to silent Clang warnings
1 parent 0e74d63 commit 111b3be

File tree

1 file changed

+3
-0
lines changed
  • modules/text/include/opencv2/text

1 file changed

+3
-0
lines changed

modules/text/include/opencv2/text/ocr.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ class CV_EXPORTS_W OCRTesseract : public BaseOCR
165165
166166
@param component_level OCR_LEVEL_WORD (by default), or OCR_LEVEL_TEXT_LINE.
167167
*/
168+
using BaseOCR::run;
168169
virtual void run (Mat& image, std::string& output_text,
169170
std::vector<Rect>* component_rects=NULL,
170171
std::vector<std::string>* component_texts=NULL,
@@ -285,6 +286,7 @@ class CV_EXPORTS_W OCRHMMDecoder : public BaseOCR {
285286
286287
* @param component_level Only OCR_LEVEL_WORD is supported.
287288
*/
289+
using BaseOCR::run;
288290
virtual void run (Mat& image, std::string& output_text,
289291
std::vector<Rect>* component_rects=NULL,
290292
std::vector<std::string>* component_texts=NULL,
@@ -542,6 +544,7 @@ class CV_EXPORTS_W OCRBeamSearchDecoder : public BaseOCR{
542544
543545
@param component_level Only OCR_LEVEL_WORD is supported.
544546
*/
547+
using BaseOCR::run;
545548
virtual void run(Mat& image, std::string& output_text, std::vector<Rect>* component_rects=NULL,
546549
std::vector<std::string>* component_texts=NULL, std::vector<float>* component_confidences=NULL,
547550
int component_level=0);

0 commit comments

Comments
 (0)