I am creating a video installation that uses projectors and live camera feeds. I am hoping to write a script that uses the camera feed to detect motion and then wakes up the display, that way the projector's display can stay asleep when no one is in the space.
I am brand new to Processing. Any help would be awesome. Here is the script I'm using to activate the cameras:
import processing.video.*;
Capture cam;
void setup() {
size(screenWidth, screenHeight);
cam = new Capture(this, screenWidth, screenHeight);