From 158c8a98760c3f19bed70627a921f73ff18d926e Mon Sep 17 00:00:00 2001 From: Anguelos Nicolaou Date: Tue, 12 Jul 2016 00:05:36 +0200 Subject: [PATCH] fixed doxygen warning --- modules/text/include/opencv2/text/ocr.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/text/include/opencv2/text/ocr.hpp b/modules/text/include/opencv2/text/ocr.hpp index 36ea1df18..5308568f2 100644 --- a/modules/text/include/opencv2/text/ocr.hpp +++ b/modules/text/include/opencv2/text/ocr.hpp @@ -565,6 +565,10 @@ public: class CV_EXPORTS_W OCRHolisticWordRecognizer : public BaseOCR { public: + 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=OCR_LEVEL_WORD)=0; + /** @brief Recognize text using a segmentation based word-spotting/classifier cnn. Takes image on input and returns recognized text in the output_text parameter. Optionally @@ -589,10 +593,6 @@ public: @param component_level must be OCR_LEVEL_WORD. */ - 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=OCR_LEVEL_WORD)=0; - virtual void run(Mat& image, Mat& mask, std::string& output_text, std::vector* component_rects=NULL, std::vector* component_texts=NULL, std::vector* component_confidences=NULL, int component_level=OCR_LEVEL_WORD)=0;