Skip to content

This Script takes an image and prints out as an art ( ascii-art) in the terminal .

License

Notifications You must be signed in to change notification settings

Shiny-Akash/printart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

print-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

About

This Script takes an image and prints out as an art ( ascii-art) in the terminal .

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages