CLI based 8bit image pixelator, text & object recognition app.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Gökmen Görgen 9a9321f357 update funding. 2 months ago
.github update funding. 2 months ago
examples update README.md 2 years ago
gork fix color problems in terminal output. 3 months ago
scripts add build script. 3 months ago
tests fix print command. colors are still wrong. 3 months ago
.gitignore pyoxidizer. 3 years ago
.pre-commit-config.yaml fix linter errors. 3 months ago
LICENSE.md poetry integration. 5 months ago
README.md update readme file. 3 months ago
app.py fix print command. colors are still wrong. 3 months ago
poetry.lock fix color problems in terminal output. 3 months ago
pyproject.toml fix print command. colors are still wrong. 3 months ago

README.md

GORK

I derived the name from Zork that is a first text-based adventure game.

poetry install
poetry run gork --help

# colors, texts, recognitions, etc
poetry run gork analyze --input=./files/park.png \
                        --output=./files/park_report.txt

# default width, terminal width scale it by height.
poetry run gork print --width=80 \
                      --input=./files/park.png

# default pixel size is 10.
poetry run gork export ./files/park.png \
                       ./files/park_output.png \
                       --pixel-size=15
Original Pixelated

The terminal output:

asciicast

The base calculation code is from pixelator project. Also img_term app helped me to display the image in the terminal.

Contributing

poetry poe test
poetry run pytest