ANDed waitkey result with 0xFF for x64 systems

This commit is contained in:
abidrahmank 2013-05-27 10:30:30 +05:30
parent ca09ba6852
commit 2dd3bf116e

View File

@ -124,7 +124,7 @@ while(1):
cv2.imshow('output',output)
cv2.imshow('input',img)
k = cv2.waitKey(1)
k = 0xFF & cv2.waitKey(1)
# key bindings
if k == 27: # esc to exit