From df9c5f297f68753db255c586507ca1f808410f66 Mon Sep 17 00:00:00 2001 From: Arun Ponnusamy Date: Tue, 9 Jul 2019 13:25:44 +0530 Subject: [PATCH] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 8c45d20..e69ee56 100644 --- a/README.md +++ b/README.md @@ -112,6 +112,13 @@ Optionally you can pass in a directory path to save all the frames to disk. frames = cv.get_frames('~/Downloads/demo.mp4', '~/Downloads/demo_frames/') ``` +### Creating gif +`animate( )` method lets you create gif from a list of images. Just pass a list of images or path to a directory containing images and output gif name as arguments to the method, it will create a gif out of the images and save it to disk for you. + +``` +cv.animate(frames, '~/Documents/frames.gif') +``` + ## License cvlib is released under MIT license.