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

https://github.com/jamesoff/googlyify

Draw googly eyes on images with Amazon Rekognition
https://github.com/jamesoff/googlyify

Last synced: 4 months ago
JSON representation

Draw googly eyes on images with Amazon Rekognition

Awesome Lists containing this project

README

          

# Googlyify

Draw googly eyes on people using Amazon Rekognition.

![sample output](sample/crowd-output.jpg)

## Prerequisites

* AWS credentials configured
* Python >= 3.9
* optional: [Poetry](https://python-poetry.org/) installed

## Setup

1. Clone repo
1. If you don't intend to work on the code
1. If you have Poetry installed, `poetry install --no-dev`
1. Else create a virtualenv and install with pip: `python -m venv .venv && source .venv/bin/activate && pip install .`
1. else if you intend to work on the code, `poetry install`

## Usage

With a suitable input file (less than 5MB, png or jpg)

```
poetry run python googlyify.py input.jpg output.jpg
```

or if using the virtualenv directly,

```
python googlyify.py input.jpg output.jpg
```

`output.jpg` is overwritten with the result.