Reading a USB Webcam

Ira,

Thank you very much. I would love to take a look at your code. You can either post it here or email me at mailto://Michael@Hipp.com .

Michael

Ira Kaplan wrote:

···

Michael,

I have written a simple application (for my own use) using wxPython and VideoCapture, a Win32 Python Extension for Accessing Video Devices (e.g. a USB WebCam, a TV-Card, ..., (http://videocapture.sourceforge.net/).

You can also use the Python Twain module (http://twainmodule.sourceforge.net/).

The brand of the webcam should not matter.

I can also post my code if you want. It also uses Pymedia and PIL (Python Imaging Library) as the application was written to photograph the whiteboard in a lecture hall and audio record the lecture. It was one of my first wxPython programs, so I cannot promise it is a good example of code -- but it is simple (5 1/2 pages with a lot of white space).

Ira

Michael Hipp wrote:

Does wxPython have any facility to read the data (picture) from a USB-connected webcam? This particular one is a Logitech on a Win32 box. Any hints appreciated.