You are here: Start » AVL.NET » AVL.TrainOcr_MLP(AvlNet.CharacterSample[], AvlNet.Size, AvlNet.CharacterFeatures, float, float, int, AvlNet.OcrModel, float)
AVL.TrainOcr_MLP(AvlNet.CharacterSample[], AvlNet.Size, AvlNet.CharacterFeatures, float, float, int, AvlNet.OcrModel, float)
Trains an OCR multilayer perceptron classifier.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void TrainOcr_MLP( AvlNet.CharacterSample[] inCharacterSamples, AvlNet.Size inNormalizationSize, AvlNet.CharacterFeatures inCharacterFeatures, float inLearningRate, float inMomentum, int inIterationCount, 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 - inCharacterFeatures
- Type: AvlNet.CharacterFeatures
Character features used to distinguish characters from each other - inLearningRate
- Type: System.Single
Suppression level of changes during learning process - inMomentum
- Type: System.Single
Value of classifier learning momentum - inIterationCount
- Type: System.Int32
Learning iteration count - outOcrModel
- Type: AvlNet.OcrModel
Trained OcrMlpModel used to recognize characters - outTrainingAccuracy
- Type: System.Single
The overall training score
