aggressive screensaver [de]activation
[ozzloy@gmail.com/oble] / README
1 prevent the system from sleeping when a user is looking at the screen.
2
3 this is accomplished using the built-in camera on my laptop screen's top bezel
4 and opencv to detect a face. i'm going to use the API used by the default movie
5 player in ubuntu for preventing system sleeps.
6
7 OTHER IDEAS:
8 * detecting a face could simulate user activity. this would prevent sleeping
9 and bring up the password prompt when the system is already asleep.
10 * how cool would that be? if the system is asleep and you sit down at it, the
11 password prompt comes up before you touch anything!
12 * or if the screen saver doesn't lock the screen, then the laptop just wakes
13 up.
14 * DONE!
15 * fire up the face detector only just before going to inactive mode.
16 * that way the camera isn't running all the time
17 * maybe start 10 seconds before going inactive, then run until activity
18 * authenticating a user based on face recognition (as opposed to face
19 detection)
20 * much more difficult to do reliably
21 * be more aggressive with turning off the screen. dim the screen as soon as
22 it's not being looked at. turn it off soon thereafter.
23 * could be enough to save battery. would need to power the camera sometimes,
24 but would save on backlight. need to test.
25 * don't prevent sleep when face is detected, but user isn't actually looking at
26 screen.
27 * requires pose estimation.
28 * also requires estimating the direction of the eye.