Modified to silent Clang warnings

pull/1287/head
sghoshcvc 7 years ago
parent 0e74d63d2f
commit 111b3bed7d
  1. 3
      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<Rect>* component_rects=NULL,
std::vector<std::string>* 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<Rect>* component_rects=NULL,
std::vector<std::string>* 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<Rect>* component_rects=NULL,
std::vector<std::string>* component_texts=NULL, std::vector<float>* component_confidences=NULL,
int component_level=0);

Loading…
Cancel
Save