|
Neuroph | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.neuroph.contrib.imgrec.ImageRecognitionHelper
org.neuroph.contrib.ocr.OcrHelper
public class OcrHelper
Provides methods to create Neural Network and Training set for OCR.
Constructor Summary | |
---|---|
OcrHelper()
|
Method Summary | |
---|---|
static NeuralNetwork |
createNewNeuralNetwork(java.lang.String label,
java.awt.Dimension samplingResolution,
ColorMode colorMode,
java.util.List<java.lang.String> characterLabels,
java.util.Vector<java.lang.Integer> layersNeuronsCount,
TransferFunctionType transferFunctionType)
Creates neural network for OCR, which contains OCR plugin. |
Methods inherited from class org.neuroph.contrib.imgrec.ImageRecognitionHelper |
---|
createBlackAndWhiteTrainingSet, createTrainingSet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OcrHelper()
Method Detail |
---|
public static NeuralNetwork createNewNeuralNetwork(java.lang.String label, java.awt.Dimension samplingResolution, ColorMode colorMode, java.util.List<java.lang.String> characterLabels, java.util.Vector<java.lang.Integer> layersNeuronsCount, TransferFunctionType transferFunctionType)
label
- neural network labelsamplingResolution
- character size in pixels (all characters will be scaled to this dimensions during recognition)colorMode
- color mode used fr recognitioncharacterLabels
- character labels for output neuronslayersNeuronsCount
- number of neurons ih hidden layerstransferFunctionType
- neurons transfer function type
|
Neuroph | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |