Table of Contents

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

filename string

The XML or YAML file with the classifier model.

classifier ClassifierType

The type of classifier stored in the file.

Returns

OCRHMMDecoderClassifierCallback