a92408ab |
1 | prevent the system from sleeping when a user is looking at the screen. |
2 | |
124727d2 |
3 | this is accomplished using a camera and opencv to detect a face. |
a92408ab |
4 | |
1ddec340 |
5 | this readme is woefully short. |
026d4426 |
6 | |
7 | you'll need to get a file called |
8 | haarcascade_frontalface_alt.xml |
9 | i was able to get it with this: |
10 | wget http://eclecti.cc/files/2008/03/haarcascade_frontalface_alt.xml |
11 | |
12 | i'm not sure what the rules are on distributing this file, so you'll |
13 | have to get it yourself |
14 | |
15 | if you're on ubuntu: |
16 | make ubuntu-dependencies |
17 | make |
18 | make test # assumes you have haarcascade_frontalface_alt.xml in current dir |