All browser code for this example can be found here: https://github.com/aaronsherwood/sensorsbodymotion/tree/master/browser/opticalFlow_osc
The tidalcycles sketch to work with is here: https://github.com/aaronsherwood/sensorsbodymotion/blob/master/tidalscripts/week3_moreOSC.tidal