3 ms·
My laptop buzzes loudly if I slouch or put my hands on my face. Minimal effort implementation; damianmoore/tensorflow-image-classifier, fswebcam, cron, aplay.
by aendruk 8y ago
My laptop buzzes loudly if I slouch or put my hands on my face. Minimal effort implementation; damianmoore/tensorflow-image-classifier, fswebcam, cron, aplay.
- fratlas 8y agoCan you open source this? Sounds helpful
- eosrei 8y agoIDK if it's the same, but https://github.com/pyskell/slouchy https://github.com/pyskell/slouchy is an implementation.
- aendruk 8y agofswebcam --no-banner capture.jpg \ && classify.sh tf_files classifier capture.jpg \ | head --lines 1 | grep --quiet '^slouching\b' \ && aplay buzzer.wav Polish to taste.