Lurker News

Comments (731) 147 threads

Show all comments

Showing thread 78 of 147

aendruk1 reply#
My laptop buzzes loudly if I slouch or put my hands on my face. Minimal effort implementation; damianmoore/tensorflow-image-classifier, fswebcam, cron, aplay.
fratlas2 replies#
Can you open source this? Sounds helpful
aendruk#

  fswebcam --no-banner capture.jpg \
  && classify.sh tf_files classifier capture.jpg \
    | head --lines 1 | grep --quiet '^slouching\b' \
  && aplay buzzer.wav
Polish to taste.