Giter Site home page Giter Site logo

meme's Introduction

Meme Generator

Generating a memes by stacking quotes over images.

Overview and Modules

The project driving executors are:

  • The Quote Engine that collects quotes from multiple file types and return quote details as a Quote Object.
  • The Meme Engine that takes a random Quote objects and stacks its details on an image.
  • The user can provide his own custom meme image and quote and a meme will be created via a CLI (command line interface) or a web service app.

Setup

To set up the project we need the following:

  1. Clone the repo on your local machine by running the command:
git clone [email protected]:E-Hossam96/MEME.git
  1. Install the xpdf tool on your system by downloading the proper version for it and adding the path for the proper bin file to your system environment varibles. This is to collect quotes from PDF files.

  2. Create a new python environment for the project by running one of the following commands on your terminal (assuming windows).

python -m venv .memeenv
conda create --name .memeenv python=3.9.12
  1. Activate your environment by running one of the following commands in your terminal.
./.memeenv/Scripts/activate.bat
conda activate .memeenv
  1. Install the required packages by running the following command:
pip install -r requirements.txt

Terminal Examples

Once all the setup is done, you can run the follwing example in your terminal

python meme.py

and it will generate a random meme for you.

You can also generate your custom meme but you need to understand how to do it in the terminal first. You can run

python meme.py -h

and it will handle your needs.

Webpage Examples

You can also use the interactive webpage interface to generate a random meme or your custom one.

---

Credit

Udacity

meme's People

Contributors

e-hossam96 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.