OpenCV  3.4.4
Open Source Computer Vision
samples/cpp/lkdemo.cpp

An example using the Lucas-Kanade optical flow algorithm