numpy - When I run this Python 2.7 code I get the output "k" immediately . Shouldn't "k" be printed after 5 seconds? -


import numpy import cv2  vid=cv2.videocapture("katy.avi") cv2.waitkey(5000) if vid.isopened():     print "k" 

i running code on windows 8.1, python 2.7 , numpy 1.9.1.

i think remember pressing key trigger end of waitkey(), skipping 5s


Comments

Popular posts from this blog

gcc - MinGW's ld cannot perform PE operations on non PE output file -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -