You'll need (preferably) Python 3.6 or greater to run this script. The recommended way to install the requirements is using conda. To do so, you can run the following in your terminal:
# Create a new environment with conda:
conda create --name opt-flow
# Activate the environment
conda activate opt-flowInstall the requirements:
# Install the required packages using pip:
pip install -r requirements.txtTo run the script:
python OpticalFlow.pyTo deactivate the environment:
conda deactivate