fixed doxygen warning

pull/723/head
Anguelos Nicolaou 8 years ago
parent d566884a6e
commit 158c8a9876
  1. 8
      modules/text/include/opencv2/text/ocr.hpp

@ -565,6 +565,10 @@ public:
class CV_EXPORTS_W OCRHolisticWordRecognizer : public BaseOCR class CV_EXPORTS_W OCRHolisticWordRecognizer : public BaseOCR
{ {
public: public:
virtual void run(Mat& image, std::string& output_text, std::vector<Rect>* component_rects=NULL,
std::vector<std::string>* component_texts=NULL, std::vector<float>* component_confidences=NULL,
int component_level=OCR_LEVEL_WORD)=0;
/** @brief Recognize text using a segmentation based word-spotting/classifier cnn. /** @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 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. @param component_level must be OCR_LEVEL_WORD.
*/ */
virtual void run(Mat& image, std::string& output_text, std::vector<Rect>* component_rects=NULL,
std::vector<std::string>* component_texts=NULL, std::vector<float>* component_confidences=NULL,
int component_level=OCR_LEVEL_WORD)=0;
virtual void run(Mat& image, Mat& mask, std::string& output_text, std::vector<Rect>* component_rects=NULL, virtual void run(Mat& image, Mat& mask, std::string& output_text, std::vector<Rect>* component_rects=NULL,
std::vector<std::string>* component_texts=NULL, std::vector<float>* component_confidences=NULL, std::vector<std::string>* component_texts=NULL, std::vector<float>* component_confidences=NULL,
int component_level=OCR_LEVEL_WORD)=0; int component_level=OCR_LEVEL_WORD)=0;

Loading…
Cancel
Save