Simple Python scripts for supporting face based user verification.
- Obtain verbal instructions using Google API - speechrecognition to get command. (Improvement required) (TODO - use Amazon Transcribe instead)
- Control webcam to take image using OpenCV 2.
- Face recognition with Amazon Rekognition.
- Verbal feedback (Text-to-Speech) using Amazon Polly.
Python 3.7, 3.8
:
virtualenv env
env\Scripts\activate
pip install -i https://pypi.python.org/pypi -e .
-
Get Help from command line
reko --help
-
List all collections from command line
reko --profile AWS_PROFILE_NAME --collections
-
List all faces in a collection
reko --profile AWS_PROFILE_NAME --collection_id COLLECTION_ID --faces
-
Sign-up from command line. If collection does not exist, it will be created
reko --profile AWS_PROFILE_NAME --collection_id COLLECTION_ID --signup NAME
-
Sign-in from command line, with verbal feedback
reko --profile AWS_PROFILE_NAME --collection_id COLLECTION_ID --signin NAME --audio_on
-
Delete a collection from command line
reko --profile AWS_PROFILE_NAME --collection_id COLLECTION_ID --delete_collection
-
Sign-in using microphone
reko --profile AWS_PROFILE_NAME --collection_id COLLECTION_ID --audio_on --listen_on
-
Keep watching (at the specified interval) and sign-in when possible
reko --profile AWS_PROFILE_NAME --collection_id COLLECTION_ID -audio_on --watch_on INTERVAL_SEC