Method LoadClassifier
- Namespace
- OpenCvSharp.Text
- Assembly
- OpenCvSharp.dll
LoadClassifier(string, ClassifierType)
Loads the default character classifier used when creating an OCRHMMDecoder object.
public static OCRHMMDecoderClassifierCallback LoadClassifier(string filename, ClassifierType classifier)
Parameters
filenamestringThe XML or YAML file with the classifier model.
classifierClassifierTypeThe type of classifier stored in the file.