Files
Udacity_Nanodegree_Intermed…/Meme_Generator/README.md

39 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## Meme Generator Project
### Overview
The goal of this project is to build a "meme generator" a multimedia application to dynamically generate memes, including an image with an overlaid quote.
### Set up environment
```sh
$ sudo apt-get install -y xpdf
$ pip install -r requirements.txt
```
### Run program
Python test \
Usage: `python3 meme.py --path [image_path] --body [quote_body] --author [quote_author]`
```sh
$ mkdir tmp
$ python3 meme.py
```
Flask test
```sh
$ mkdir static
$ python3 app.py
```
Open link `http://127.0.0.1:5000` in web browser
### Primary modules
`QuoteEngine`: Meme engine module for handling the generation of meme images.\
`MemeEngine`: QuoteModel module for representing a quote with its body and author.
### Sub modules
`CSVIngestor`: Module for ingesting CSV files containing quotes. \
`DocxIngestor`: Module for ingesting Docx files containing quotes. \
`TextIngestor`: Module for ingesting text files containing quotes. \
`PDFIngestor`: Module for ingesting PDF files containing quotes.