diff --git a/modules/text/include/opencv2/text/ocr.hpp b/modules/text/include/opencv2/text/ocr.hpp index 258273f71..15db8de82 100644 --- a/modules/text/include/opencv2/text/ocr.hpp +++ b/modules/text/include/opencv2/text/ocr.hpp @@ -165,6 +165,7 @@ public: @param component_level OCR_LEVEL_WORD (by default), or OCR_LEVEL_TEXT_LINE. */ + using BaseOCR::run; virtual void run (Mat& image, std::string& output_text, std::vector* component_rects=NULL, std::vector* component_texts=NULL, @@ -285,6 +286,7 @@ class CV_EXPORTS_W OCRHMMDecoder : public BaseOCR { * @param component_level Only OCR_LEVEL_WORD is supported. */ + using BaseOCR::run; virtual void run (Mat& image, std::string& output_text, std::vector* component_rects=NULL, std::vector* component_texts=NULL, @@ -542,6 +544,7 @@ public: @param component_level Only OCR_LEVEL_WORD is supported. */ + using BaseOCR::run; virtual void run(Mat& image, std::string& output_text, std::vector* component_rects=NULL, std::vector* component_texts=NULL, std::vector* component_confidences=NULL, int component_level=0);