[−][src]Function opencv::text::load_ocrhmm_classifier_cnn
pub fn load_ocrhmm_classifier_cnn(
filename: &str
) -> Result<Ptr<OCRHMMDecoder_ClassifierCallback>>
👎 Deprecated:
use loadOCRHMMClassifier instead
Allow to implicitly load the default character classifier when creating an OCRHMMDecoder object.
Parameters
- filename: The XML or YAML file with the classifier model (e.g. OCRBeamSearch_CNN_model_data.xml.gz)
The CNN default classifier is based in the scene text recognition method proposed by Adam Coates & Andrew NG in [Coates11a]. The character classifier consists in a Single Layer Convolutional Neural Network and a linear classifier. It is applied to the input image in a sliding window fashion, providing a set of recognitions at each window location.
Deprecated: use loadOCRHMMClassifier instead