Skip to content

Instantly share code, notes, and snippets.

@alankbi
Last active February 16, 2020 02:28
Show Gist options
  • Save alankbi/b407068919e64da29be9fd55273b7032 to your computer and use it in GitHub Desktop.
Save alankbi/b407068919e64da29be9fd55273b7032 to your computer and use it in GitHub Desktop.
Split video footage into individual images
from detecto.utils import split_video
split_video('video.mp4', 'frames/', step_size=4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment