Trait opencv::text::prelude::OCRBeamSearchDecoder_ClassifierCallbackTraitConst[][src]

pub trait OCRBeamSearchDecoder_ClassifierCallbackTraitConst {
    fn as_raw_OCRBeamSearchDecoder_ClassifierCallback(&self) -> *const c_void;
}
Expand description

Callback with the character classifier is made a class.

This way it hides the feature extractor and the classifier itself, so developers can write their own OCR code.

The default character classifier and feature extractor can be loaded using the utility function loadOCRBeamSearchClassifierCNN with all its parameters provided in https://github.com/opencv/opencv_contrib/blob/master/modules/text/samples/OCRBeamSearch_CNN_model_data.xml.gz.

Required methods

Implementors