We implement two optical flow estimation methods based on OpenCV, including:
- several functions from OpenCV
- open-source optical flow algorithms from http://people.csail.mit.edu/celiu/OpticalFlow/.
mkdir build && cd build
cmake ..
make -j4
./Coarse2FineTwoFrames
From left to right: img1, the warp result from img2 to img1, img2