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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -