From f0a4185b1f8f3c24a67e11379ae9c65a4dcdf25c Mon Sep 17 00:00:00 2001 From: Alexander Mordvintsev Date: Fri, 1 Jul 2011 17:50:07 +0000 Subject: [PATCH] cv.Line -> cv2.line --- samples/python2/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/python2/common.py b/samples/python2/common.py index 0926ab739..eef5b80d9 100644 --- a/samples/python2/common.py +++ b/samples/python2/common.py @@ -77,7 +77,7 @@ class Sketcher: self.prev_pt = pt if self.prev_pt and flags & cv.CV_EVENT_FLAG_LBUTTON: for dst, color in zip(self.dests, self.colors_func()): - cv.Line(dst, self.prev_pt, pt, color, 5) + cv2.line(dst, self.prev_pt, pt, color, 5) self.dirty = True self.prev_pt = pt self.show()