woops, forgot changes in README and hello-world.cpp
authorozzloy <ozzloy+github_com@gmail.com>
Fri, 27 Feb 2009 08:24:50 +0000 (00:24 -0800)
committerozzloy <ozzloy+github_com@gmail.com>
Fri, 27 Feb 2009 08:24:50 +0000 (00:24 -0800)
README
hello-world.cpp

diff --git a/README b/README
index 921a8fa2a16d3b27860d618eeb086fccd9662e77..8fe0c862be4035535702f0fdfb0eb6a5a05cd120 100644 (file)
--- a/README
+++ b/README
@@ -5,20 +5,24 @@ and opencv to detect a face.  i'm going to use the API used by the default movie
 player in ubuntu for preventing system sleeps.
 
 OTHER IDEAS:
 player in ubuntu for preventing system sleeps.
 
 OTHER IDEAS:
-1. detecting a face could simulate user activity.  this would prevent sleeping
+* detecting a face could simulate user activity.  this would prevent sleeping
 and bring up the password prompt when the system is already asleep.
        * how cool would that be?  if the system is asleep and you sit down at it, the
        password prompt comes up before you touch anything!
        * or if the screen saver doesn't lock the screen, then the laptop just wakes
        up.
 and bring up the password prompt when the system is already asleep.
        * how cool would that be?  if the system is asleep and you sit down at it, the
        password prompt comes up before you touch anything!
        * or if the screen saver doesn't lock the screen, then the laptop just wakes
        up.
-2. authenticating a user based on face recognition (as opposed to face
+       * DONE!
+* fire up the face detector only just before going to inactive mode.
+       * that way the camera isn't running all the time
+       * maybe start 10 seconds before going inactive, then run until activity
+* authenticating a user based on face recognition (as opposed to face
 detection)
        * much more difficult to do reliably
 detection)
        * much more difficult to do reliably
-3. be more aggressive with turning off the screen.  dim the screen as soon as
+* be more aggressive with turning off the screen.  dim the screen as soon as
 it's not being looked at.  turn it off soon thereafter.
        * could be enough to save battery.  would need to power the camera sometimes,
        but would save on backlight.  need to test.
 it's not being looked at.  turn it off soon thereafter.
        * could be enough to save battery.  would need to power the camera sometimes,
        but would save on backlight.  need to test.
-4. don't prevent sleep when face is detected, but user isn't actually looking at
+* don't prevent sleep when face is detected, but user isn't actually looking at
 screen.
        * requires pose estimation.
        * also requires estimating the direction of the eye.
 screen.
        * requires pose estimation.
        * also requires estimating the direction of the eye.
index 045c11442a759cdf7322363af28cb3c58111a520..c88efece67127c59a22a98a1b2e648faeb5d9f95 100644 (file)
@@ -1,5 +1,22 @@
 //use the camera to aid the decision to sleep.
 //Copyright 2009 Daniel Watson
 //use the camera to aid the decision to sleep.
 //Copyright 2009 Daniel Watson
+/*
+    use a camera to prevent screensaver
+    Copyright (C) 2009  daniel watson, ozzloy@gmail.com
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
 /*
         This file is part of oble.
 
 /*
         This file is part of oble.