All Projects → aws-samples → aws-deeplens-coffee-leaderboard

aws-samples / aws-deeplens-coffee-leaderboard

Licence: other
The code is meant to be shared via a blog post. We build a demo that uses the AWS DeepLens and tracks the number of coffees people drink throughout the day. Alongside the DeepLens, we also built a Flask application that displays that leaderboard.

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects

coffee-leaderboard

This repository is part of a blog post that guides users through creating a coffee leaderboard that uses face detection to track the number of coffee people drink using the AWS DeepLens

Following the steps described in the blog post, the final architecture is this:

diagram

face_function.py

Using Amazon Rekognition, this lambda function responsible for recognising/registering a face and mug, storing the results in DynamoDB

deeplens_inference_function.py

This lambda function runs on the AWS DeepLens and perform inferences and the necessary logic. It uploads frames to Amazon S3 when a face is detected, as well as adds features such as a cooldown period between uploads along with a countdown before taking a picture.

app/

This folder contains a Python Flask application that presents the information collected. Using AWS Elastic Beanstalk, it is easy to deploy this application and visualise the result collected from the AWS DeepLens

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].