mirror of
https://github.com/opencv/opencv.git
synced 2026-09-29 04:09:43 +03:00
compatibility corrections
This commit is contained in:
1 parent
e0c1fb5f76
commit
a61b730238
1 file changed
+2
-1
@@ -75,8 +75,9 @@ if __name__ == '__main__':
|
||||
else:
|
||||
task = DummyTask(process_frame(frame, t))
|
||||
pending.append(task)
|
||||
ch = cv2.waitKey(1)
|
||||
ch = 0xFF & cv2.waitKey(1)
|
||||
if ch == ord(' '):
|
||||
threaded_mode = not threaded_mode
|
||||
if ch == 27:
|
||||
break
|
||||
cv2.destroyAllWindows()
|
||||
Reference in new issue
Block a user