staticPtr<OCRHMMDecoder>create(constPtr<OCRHMMDecoder::ClassifierCallback>classifier,// The character classifier with built in feature extractor
conststd::string&vocabulary,// The language vocabulary (chars when ASCII English text)
// size() must be equal to the number of classes
InputArraytransition_probabilities_table,// Table with transition probabilities between character pairs
// cols == rows == vocabulary.size()
InputArrayemission_probabilities_table,// Table with observation emission probabilities
// cols == rows == vocabulary.size()
decoder_modemode=OCR_DECODER_VITERBI);// HMM Decoding algorithm (only Viterbi for the moment)
CV_WRAPstaticPtr<OCRHMMDecoder>create(constPtr<OCRHMMDecoder::ClassifierCallback>classifier,// The character classifier with built in feature extractor
CV_WRAPstaticPtr<OCRHMMDecoder>create(constPtr<OCRHMMDecoder::ClassifierCallback>classifier,// The character classifier with built in feature extractor
constString&vocabulary,// The language vocabulary (chars when ASCII English text)
constString&vocabulary,// The language vocabulary (chars when ASCII English text)