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

#include "ocr.hpp"

Inheritance diagram for cv::text::BaseOCR:
cv::text::OCRBeamSearchDecoder cv::text::OCRHMMDecoder 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

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

Member Function Documentation

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
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: