title: Python, OpenCV : Capture Images from WebCam
body: <p>I have a Logitech C920 hooked to my PC and am trying to use it to click pictures using OpenCV. </p>
  
  <p>I know that I can capture images using : </p>
  
  <pre><code>cam = cv2.VideoCapture(1)
  s, im = cam.read() # captures image
  cv2.imshow("Test Picture", im) # displays captured image
  cv2.imwrite("test.bmp",im) # writes image test.bmp to disk
  </code></pre>
  
  <p>But it get me the 15MP still photography that my camera is capable of. What I get from above is far inferior to what I can expect if I <code>click</code> pictures.</p>
  
  <p>So, is there a way to take pictures (like it can be done in the official WebCam software) ?</p>