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:
@@ -45,7 +45,7 @@ if __name__ == '__main__':
|
||||
vis /= 2
|
||||
vis[edge != 0] = (0, 255, 0)
|
||||
cv2.imshow('edge', vis)
|
||||
ch = cv2.waitKey(5)
|
||||
ch = cv2.waitKey(5) & 0xFF
|
||||
if ch == 27:
|
||||
break
|
||||
cv2.destroyAllWindows()
|
||||
|
Reference in New Issue
Block a user