[mousetrap] BugFix
- From: Flavio Percoco <flaper src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mousetrap] BugFix
- Date: Sat, 27 Mar 2010 00:51:44 +0000 (UTC)
commit 573d5a184e5f76eb6053fd852bacfd2698a6689d
Author: Flavio Percoco Premoli <flaper87 gmail com>
Date: Sat Mar 27 03:08:30 2010 +0100
BugFix
src/mousetrap/ocvfw/dev/camera.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/mousetrap/ocvfw/dev/camera.py b/src/mousetrap/ocvfw/dev/camera.py
index c7e9915..a3395ac 100644
--- a/src/mousetrap/ocvfw/dev/camera.py
+++ b/src/mousetrap/ocvfw/dev/camera.py
@@ -228,7 +228,7 @@ class Capture(object):
co.cv.cvRectangle( self.__image, co.cv.cvPoint(rect.x, rect.y), co.cv.cvPoint(rect.size[0], rect.size[1]), co.cv.CV_RGB(255,0,0), 3, 8, 0 )
def draw_point(self, x, y):
- co.cv.cvCircle(self.__image, co.cv.cvPoint(x,y), 3, co.cv.cvScalar(0, 255, 0, 0), -1, 8, 0)
+ co.cv.cvCircle(self.__image, (x,y), 3, co.cv.cvScalar(0, 255, 0, 0), -1, 8, 0)
def original(self):
"""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]