staticPtr<OCRBeamSearchDecoder>create(constPtr<OCRBeamSearchDecoder::ClassifierCallback>classifier,// The character classifier with built in feature extractor
staticCV_WRAP
Ptr<OCRBeamSearchDecoder>create(constPtr<OCRBeamSearchDecoder::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)
intbeam_size=500);// Size of the beam in Beam Search algorithm
CV_WRAPstaticPtr<OCRBeamSearchDecoder>create(constPtr<OCRBeamSearchDecoder::ClassifierCallback>classifier,// The character classifier with built in feature extractor
constString&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()
intmode=OCR_DECODER_VITERBI,// HMM Decoding algorithm (only Viterbi for the moment)
intbeam_size=500);// Size of the beam in Beam Search algorithm
text::decoder_modemode=OCR_DECODER_VITERBI,// HMM Decoding algorithm (only Viterbi for the moment)
intbeam_size=500// Size of the beam in Beam Search algorithm
);
/** @brief Creates an instance of the OCRBeamSearchDecoder class. Initializes HMMDecoder from the specified path.
@overload
*/
CV_WRAPstaticPtr<OCRBeamSearchDecoder>create(constString&filename,// The character classifier file
constString&vocabulary,// The language vocabulary (chars when ASCII English text)
static//CV_WRAP FIXIT bug in handling of Java overloads
Ptr<OCRBeamSearchDecoder>create(constString&filename,// The character classifier file
constString&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()
intmode=OCR_DECODER_VITERBI,// HMM Decoding algorithm (only Viterbi for the moment)
intbeam_size=500);
text::decoder_modemode=OCR_DECODER_VITERBI,// HMM Decoding algorithm (only Viterbi for the moment)
intbeam_size=500// Size of the beam in Beam Search algorithm