Skip to content
forked from jart/hiptext

Researching new algorithms for turning images into text.

Notifications You must be signed in to change notification settings

keroserene/hiptext

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hiptext - Render Images and Videos as Text

Last Supper in Macterm

Happy Cat in Macterm

Obama in Macterm

Hiptext is a fun little research project of Justine Tunney to find new and interesting ways to render images as text, with a lot of help from Serene Han.

Dependencies

You need clang or gcc >=4.7. You also need to install:

sudo apt-get install build-essential libpng12-dev libjpeg-dev \
    libfreetype6-dev libgif-dev ragel libavformat-dev libavcodec-dev \
    libswscale-dev
sudo ./install-glog.sh
sudo ./install-gflags.sh
sudo ldconfig

Invocation

make
./hiptext whatever.png
./hiptext whatever.avi
./hiptext --spectrum                        # Show color spectrum graph
./hiptext --macterm whatever.png            # The absolute best (Mac only)
./hiptext --xterm256unicode whatever.png    # Best on xterm/gnome-terminal
./hiptext --xterm256 whatever.png           # Default
./hiptext --nocolor whatever.png
./hiptext --nocolor --chars=" .oO0" whatever.png

About

Researching new algorithms for turning images into text.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 71.2%
  • C 14.4%
  • Shell 8.0%
  • Python 5.0%
  • Other 1.4%