Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 838 Bytes

README.md

File metadata and controls

38 lines (27 loc) · 838 Bytes

Dense Optical Flow

Dense optical flow matrix using OpenCV's Gunnar Farneback’s algorithm.

Compilation

cd src
mkdir build && pushd !!
cmake ..
make
popd

Usage

./main VIDEO_FILE.mp4

Output sample

  • ACCELERATION=0.1

  • ACCELERATION=0.9

Tools

ffmpeg -y -i KTH-Final-0TbZXdhqvA.mp4 -ss 50 -vf eq=brightness=-0.3:contrast=-0.5:saturation=0.5,scale=800:-1 -an KTH-Final-0TbZXdhqvA-640.mp4
ffmpeg -y -i 2020-05-12_08-14-26.mp4 -filter:v "crop=760:420:0:0" out.mp4; mplayer out.mp4

Credits