mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 14:13:15 +08:00
ANDed waitkey result with 0xFF for x64 systems
This commit is contained in:
parent
ca09ba6852
commit
2dd3bf116e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user