예제 #1
0
  public void setup() {
    webcam = new Capture(this, width, height);
    cv = new OpenCV(this, width, height);

    webcam.start();

    cv.loadCascade(OpenCV.CASCADE_FRONTALFACE);
  }
예제 #2
0
 public void captureEvent(Capture c) {
   c.read();
 }