smaranjitghose / ArtCV

Randomly Exploring Computer Vision techniques to create eye catching art out of plain boring images!
MIT License
49 stars 37 forks source link

Add Ascii Art Python Script #50

Closed aryashah2k closed 3 years ago

aryashah2k commented 3 years ago

Converts Image To String Of Ascii Character Art.

Reference Issue: #40

About the PR:

Process:

  1. The image path is entered by the user.
  2. Image is resized according to new width.
  3. Each pixel of image is converted to grayscale
  4. Ascii characters replace each pixel into a string of characters
  5. Final output gets stored in a txt file and also gets displayed on the terminal window.

Final Output Of The Kolkata Image:

Output

Beloved Cheems Ascii:

cheems

aryashah2k commented 3 years ago

Adding Fresh Pull Request With Updated Changes As Requested During Review