| 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 | 1. 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 | 2. authenticating a user based on face recognition (as opposed to face |
| 15 | detection) |
| 16 | * much more difficult to do reliably |
| 17 | 3. be more aggressive with turning off the screen. dim the screen as soon as |
| 18 | it's not being looked at. turn it off soon thereafter. |
| 19 | * could be enough to save battery. would need to power the camera sometimes, |
| 20 | but would save on backlight. need to test. |
| 21 | 4. don't prevent sleep when face is detected, but user isn't actually looking at |
| 22 | screen. |
| 23 | * requires pose estimation. |
| 24 | * also requires estimating the direction of the eye. |