GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — python-mini-projects/projects/Ascii_art at master · Python-World/python-mini-projects

This repository was archived by the owner on May 25, 2022. It is now read-only.

Expand file tree

/

Ascii_art

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

Ascii_art

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
README.md
README.md
 
 
make_art.py
make_art.py
 
 
requirements.txt
requirements.txt
 
 
sample_image.png
sample_image.png
 
 
sample_output.png
sample_output.png
 
 

README.md

Outline

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

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.