OpenCV  3.4.15
Open Source Computer Vision
Public Member Functions | List of all members
cv::text::BaseOCR Class Referenceabstract

#include <opencv2/text/ocr.hpp>

Inheritance diagram for cv::text::BaseOCR:
cv::text::OCRBeamSearchDecoder cv::text::OCRHMMDecoder cv::text::OCRHolisticWordRecognizer cv::text::OCRTesseract

Public Member Functions

virtual ~BaseOCR ()
 
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)=0
 
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, int component_level=0)=0
 

Constructor & Destructor Documentation

◆ ~BaseOCR()

virtual cv::text::BaseOCR::~BaseOCR ( )
inlinevirtual

Member Function Documentation

◆ run() [1/2]

virtual void cv::text::BaseOCR::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 
)
pure virtual

◆ run() [2/2]

virtual void cv::text::BaseOCR::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,
int  component_level = 0 
)
pure virtual

The documentation for this class was generated from the following file: