[Tutor] FW: Re: USB Capture Image WebCAM
dyoo at hkn.eecs.berkeley.edu
Fri Sep 23 00:29:07 CEST 2005
> I have downloaded videoCapture but I can't make it run. This is the error I
> get when I try run the example
> Traceback (most recent call last):
> File "C:\Documents and Settings\Daron
> line 130, in ?
> cam = VideoCapture.Device(devnum=devnum)
> File "C:\Python23\lib\VideoCapture.py", line 49, in __init__
> self.dev = vidcap.new_Dev(devnum, showVideoWindow)
> Error: Capture Graph could not be created.
You may want to talk with the developer of the VideoCapture module
software. I don't know what's going on here. Testing this is also
complicated because I don't have a webcam or Windows.
Wait, let's back up a moment. You mentioned earlier that:
> > > > For those who doesn't know what is it its a program that captures
> > > > images from your USB WebCAM and saves them to send via FTP.
Does this mean then that you already have a program that saves webcam
images to disk?
If so, then if we know what graphical format they are, then perhaps we
might be able to use PIL to convert them into a format that your favorite
GUI toolkit can display. PIL can talk with different graphical formats:
Tkinter integrates with this:
And wxpython + PIL also appears to work:
More information about the Tutor