An interactive program that visualizes optical flow. Created using Processing 3.
Run the sketch's main file, WebcamFlow.pde
, with processing-java.
There are several keyboard bindings to change some parameters at run time:
LEFT ARROW
- decrease flow lingerRIGHT ARROW
- increase flow lingerDOWN ARROW
- reset flow linger to 0.5D
- toggle debug viewR
- reset flow map and displayF
- flip horizontalM
- cycle display modeB
- toggle bilinear interpolation (can only be disabled for display modes not using GLSL)
If only a black screen is shown on startup, it may help to refresh the canvas by pushing D
twice to toggle the debug view on then off.