added 0xFF & in front of every waitKey so that it works on linux
This commit is contained in:
@@ -101,7 +101,7 @@ class App(object):
|
||||
|
||||
cv2.imshow('camshift', vis)
|
||||
|
||||
ch = cv2.waitKey(5)
|
||||
ch = 0xFF & cv2.waitKey(5)
|
||||
if ch == 27:
|
||||
break
|
||||
if ch == ord('b'):
|
||||
|
Reference in New Issue
Block a user