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.
python main.py
('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)
- Webcam
- OpenCV
- apscheduler
- Google API (key)
- Improve output (icon and/or status icon update)
- More classification (facial expression and posture detection)
We always welcome your contributions, PRs.