OCRNeuralNetwork/src/com/conordevilly/ocr/trainer/GUIController.java
@FXML protected void openFileChooser(ActionEvent event){
		DirectoryChooser dirChooser = new DirectoryChooser();
		File imgDir = dirChooser.showDialog(null);
		imgList = imgDir.listFiles();
		imgListIterator = 0;
		loadImage(null);
	}
//Asks user to select the data dir & sets up files
Asks user to select the data dir & sets up files
Asks user to select the data dir & sets up files
@FXML protected void openFileChooser(ActionEvent event){
		DirectoryChooser dirChooser = new DirectoryChooser();
		File imgDir = dirChooser.showDialog(null);
		imgList = imgDir.listFiles();
		imgListIterator = 0;
		loadImage(null);
	}
@ FXML protected void openFileChooser ( ActionEvent event ) { DirectoryChooser dirChooser = new DirectoryChooser ( ) ; File imgDir = dirChooser . showDialog ( null ) ; imgList = imgDir . listFiles ( ) ; imgListIterator = 0 ; loadImage ( null ) ; }
Asks user to select the data dir & sets up files
Asks user to select the data dir & sets up files