/optical-flow-analysis

A simple example for optical flow analysis via OpenCV

Primary LanguagePython

Introduction

A simple example for optical flow analysis via OpenCV.

Setup

Install dependency

pip install -r requirements.txt

Enter input path for video

input_video = 'input.mp4'
output_video = 'output.mp4'
output_data = 'output.json'

Run

Generate an output video with the analyze results in json format.

python app.py