javascriptcomputer-visionopticalflow

Javascript Optical Flow Implementation


I'm looking for an optical flow implementation to run on my web app in html5 canvas, but didn't found something immediately usable. If I choose to implement it by myself, is it be possible to achieve (near) real-time performance?

Or, since in the current setting, I actually just want to know the main optical flow is moving to the left or right, are there some easier algorithms I can use?


Solution

  • I made this little library which does (I hope) exactly what you are asking for.

    A demo Which utilizes this library to control the ball by moving your hands.