title: How to improve resolution of image?
body: <pre><code>import cv2.cv as cv
  import time
  from subprocess import Popen
  capture = cv.CaptureFromCAM(0)
  num = 0
  while True:
  img = cv.QueryFrame(capture)
  cv.SaveImage('pic'+str(num)+'.jpg', img)
  if num == 500:
      del(capture)
      break
  if cv.WaitKey(10) == 27:
      break
  num += 1
  </code></pre>
  
  <p>I am capturing images in python language using opencv. The images captured using webcam are of 480 by 640 resolution.I need to increase its resolution.So how can I do this? The code is as follows.</p>