Skip to content

Commit

Permalink
Cleanup after fixing refs #432
Browse files Browse the repository at this point in the history
  • Loading branch information
sarxos committed Feb 10, 2016
1 parent 92a2fc8 commit 7c565ab
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import java.awt.Dimension;
import java.awt.image.BufferedImage;
import java.util.concurrent.atomic.AtomicReference;

import com.github.sarxos.webcam.Webcam;
import com.github.sarxos.webcam.WebcamResolution;

import javafx.application.Application;
import javafx.application.Platform;
Expand Down Expand Up @@ -180,16 +178,6 @@ protected Void call() throws Exception {
}

webCam = Webcam.getWebcams().get(webCamIndex);

Dimension[] nonStandardResolutions = new Dimension[] {
WebcamResolution.PAL.getSize(),
WebcamResolution.HD720.getSize(),
new Dimension(2000, 1000),
new Dimension(1000, 500), };

webCam.setCustomViewSizes(nonStandardResolutions);
webCam.setViewSize(WebcamResolution.HD720.getSize());

webCam.open();

startWebCamStream();
Expand Down

0 comments on commit 7c565ab

Please sign in to comment.