public
Description: A collection of object-oriented Python wrappers for OpenCV
Clone URL: git://github.com/cv/opencv-wrappers.git
fixed a bug with getKeyPressed()
cv (author)
Fri May 16 01:48:36 -0700 2008
commit  568b0f141d49d2488a00dfb82226aa4bdab95c8c
tree    526c63ab601d393a7cb42202bfffd766df145d4e
parent  627bd70a6b50bf1f4a84ffae8a54426d629f2e9b
...
5
6
7
8
 
9
10
...
5
6
7
 
8
9
10
0
@@ -5,6 +5,6 @@ window = Window()
0
 
0
 while True:
0
   window.show(camera.frame())
0
- if escape_pressed():
0
+ if getKeyPressed() == '\x1b': # escape
0
     window.destroy()
0
     break

Comments

    No one has commented yet.