Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/leonkie/squat_rp

Using face-recognition from the AIY Vision Kit to detect squats, to stay fit and healthy. In our case we decided to trigger a coffee machine, rewarding you with a free coffee after a small work out.
https://github.com/leonkie/squat_rp

aiy-vision-kit aiyprojects arduino coffee coffee-machine face-detection rewarding trigger

Last synced: about 2 months ago
JSON representation

Using face-recognition from the AIY Vision Kit to detect squats, to stay fit and healthy. In our case we decided to trigger a coffee machine, rewarding you with a free coffee after a small work out.

Awesome Lists containing this project

README

        

# Steps to get it running
```
python3 main_loop.py
```
# Introduction

I am using a *face-detection* model to detect the position of any face. When the detected face moves blow a certain threshold in the video frame a **squard** is detected and a counter keeps track.

The ```main_loop.py``` script is connecting to the Vision AI Camera and uses *Face-detection* to find any faces in the video.

After 5 squats the the raspberry outputs a signal to pin ```GPIOD```

You can trigger any event you want. In our case we decided to trigger a coffee machine, rewarding you with a free coffee after a small work out.

## what requirements you need to run the script??

### hardware
- AIY Vision Kit
### software
- python3