/opencv_video

frame by frame video processing using open cv

Primary LanguagePythonBSD 2-Clause "Simplified" LicenseBSD-2-Clause

opencv_video

This repository contains python code snippets for frame by frame video processing using the OpenCV package.

Getting Started

  1. Clone repo and install prerequisites (python>=3,OpenCV>=2)
  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)
  3. Adapt main() function in opencv_process_video script with OpenCV functions to process selected frames
  4. Run the main script
    $ python opencv_process_video.py -i <PATH_TO_INPUT_VIDEO_FILE> -o <PATH_TO_OUPUT_VIDEO_FILE>