Anime2Gif

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 “main.py” file, and store the videos it will generate gifs from inside the folder.

Running

To run the program, you can simply call the main.py file with the following command:
-python main.py

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

Alt Text

GitHub

View Github