public void clearCalibrationFramesFolder() { if (captureMode.value == 0) { OpenCVInterop.clearSingleCameraFramesFolder(0); } else if (captureMode.value == 1) { OpenCVInterop.clearSingleCameraFramesFolder(1); } else if (captureMode.value == 2) { OpenCVInterop.clearStereoCalibrationFramesFolder(); } }