Skip to content

An ascii-portrait C++ program, writing for practice.

Notifications You must be signed in to change notification settings

Ingnaryk/ascii_portrait

Repository files navigation

An ascii-portrait learning program

One-command compilation: g++ ./main.cpp -o main

Flags:
    -i, --input
                       Input file name

    -o, --output
                       Output portrait's size(widthxheight) | default: 30x15

  -cot, --convo-thres
                       The threshold of convolution dividing black and white | default: 55

  -cht, --char-thres
                       The threshold from the image block to a char | default: 0.04

    -q, --quality
                       The quality of intermediately generated images | default: 95

    -d, --debug
                       Debug mode for which program will print further runtime information | default: 0

Reference of third-party repos

About

An ascii-portrait C++ program, writing for practice.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published