A python program to generate ANSI art from images and videos

A python program that creates ASCII art (with true color support if enabled) from images and videos

Dependencies

The program runs using python3
The following python packages are used in the program:

  • opencv-python
  • Pillow
  • numpy
    These packages can be installed using any package manager for python like pip, conda, etc.

A Demo

Below is a GIF file (of lesser quality than the original screen-capture) showing the output on a true-color terminal
Gif

Usage

Navigate to the directory of the python script and run the following command

python generate.py $FILENAME $OPTION

Here $FILENAME is the full path to the media file

 

 

 

To finish reading, please visit source site