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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

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

c# - Search and Add Comment with OpenXML for Word -