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.
- Host: GitHub
- URL: https://github.com/kyhau/reko
- Owner: kyhau
- License: mit
- Created: 2017-01-22T07:11:17.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2025-08-04T18:38:45.000Z (11 months ago)
- Last Synced: 2025-08-04T21:44:13.150Z (11 months ago)
- Topics: amazon-polly, amazon-rekognition, opencv
- Language: Python
- Homepage: https://kyhau.github.io/reko/
- Size: 292 KB
- Stars: 7
- Watchers: 1
- Forks: 3
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`:
[](https://github.com/kyhau/reko/actions)
[](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
```