A simple example for optical flow analysis via OpenCV.
Install dependency
pip install -r requirements.txt
Enter input path for video
input_video = 'input.mp4'
output_video = 'output.mp4'
output_data = 'output.json'
Generate an output video with the analyze results in json format.
python app.py