You are here: Start » AVL.NET » AVL.TrainOcr_MLP(AvlNet.CharacterSample[], AvlNet.Size, AvlNet.CharacterFeatures, float, float, int, AvlNet.OcrModel, float, AvlNet.Profile, AvlNet.Image[])
AVL.TrainOcr_MLP(AvlNet.CharacterSample[], AvlNet.Size, AvlNet.CharacterFeatures, float, float, int, AvlNet.OcrModel, float, AvlNet.Profile, AvlNet.Image[])
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, out AvlNet.Profile diagError, out AvlNet.Image[] diagNormalizedCharacters )
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 - diagError
- Type: AvlNet.Profile
Changes of mean error level progress during learning process - diagNormalizedCharacters
- Type: AvlNet.Image
Images of normalized characters used to train classifier
