title: Video streaming using Python+openCV through Client and Server
body: <p>I made a small Server Client Video streaming program in Python. I used "VideoCapture" module for getting the image frames in Windows. But actually i wanted to do the project in Raspberry Pi. Then i asked Google, and of course, some of the friends from Stackoverfow told that openCV in python is an option. I installed openCV on Windows. After that i made a simple program from the samples given by the openCV installation files. I found a sample called "camshift" and from that i made a simple webcam viewer. But got an error "No module named video"for my program and at the same time "camshift" program is working without any error. Both programs are using the module "video". Please help to solve this problem and also help me to send these captured images to the client. Thank you in advance.</p>
  
  <blockquote>
    <p><strong>My Webcam viewer program</strong></p>
  </blockquote>
  
  <pre><code>import cv2
  import video
  import sys
  cam=video.create_capture(0)
  while 1:
      flag, frame = cam.read()
      cv2.imshow('camera', frame)
      ch = 0xFF &amp; cv2.waitKey(1)
      if ch==10:
          break
  cv2.destroyAllWindows()
  </code></pre>