title: Difference in output with waitKey(0) and waitKey(1)
body: <p>I've just begun using the OpenCV library for Python and came across something I didn't understand.</p>
  <pre><code>cap = cv2.VideoCapture(0)
  
  while True:
        ret, frame = cap.read() #returns ret and the frame
        cv2.imshow('frame',frame)
  
        if cv2.waitKey(1) &amp; 0xFF == ord('q'):
            break
  </code></pre>
  <p>When I use <code>cv2.waitKey(1)</code>, I get a continuous live video feed from my laptops webcam. However when I use <code>cv2.waitKey(0)</code>, I get still images. Every time I close the window, another one pops up with another picture taken at the time.
  Why does it not show as a continuous feed?</p>