I am using Debian Linux (Raspbian Wheezy) and Python 2.7 with PIL. I want to capture an image from a webcam and store it in a file. What are the ways in which this can be done? Also,I want to covert the image for modification using Scipy. What is the procedure.for this. My code is intended to run on the raspberry pi.