/inyourface

A handful of low-rent animations layered atop all the faces in your image.

Primary LanguagePythonApache License 2.0Apache-2.0

In Your Face

A handful of low-rent animations layered atop all the faces in your image. Uses Google Vision API for face/feature detection, and gifsicle for makin' gifs.

Usage

Usage: run.py [OPTIONS]

Options:
  --url TEXT                 Url of the input image to be manipulated
                             [required]
  -e, --effect TEXT          The effect to apply, can specify multiple with -e
                             effect1 -e effect2  [required]
  --google_credentials TEXT  Location of google API credentials json file.
  --image_directory TEXT     Where to put finished images.
  --help                     Show this message and exit.

Effects

Angry

Crying

Cryingblood

Googly

Thinking

Googly

Effect Combinations

Angry + Googly + Cryingblood

Googly + Thinking on a gif

Requirements

  1. gifsicle https://www.lcdf.org/gifsicle/

  2. An account setup with the Google Vision API, and your credentials file google-credentials.json file somewhere that run.py can get to it.