Motion Detection

MOTION DETECTION | PROCESSING 3.0 | 2017

This sketch deals with detecting motion through a web camera. This basically compares the values of adjacent pixels and if there is motion, it turns that pixel into white(in this case). I learned this algorithm through one of Daniel Shiffman's tutorials on YouTube.