Skip to content

Commit 158c8a9

Browse files
committed
fixed doxygen warning
1 parent d566884 commit 158c8a9

File tree

1 file changed

+4
-4
lines changed
  • modules/text/include/opencv2/text

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,10 @@ class CV_EXPORTS_W DictNet:public TextImageClassifier
565565
class CV_EXPORTS_W OCRHolisticWordRecognizer : public BaseOCR
566566
{
567567
public:
568+
virtual void run(Mat& image, std::string& output_text, std::vector<Rect>* component_rects=NULL,
569+
std::vector<std::string>* component_texts=NULL, std::vector<float>* component_confidences=NULL,
570+
int component_level=OCR_LEVEL_WORD)=0;
571+
568572
/** @brief Recognize text using a segmentation based word-spotting/classifier cnn.
569573
570574
Takes image on input and returns recognized text in the output_text parameter. Optionally
@@ -589,10 +593,6 @@ class CV_EXPORTS_W OCRHolisticWordRecognizer : public BaseOCR
589593
@param component_level must be OCR_LEVEL_WORD.
590594
*/
591595

592-
virtual void run(Mat& image, std::string& output_text, std::vector<Rect>* component_rects=NULL,
593-
std::vector<std::string>* component_texts=NULL, std::vector<float>* component_confidences=NULL,
594-
int component_level=OCR_LEVEL_WORD)=0;
595-
596596
virtual void run(Mat& image, Mat& mask, std::string& output_text, std::vector<Rect>* component_rects=NULL,
597597
std::vector<std::string>* component_texts=NULL, std::vector<float>* component_confidences=NULL,
598598
int component_level=OCR_LEVEL_WORD)=0;

0 commit comments

Comments
 (0)