https://github.com/hunkim/smile_more
Check your face and make sure you smile using Google Vision API.
https://github.com/hunkim/smile_more
Last synced: 9 months ago
JSON representation
Check your face and make sure you smile using Google Vision API.
- Host: GitHub
- URL: https://github.com/hunkim/smile_more
- Owner: hunkim
- Created: 2017-01-05T05:43:28.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-05T10:41:56.000Z (about 9 years ago)
- Last Synced: 2025-03-30T17:51:14.399Z (10 months ago)
- Language: Python
- Size: 187 KB
- Stars: 36
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# smile_more
How much do you smile when you work? How about your posture?
Using Google API and OpenCV, this program will check it for you and show you information.
If you get too close to your monitor (turtleneck), it will beep.

## Run
```bsh
python main.py
```
## Output example
```bsh
('Distance: ', 28.0, 'Joy: ', 75, 'Anger: ', 0)
('Distance avg: ', 28.0, 'Joy avg: ', 75, 'Anger avg: ', 0) count: 1
Cannot find your face!
('Distance: ', 21.0, 'Joy: ', 0, 'Anger: ', 0)
('Distance avg: ', 68.66666666666667, 'Joy avg: ', 25, 'Anger avg: ', 0) count: 3
Too close! (with beep)
```
## Example output (need to be improved)
## Requirements
- Webcam
- OpenCV
- apscheduler
- Google API (key)
## TODO
- Improve output (icon and/or status icon update)
- More classification (facial expression and posture detection)
## Contributions
We always welcome your contributions, PRs.