1 import it.lilik.capturemjpeg.*;
3 private CaptureMJPEG capture;
4 private PImage next_img = null;
9 capture = new CaptureMJPEG
11 new SonyURL("mynetworkcamera.foo")
13 //new AxisURL("mynetworkcamera.foo")
14 //.setDesiredFPS(20).getURL(),
17 capture.startCapture();
22 if (next_img != null) {
23 image(next_img, 0, 0);
27 void captureMJPEGEvent(PImage img) {