bradleyboy / inyourface

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:Apache License 2.0


Languages

Language:Python 100.0%