* @param transferFunctionType neurons transfer function type
* @return returns NeuralNetwork with the OCR plugin
*/
public static NeuralNetwork createNewNeuralNetwork(String label, Dimension samplingResolution, ColorMode colorMode, List<String> characterLabels, List<Integer> layersNeuronsCount, TransferFunctionType transferFunctionType) {
NeuralNetwork neuralNetwork = ImageRecognitionHelper.createNewNeuralNetwork(label, samplingResolution, colorMode, characterLabels, layersNeuronsCount, transferFunctionType);
neuralNetwork.addPlugin(new OcrPlugin(samplingResolution, colorMode));
return neuralNetwork;
}
}