Real-Time ASCII Art Rendering Library
ASCII Art is a single file C/C++ library that let you transform an input image or video frame into printable ASCII characters at real-time using a single decision tree. Real-time performance is achieved by using pixel intensity comparison inside internal nodes of the tree.
For a general overview on how the algorithm works, check the bottom of the demo page.
ASCII art is a related (and older) graphic design technique for producing images from printable characters. This implementation is based on the paper:
N. Markus, M. Fratarcangeli, I. S. Pandzic and J. Ahlberg, "Fast Rendering of Image Mosaics and ASCII Art", Computer Graphics Forum, 2015,
Embedding the library in your application is straightforward. All you have to do is drop the ascii_art.c and its header file in your source tree plus the hex model that can be downloaded here and perform the following API calls successively:
Below is a simple C program that demonstrates a typical usage of the ASCII Art C/C++ interfaces.
…sample.c source code
No open issues yet, or sync has not completed.