// load neural network from file
NeuralNetwork neuralNet = NeuralNetwork.load(nnFileName);
// create GOAI classifier with loaded Neuroph neural network
ImageRecognizer imageRecognizer = new NeurophImageRecognizer(neuralNet);
// test image recognition
String imgFileName = ImageRecognitionSample.class.getResource("resources/dog.jpg").getFile();
BufferedImage image = ImageIO.read(new File(imgFileName));
HashMap<String, Double> recognitionResults = imageRecognizer.recognizeImage(image);
String recImage="";
double max = 0;
for(String key : recognitionResults.keySet()) {
if (recognitionResults.get(key) > max) {