You are here: Start » AVL.NET » AVL.TrainOcr_SVM(AvlNet.CharacterSample[], AvlNet.Size, float, float, bool, AvlNet.CharacterFeatures, AvlNet.OcrModel, float)
AVL.TrainOcr_SVM(AvlNet.CharacterSample[], AvlNet.Size, float, float, bool, AvlNet.CharacterFeatures, AvlNet.OcrModel, float)
Trains an OCR support vector machines classifier.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void TrainOcr_SVM( AvlNet.CharacterSample[] inCharacterSamples, AvlNet.Size inNormalizationSize, float inRegularizationConstant, float inStopEpsilon, bool inUseShrinkingHeuristics, AvlNet.CharacterFeatures inCharacterFeatures, out AvlNet.OcrModel outOcrModel, out float outTrainingAccuracy )
Parameters
- inCharacterSamples
- Type: AvlNet.CharacterSample
Training font created from sample regions - inNormalizationSize
- Type: AvlNet.Size
The character size after normalization - inRegularizationConstant
- Type: System.Single
Preventing overfitting - inStopEpsilon
- Type: System.Single
Epsilon for stopping criterion - inUseShrinkingHeuristics
- Type: System.Boolean
Heuristics may speed up computations - inCharacterFeatures
- Type: AvlNet.CharacterFeatures
Character features used to identify characters - outOcrModel
- Type: AvlNet.OcrModel
Trained OcrSvmModel used to recognize characters - outTrainingAccuracy
- Type: System.Single
The overall training score
