Skip to content

Convert video to an image sequence with per frame blur detection.

License

Notifications You must be signed in to change notification settings

oscnord/video-to-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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