fixed typo
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ class DrawLineWidget(object):
|
|||||||
cv2.line(self.work, self.image_coordinates[0], (x, y), (36, 255, 12), 2)
|
cv2.line(self.work, self.image_coordinates[0], (x, y), (36, 255, 12), 2)
|
||||||
cv2.imshow("image", self.work)
|
cv2.imshow("image", self.work)
|
||||||
|
|
||||||
# Record ending (x,y) coordintes on left mouse bottom release
|
# Record ending (x,y) coordinates on left mouse bottom release
|
||||||
elif event == cv2.EVENT_LBUTTONUP:
|
elif event == cv2.EVENT_LBUTTONUP:
|
||||||
self.clone = self.work.copy()
|
self.clone = self.work.copy()
|
||||||
self.image_coordinates = []
|
self.image_coordinates = []
|
||||||
|
|||||||
Reference in New Issue
Block a user