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

https://github.com/kyhau/reko

A simple Python application supporting face based user verification using Amazon Rekognition and Polly, and verbal instructions using Google API speechrecognition.
https://github.com/kyhau/reko

amazon-polly amazon-rekognition opencv

Last synced: 5 months ago
JSON representation

A simple Python application supporting face based user verification using Amazon Rekognition and Polly, and verbal instructions using Google API speechrecognition.

Awesome Lists containing this project

README

          

# Reko

Simple Python scripts for supporting face based user verification.

1. Obtain verbal instructions using Google API - [speechrecognition](https://github.com/Uberi/speech_recognition) to get command. (Improvement required) (TODO - use Amazon Transcribe instead)
1. Control webcam to take image using [OpenCV 2](http://opencv.org/).
1. Face recognition with [Amazon Rekognition](https://aws.amazon.com/rekognition/).
1. Verbal feedback (Text-to-Speech) using [Amazon Polly](https://aws.amazon.com/polly/details/).

- [LICENSE](LICENSE)
- [Release Notes](ReleaseNotes.md)

## Build

`Python 3.7, 3.8`:

[![githubactions](https://github.com/kyhau/reko/workflows/Build-Test/badge.svg)](https://github.com/kyhau/reko/actions)
[![travisci](https://travis-ci.org/kyhau/reko.svg?branch=master)](https://travis-ci.org/kyhau/reko)

```
virtualenv env
env\Scripts\activate
pip install -i https://pypi.python.org/pypi -e .
```

## Run

1. Get Help from command line

```bash
reko --help
```

1. List all collections from command line

```bash
reko --profile AWS_PROFILE_NAME --collections
```

1. List all faces in a collection

```bash
reko --profile AWS_PROFILE_NAME --collection_id COLLECTION_ID --faces
```

1. Sign-up from command line. If collection does not exist, it will be created

```bash
reko --profile AWS_PROFILE_NAME --collection_id COLLECTION_ID --signup NAME
```

1. Sign-in from command line, with verbal feedback

```bash
reko --profile AWS_PROFILE_NAME --collection_id COLLECTION_ID --signin NAME --audio_on
```

1. Delete a collection from command line

```bash
reko --profile AWS_PROFILE_NAME --collection_id COLLECTION_ID --delete_collection
```

1. Sign-in using microphone

```bash
reko --profile AWS_PROFILE_NAME --collection_id COLLECTION_ID --audio_on --listen_on
```

1. Keep watching (at the specified interval) and sign-in when possible

```bash
reko --profile AWS_PROFILE_NAME --collection_id COLLECTION_ID -audio_on --watch_on INTERVAL_SEC
```