mousetrap r20 - in branches/ng: . src/mousetrap src/mousetrap/ui src/mousetrap/ui/scripts src/ocvfw src/ocvfw/dev src/ocvfw/idm



Author: flaper
Date: Sat Feb 21 21:34:12 2009
New Revision: 20
URL: http://svn.gnome.org/viewvc/mousetrap?rev=20&view=rev

Log:
Added missing files, some paths fixed

Added:
   branches/ng/MAINTAINERS
   branches/ng/README   (contents, props changed)
Modified:
   branches/ng/src/mousetrap/mousetrap.py
   branches/ng/src/mousetrap/ui/scripts/screen.py
   branches/ng/src/mousetrap/ui/widgets.py
   branches/ng/src/ocvfw/_ocv.py
   branches/ng/src/ocvfw/dev/camera.py
   branches/ng/src/ocvfw/idm/forehead.py

Added: branches/ng/MAINTAINERS
==============================================================================
--- (empty file)
+++ branches/ng/MAINTAINERS	Sat Feb 21 21:34:12 2009
@@ -0,0 +1,3 @@
+Flavio Percoco Premoli
+E-mail: flaper svn gnome org
+Userid: flaper

Added: branches/ng/README
==============================================================================
--- (empty file)
+++ branches/ng/README	Sat Feb 21 21:34:12 2009
@@ -0,0 +1,4 @@
+To test the new generation MouseTrap:
+
+$ cd src/mousetrap
+$ ./start

Modified: branches/ng/src/mousetrap/mousetrap.py
==============================================================================
--- branches/ng/src/mousetrap/mousetrap.py	(original)
+++ branches/ng/src/mousetrap/mousetrap.py	Sat Feb 21 21:34:12 2009
@@ -20,7 +20,7 @@
 # along with mouseTrap.  If not, see <http://www.gnu.org/licenses/>.
 
 
-"""The main GUI of mouseTrap."""
+"""MouseTrap's main script."""
 
 __id__        = "$Id$"
 __version__   = "$Revision$"

Modified: branches/ng/src/mousetrap/ui/scripts/screen.py
==============================================================================
--- branches/ng/src/mousetrap/ui/scripts/screen.py	(original)
+++ branches/ng/src/mousetrap/ui/scripts/screen.py	Sat Feb 21 21:34:12 2009
@@ -19,6 +19,7 @@
 # You should have received a copy of the GNU General Public License
 # along with mouseTrap.  If not, see <http://www.gnu.org/licenses/>.
 
+
 """The Screen Mode script."""
 
 __id__        = "$Id$"

Modified: branches/ng/src/mousetrap/ui/widgets.py
==============================================================================
--- branches/ng/src/mousetrap/ui/widgets.py	(original)
+++ branches/ng/src/mousetrap/ui/widgets.py	Sat Feb 21 21:34:12 2009
@@ -1,3 +1,33 @@
+# -*- coding: utf-8 -*-
+
+# mouseTrap
+#
+# Copyright 2009 Flavio Percoco Premoli
+#
+# This file is part of mouseTrap.
+#
+# mouseTrap 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 2 of the License, or
+# (at your option) any later version.
+#
+# mouseTrap 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 mouseTrap.  If not, see <http://www.gnu.org/licenses/>.
+
+
+"""Scripts Common Widgets Module."""
+
+__id__        = "$Id$"
+__version__   = "$Revision$"
+__date__      = "$Date$"
+__copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
+__license__   = "GPLv2"
+
 import sys
 
 import gobject

Modified: branches/ng/src/ocvfw/_ocv.py
==============================================================================
--- branches/ng/src/ocvfw/_ocv.py	(original)
+++ branches/ng/src/ocvfw/_ocv.py	Sat Feb 21 21:34:12 2009
@@ -17,7 +17,8 @@
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with mouseTrap.  If not, see <http://www.gnu.org/licenses/>..
+# along with mouseTrap.  If not, see <http://www.gnu.org/licenses/>.
+
 
 """Little  Framework for OpenCV Library."""
 

Modified: branches/ng/src/ocvfw/dev/camera.py
==============================================================================
--- branches/ng/src/ocvfw/dev/camera.py	(original)
+++ branches/ng/src/ocvfw/dev/camera.py	Sat Feb 21 21:34:12 2009
@@ -20,7 +20,7 @@
 # along with mouseTrap.  If not, see <http://www.gnu.org/licenses/>.
 
 
-"""The main GUI of mouseTrap."""
+"""Camera Device Module."""
 
 __id__        = "$Id$"
 __version__   = "$Revision$"

Modified: branches/ng/src/ocvfw/idm/forehead.py
==============================================================================
--- branches/ng/src/ocvfw/idm/forehead.py	(original)
+++ branches/ng/src/ocvfw/idm/forehead.py	Sat Feb 21 21:34:12 2009
@@ -19,6 +19,7 @@
 # You should have received a copy of the GNU General Public License
 # along with mouseTrap.  If not, see <http://www.gnu.org/licenses/>.
 
+
 """Forehead IDM"""
 
 __id__        = "$Id$"
@@ -49,9 +50,9 @@
         self.foreheadDiff = None
         self.stopMove     = None
         self.startMove    = None
-        self.haar_cds     = { 'Face'  :  "/home/flaper87/workspace/MouseTrap/src/ocvfw/haars/haarcascade_frontalface_alt.xml",
-                              'Eyes'  :  "/home/flaper87/workspace/MouseTrap/src/ocvfw/haars/frontalEyes35x16.xml",
-                              'Mouth' :  "/home/flaper87/workspace/MouseTrap/src/ocvfw/haars/Mouth.xml"}
+        self.haar_cds     = { 'Face'  :  "../ocvfw/haars/haarcascade_frontalface_alt.xml",
+                              'Eyes'  :  "../ocvfw/haars/frontalEyes35x16.xml",
+                              'Mouth' :  "../ocvfw/haars/Mouth.xml"}
 
         ##############################
         #       ACTION POINTS        #



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]