[Tutor] FW: Re: USB Capture Image WebCAM

Hugo González Monteverde hugonz-lists at h-lab.net
Fri Sep 23 18:32:06 CEST 2005


Hi Alberto,

Sorry if I point out something obvious... from the page:

#
# The high-level module needs PIL to produce actual images from the 
pixel-data. PIL can be downloaded from PythonWare.

Do you have PIL installed? The fact that the image cannot be created 
just bit me...

Hugo

Alberto Troiano wrote:
> Hey Danny
> 
> 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 
> Malakian\Desktop\VideoCapture-0.9\Tools\webcam-uploader\webcam-uploader.py", 
> 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.
> 
> 
> I want to be able to see the reproduction of the WebCAM inside a GUI of
> Python
> 
> I didn't find docs for this on the WEB. If somebody have some pointers I
> would appreciate a lot
> 
> Thanks in advanced
> 
> Alberto
> 
> 
> 
>>>From: Danny Yoo <dyoo at hkn.eecs.berkeley.edu>
>>>To: Alberto Troiano <albertito_g at hotmail.com>
>>>CC: tutor at python.org
>>>Subject: Re: [Tutor] USB Capture Image WebCAM
>>>Date: Thu, 22 Sep 2005 11:38:16 -0700 (PDT)
>>>
>>>
>>>
>>>On Thu, 22 Sep 2005, Alberto Troiano wrote:
>>>
>>>
>>>>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.
>>>>
>>>>Anyway, getting to the point I don't know how to get the video from 
>>
>>the
>>
>>>>camara to watch it inside a GUI made in Python.
>>>
>>>You might be in luck; there's a project that provides USB Webcam access
>>>for Windows:
>>>
>>>    http://videocapture.sourceforge.net/
>>>
>>>Good luck!
>>>
>>>_______________________________________________
>>>Tutor maillist  -  Tutor at python.org
>>>http://mail.python.org/mailman/listinfo/tutor
>>
>>
>>_______________________________________________
>>Tutor maillist  -  Tutor at python.org
>>http://mail.python.org/mailman/listinfo/tutor
> 
> 
> 
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
> 


More information about the Tutor mailing list