//blob import processing.video.*; import blobDetection.*; Capture cam; BlobDetection theBlobDetection; PImage img; boolean newFrame=false; //blob void captureEvent(Capture cam) { cam.read(); newFrame = true; } //////////////////////////////////////////////////////////////////////////////////// void drawBlobsAndEdges(boolean drawBlobs, boolean drawEdges) { noFill(); Blob b; EdgeVertex eA,eB; for (int n=0 ; n