This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Example 16-12: Simple background removal | |
// Click the mouse to memorize a current background image | |
import processing.video.*; | |
// Variable for capture device | |
Capture video; | |
// Saved background | |
PImage backgroundImage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// - Super Fast Blur v1.1 by Mario Klingemann <http://incubator.quasimondo.com> | |
// - BlobDetection library | |
import processing.video.*; | |
import blobDetection.*; | |
Capture cam; | |
BlobDetection theBlobDetection; | |
PImage img; | |
boolean newFrame=false; |