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

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -