The ascii_art is an open-source library that helps you convert any image into an ASCII-art text file.
The ascii_art is a python package that you can simply install using the following command:
pip install ASCII-art-tool
To use our library in your code, you need to import it and intialize it, that's all. It's easy !
## Import the library
from ascii_art import generator
## Declaring the path of the input file and the output
input = "C:/Users/default/Desktop/image.jpg"
output = "./ascii_art.txt"
## Intialize an instance of the library
instance = generator.Generator(input=input, output=output)
## Execute the art
instance.execute()