Anime2Gif is an algorithm that detects scenes in a video and generates gifs from it.

How to use

To use it, first, you’ll need to install it’s dependencies. In order to install the dependencies, assuming you already haves python3 installed, you can run the following commands:
-pip install opencv-python
-pip install Pillow
-pip install numpy

After all the dependecies are installed, you will need to create a directory called “videos” alongside the “” file, and store the videos it will generate gifs from inside the folder.


To run the program, you can simply call the file with the following command:

When the program finishes running, you should have a new gif file inside the “temp” folder.

Alt Text


View Github