An open API service indexing awesome lists of open source software.

https://github.com/chaganti-reddy/img-ascii

Python Program to convert an Image to ASCII text
https://github.com/chaganti-reddy/img-ascii

ascii-art image-ascii images python3

Last synced: 2 months ago
JSON representation

Python Program to convert an Image to ASCII text

Awesome Lists containing this project

README

        

Image to ASCII


Image to ASCII


This is a project in which we are going to create a python program which converts an Image to ASCII art.



# Table of Contents

- [Table of Contents](#table-of-contents)
- [:warning: Frameworks and Libraries](#warning-frameworks-and-libraries)
- [:key: Prerequisites](#key-prerequisites)
- [πŸš€Β  Installation](#-installation)
- [:bulb: How to Run](#bulb-how-to-run)
- [πŸ“‚ Directory Tree](#-directory-tree)
- [:key: Results](#key-results)
- [:clap: And it's done!](#clap-and-its-done)
- [:raising_hand: Citation](#raising_hand-citation)
- [:heart: Owner](#heart-owner)
- [:eyes: License](#eyes-license)


# :warning: Frameworks and Libraries

- **[Tkinter](https://docs.python.org/3/library/tkinter.html):** The tkinter package (`Tk interface`) is the standard Python interface to the Tcl/Tk GUI toolkit. Both Tk and tkinter are available on most Unix platforms, including macOS, as well as on Windows systems.


# :key: Prerequisites

All the dependencies and required libraries are included in In-Built Python download.


# πŸš€Β  Installation

The Code is written in Python 3.7. If you don’t have Python installed you can find it [here](https://www.python.org/downloads/). If you are using a lower version of Python you can upgrade using the pip package, ensuring you have the latest version of pip. To install the required packages and libraries, run this command in the project directory after [cloning](https://www.howtogeek.com/451360/how-to-clone-a-github-repository/) the repository:

1. Clone the repo

```bash
git clone https://github.com/Chaganti-Reddy/Img-Ascii.git
```

2. Change your directory to the cloned repo

```bash
cd Img-Ascii
```

3. Now, run the following command in your Terminal/Command Prompt to install the libraries required

```bash
python3 -m virtualenv my_env

source my_env/bin/activate

```


# :bulb: How to Run

1. Open terminal. Go into the cloned project directory and type the following command:

```bash
python3 Img-Ascii.py
```


# πŸ“‚ Directory Tree

```
β”œβ”€β”€ assets
β”‚Β Β  β”œβ”€β”€ im2.jpg
β”‚Β Β  └── main.png
β”œβ”€β”€ image.txt
β”œβ”€β”€ Img-Ascii.ipynb
β”œβ”€β”€ Img-Ascii.py
β”œβ”€β”€ LICENSE
└── README.md
```


# :key: Results




# :clap: And it's done!

Feel free to mail me for any doubts/query
:email: [email protected]

---

# :raising_hand: Citation

You are allowed to cite any part of the code or our dataset. You can use it in your Research Work or Project. Remember to provide credit to the Maintainer Chaganti Reddy by mentioning a link to this repository and her GitHub Profile.

Follow this format:

- Author's name - Chaganti Reddy
- Date of publication or update in parentheses.
- Title or description of document.
- URL.

# :heart: Owner

Made with :heart:Β  by [Chaganti Reddy](https://github.com/Chaganti-Reddy/)

# :eyes: License

MIT Β© [Chaganti Reddy](https://github.com/Chaganti-Reddy/Img-Ascii/blob/main/LICENSE)