me and my friends are trying to put together a peace using Blob_Detection but we can't seem to get it to fill in the Blobs (all black). More over we would like to implement our own background into the scene while keeping the black Blobs in front of it. We have seen that others have come across the same problem but have not found much for answers. If anyone out there can help us ASAP we would greatly appreciate it. thanks
import processing.video.*;
import blobDetection.*;
Capture cam;
BlobDetection theBlobDetection;
PImage img;
boolean newFrame=false;
void setup()
{
size(1280, 960);
cam = new Capture(this, 40*4, 30*4, 15);
cam.start();
img = new PImage(80,60);
theBlobDetection = new BlobDetection(img.width, img.height);
theBlobDetection.setPosDiscrimination(true);
theBlobDetection.setThreshold(0.3f); // will detect brightness
me and my friends are trying to put together a peace using Blob_Detection but we can't seem to get it to fill in the Blobs (all black). More over we would like to implement our own background into the scene while keeping the black Blobs in front of it. We have seen that others have come across the same problem but have not found much for answers. If anyone out there can help us ASAP we would greatly appreciate it. thanks
import processing.video.*;
import blobDetection.*;
Capture cam;
BlobDetection theBlobDetection;
PImage img;
boolean newFrame=false;
void setup()
{
size(1280, 960);
cam = new Capture(this, 40*4, 30*4, 15);
cam.start();
img = new PImage(80,60);
theBlobDetection = new BlobDetection(img.width, img.height);
theBlobDetection.setPosDiscrimination(true);
theBlobDetection.setThreshold(0.3f); // will detect brightness