Skip to content

Latest commit

 

History

History
 
 

Ascii_art

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

ascii-art

Description

This Project will take an image and print out an ASCII-art.

About this Project

This project uses opencv to process image and numpy to manipulate arrays. The Image is numerically coded for different threshold regions it comes under and for each coded regions , a symbol is used for printing it out in the stdout.

Usage

Use the Script make_art.py . In the command line, Enter

python3 make_art.py [image_path]

Replace the [image_path] with the image you want to do ascii-art. By default it takes sample_image.png

Customization

There are two things you can customize in make_art.py.

  • symbols_list
  • threshold_list

Modify the threshold list to take different threshold values thereby changing the patterns in the printed image. Modify the symbols list to substitute different symbols in the coded patterns.

Sample

Input Image : input_image Output : output_image