OCRNeuralNetwork/src/com/conordevilly/ocr/wordGuesser/MainController.java
@FXML protected void displayImage(File f){
		try{
			Image img = new Image(f.toURI().toString());
			BufferedImage bufImg = SwingFXUtils.fromFXImage(img, null);
			String result = nn.processMultiImage(bufImg);
			setGuess(result);
			imageView.setImage(img);
		}catch(Exception e){
			e.printStackTrace();
		}
	}
//Display an image, make the NN guess it then display the guess
Display an image, make the NN guess it then display the guess
Display an image make the NN guess it then display the guess
@FXML protected void displayImage(File f){
		try{
			Image img = new Image(f.toURI().toString());
			BufferedImage bufImg = SwingFXUtils.fromFXImage(img, null);
			String result = nn.processMultiImage(bufImg);
			setGuess(result);
			imageView.setImage(img);
		}catch(Exception e){
			e.printStackTrace();
		}
	}
@ FXML protected void displayImage ( File f ) { try { Image img = new Image ( f . toURI ( ) . toString ( ) ) ; BufferedImage bufImg = SwingFXUtils . fromFXImage ( img , null ) ; String result = nn . processMultiImage ( bufImg ) ; setGuess ( result ) ; imageView . setImage ( img ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; } }
Display an image, make the NN guess it then display the guess
Display an image make the NN guess it then display the guess