Skip to content

Ascii art program - supports image and live webcam rendering. Made using C++ with OpenCV and ncurses

Notifications You must be signed in to change notification settings

Nakul727/asciify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asciify

This is a program for generating ascii art in the terminal. Not only does this generate ascii art for an image, but it also supports live video from a webcam. This program is written in C++ and uses the OpenCV library for image processing and ncurses for terminal graphics.

Some cool features of this program include:

  • Ability to generate ascii art from an image of various types (jpg, png, etc.)
  • Live ascii art from a webcam
  • Option for colored ascii art
  • Resolution control through auto resizing based on terminal size

Installation

To run this program you will need to have OpenCV installed. You can install OpenCV by following the instructions here. You will also need to have ncurses installed.

To compile the program, run the following command in the root directory of the project:

make

To run the program, run the following command in the root directory of the project:

./bin/asciify

Note: You need to add all the images you want to use to the images directory. The program will not work if you do not have any images in this directory. For customization, you can edit the defined variables in the src/asciify.cpp file. There are several factors that play into correct rendering of image and video that are terminal specific to your liking. This includes the terminal theme, color support, terminal font, rendering speed etc. Make sure to use a dark theme.

About

Ascii art program - supports image and live webcam rendering. Made using C++ with OpenCV and ncurses

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published