OpenCV  3.2.0
Open Source Computer Vision
Classes | Namespaces | Enumerations | Functions
ocr.hpp File Reference
#include <vector>
#include <string>

Classes

class  cv::text::BaseOCR
 
class  cv::text::OCRBeamSearchDecoder::ClassifierCallback
 Callback with the character classifier is made a class. More...
 
class  cv::text::OCRHMMDecoder::ClassifierCallback
 Callback with the character classifier is made a class. More...
 
class  cv::text::OCRBeamSearchDecoder
 OCRBeamSearchDecoder class provides an interface for OCR using Beam Search algorithm. More...
 
class  cv::text::OCRHMMDecoder
 OCRHMMDecoder class provides an interface for OCR using Hidden Markov Models. More...
 
class  cv::text::OCRTesseract
 OCRTesseract class provides an interface with the tesseract-ocr API (v3.02.02) in C++. More...
 

Namespaces

 cv
 
 cv::text
 

Enumerations

enum  {
  cv::text::OCR_LEVEL_WORD,
  cv::text::OCR_LEVEL_TEXTLINE
}
 
enum  cv::text::decoder_mode { cv::text::OCR_DECODER_VITERBI = 0 }
 

Functions

void cv::text::createOCRHMMTransitionsTable (std::string &vocabulary, std::vector< std::string > &lexicon, OutputArray transition_probabilities_table)
 Utility function to create a tailored language model transitions table from a given list of words (lexicon). More...
 
Mat cv::text::createOCRHMMTransitionsTable (const String &vocabulary, std::vector< cv::String > &lexicon)
 
Ptr< OCRBeamSearchDecoder::ClassifierCallback > cv::text::loadOCRBeamSearchClassifierCNN (const String &filename)
 Allow to implicitly load the default character classifier when creating an OCRBeamSearchDecoder object. More...
 
Ptr< OCRHMMDecoder::ClassifierCallback > cv::text::loadOCRHMMClassifierCNN (const String &filename)
 Allow to implicitly load the default character classifier when creating an OCRHMMDecoder object. More...
 
Ptr< OCRHMMDecoder::ClassifierCallback > cv::text::loadOCRHMMClassifierNM (const String &filename)
 Allow to implicitly load the default character classifier when creating an OCRHMMDecoder object. More...