This repository contains python code snippets for frame by frame video processing using the OpenCV package.
- Clone repo and install prerequisites (python>=3,OpenCV>=2)
- Download or capture a video file that you that you would like to process (using your webcam and favorite video capture tool such as Quicktime)
- Adapt main() function in opencv_process_video script with OpenCV functions to process selected frames
- Run the main script
$ python opencv_process_video.py -i <PATH_TO_INPUT_VIDEO_FILE> -o <PATH_TO_OUPUT_VIDEO_FILE>