Skip to content

Instantly share code, notes, and snippets.

@karthick965938
Last active May 23, 2021 20:01
Show Gist options
  • Save karthick965938/b8a72af1fcc106782ab6f9256480267d to your computer and use it in GitHub Desktop.
Save karthick965938/b8a72af1fcc106782ab6f9256480267d to your computer and use it in GitHub Desktop.
Create images into the video
from detecto.utils import split_video
#split_video('video file path', 'image save path', frame size)
split_video('images/cat.mp4', 'images/cat/', step_size=10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment