cv_optical_flow

Sparse optical flow: goodFeaturesToTrack finds corners, then calcOpticalFlowPyrLK (Lucas-Kanade) tracks them from frame to frame. Move your hand or the camera and watch the trails.

Loading OpenCV.js…