Search in sources :

Example 1 with MovieProcessor

use of de.serviceflow.frankenstein.MovieProcessor in project Frankenstein by olir.

the class ProcessingSceneController method initProcessing.

public void initProcessing(ConfigurationSceneController cController, Configuration configuration) {
    markPosition = -1;
    taskPosition = -1;
    selectedFilter = null;
    filterListData.clear();
    this.taskMessage = "";
    this.taskErrorMessage = null;
    processor = new MovieProcessor(configuration);
    try {
        processor.init(ProcessingSceneController.this);
        Platform.runLater(() -> {
            drawEditCanvas();
            startButton.setDisable(false);
            btnMark.setDisable(false);
            btnOneFrame.setDisable(true);
            btnClear.setDisable(true);
            // btnCopy.setDisable(true);
            // btnPaste.setDisable(true);
            btnListAdd.setDisable(true);
            btnListFilter.setDisable(true);
            btnListDelete.setDisable(true);
            currentTime.setDisable(false);
            currentFrameIndex.setDisable(false);
        });
    } catch (CvException e) {
        taskError(e.toString());
    }
}
Also used : MovieProcessor(de.serviceflow.frankenstein.MovieProcessor) CvException(org.opencv.core.CvException)

Aggregations

MovieProcessor (de.serviceflow.frankenstein.MovieProcessor)1 CvException (org.opencv.core.CvException)1