Skip to content
This repository was archived by the owner on Jan 13, 2026. It is now read-only.

Latest commit

 

History

History
28 lines (19 loc) · 538 Bytes

File metadata and controls

28 lines (19 loc) · 538 Bytes

Video to images

Simple script to convert a video to an image sequence with blur detection using OpenCV.

Usage

Dependencies

  • OpenCV

Example

required arguments:
  -p PATH, --path PATH  path to the video file

optional arguments:
  -t THRESHOLD, --threshold THRESHOLD
                        default threshold is 100.0. Use 10-30 for motion
  -s STEP, --step STEP  frame step size
  --save SAVE           path to save the frames in a directory

Example usage:

python3 vid2img.py -p ./video.mp4