Commit 2dd3bf11 authored by abidrahmank's avatar abidrahmank

ANDed waitkey result with 0xFF for x64 systems

parent ca09ba68
...@@ -124,7 +124,7 @@ while(1): ...@@ -124,7 +124,7 @@ while(1):
cv2.imshow('output',output) cv2.imshow('output',output)
cv2.imshow('input',img) cv2.imshow('input',img)
k = cv2.waitKey(1) k = 0xFF & cv2.waitKey(1)
# key bindings # key bindings
if k == 27: # esc to exit if k == 27: # esc to exit
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment