Loading repository data…
Loading repository data…
rodolfoap / repository
Dense optical flow detection using OpenCV's Gunnar Farneback’s algorithm. An example is included: taking a video showing a crowd in movement, the people movement can be described with a set of vectors.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Dense optical flow matrix using OpenCV's Gunnar Farneback’s algorithm.
cd src
mkdir build && pushd !!
cmake ..
make
popd
./main VIDEO_FILE.mp4
ACCELERATION=0.1
ACCELERATION=0.9
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