Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/leonkie/squat_rp
- Owner: LeonKie
- Created: 2020-01-17T12:23:31.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-30T20:23:35.000Z (over 4 years ago)
- Last Synced: 2024-10-27T22:19:22.213Z (3 months ago)
- Topics: aiy-vision-kit, aiyprojects, arduino, coffee, coffee-machine, face-detection, rewarding, trigger
- Language: Python
- Homepage:
- Size: 13.2 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Steps to get it running
```
python3 main_loop.py
```
# IntroductionI 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