public void requestSaveInputImage() {
		saveRequested = false;
		switch( inputMethod ) {
			case IMAGE:
				new Thread(() -> saveInputImage()).start();
				break;

			case VIDEO:
			case WEBCAM:
				if( streamPaused ) {
					saveInputImage();
				} else {
					saveRequested = true;
				}
				break;
		}
	}
public void requestSaveInputImage ( ) { saveRequested = false ; switch ( inputMethod ) { case IMAGE : new Thread ( ( ) -> saveInputImage ( ) ) . start ( ) ; break ; case VIDEO : case WEBCAM : if ( streamPaused ) { saveInputImage ( ) ; } else { saveRequested = true ; } break ; } }
Makes a request that the input image be saved. This request might be carried out immediately
or when then next image is processed.