/PictureToCharacter

The picture is transformed into a character painting

Primary LanguagePython

PictureToCharacter

licensePyPI

Make picture transformed into a character painting

You should use the command to install some requirements for run

pip install -r requirements.txt

How to use

please put the picture which you want to transformed in the dirPictureToCharacter\picture.png

python PictureToCharacter.py picture.png

you can use --width and --height to adjust the picture size.Example

python PictureToCharacter.py picture.png --width 20 --height 20

Also,you can get the .txt of the character painting use -oor--output

python PictureToCharacter.py picture.png --width 20 --height 20 --output picture.txt

then,you can use picture.txt.Look like this

str_c = '''the content of picture.txt'''
print(str_c)