fixes for latest changes in opencv3.0 api

fixes for latest changes in opencv3.0 api

waitKey() normalization

fixed mser bindings
This commit is contained in:
berak
2015-01-01 10:30:44 +01:00
parent fd2d800c06
commit fd60e98c5b
15 changed files with 29 additions and 28 deletions

View File

@@ -79,7 +79,7 @@ if __name__ == '__main__':
cv2.createTrackbar('outlier %', 'fit line', 30, 100, update)
while True:
update()
ch = cv2.waitKey(0)
ch = cv2.waitKey(0) & 0xFF
if ch == ord('f'):
cur_func_name = dist_func_names.next()
if ch == 27: