title: Enlarge size of video 20x50 pixels with opencv
body: <p>I have a video containing frames that are 20x50 pixels. When I run the following code, I can barely see anything:</p>
  <p><a href="https://i.stack.imgur.com/PvHni.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PvHni.png" alt="enter image description here" /></a></p>
  <pre><code>cap = cv2.VideoCapture(&quot;video20x50.avi&quot;)
  while(cap.isOpened()):
          ret, frame = cap.read()
          if ret == True: 
              cv2.imshow(&quot;Video&quot;, frame)
              if cv2.waitKey(27) &amp; 0xFF == ord('q'):
                  break
          else:
              break
  
  cap.release()
  cv2.destroyAllWindows()
  </code></pre>
  <p>Maximizing the window doesn't enlarge the image. I want to know how I can enlarge it. On windows if I double click the video file, it opens full screen and I can see the video (it is heavily pixelated/blurry, but at least I can actually see the video and that is what I want with opencv). Is there a way to make it fullscreen with opencv as well?</p>