Skip to content

Commit

Permalink
Merge pull request opencv#5552 from hyunkim9123:camshift-2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
alalek committed Oct 21, 2015
2 parents 938d42a + 78a5666 commit 4dc2313
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions samples/python2/camshift.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def onmouse(self, event, x, y, flags, param):
if event == cv2.EVENT_LBUTTONDOWN:
self.drag_start = (x, y)
self.tracking_state = 0
return
if self.drag_start:
if flags & cv2.EVENT_FLAG_LBUTTON:
h, w = self.frame.shape[:2]
Expand Down

0 comments on commit 4dc2313

Please sign in to comment.