Key to keypresses:

 ' '  (space): chnges to single-frame capture
 'L'  Live capturing
 'R'  Reset the current color definition
 'A'  turn on/off the Algorithm
 'B'  run Backwards through the pictures
 'S'  Save the current image into tmp
 '0'  turn blobs on or off
 'P'  print current array
 '!'  save red color definitions
 '@'  save yellow color definitions
 '#'  save blue color definitions
 '$'  save green color definitions
 '%'  save pink color definitions
 '1'  load red definitions
 '2'  load yellow definitions
 '3'  load blue definitions
 '4'  load green definitions
 '5'  load pink definitions
 'Z'  reload color definitions

 '-'  toggles removing pixels from the current definition
 
