Capturing image and rendering from a web-cam

Hi,

How does one go about capturing an image from a
web-cam
and render it to display,using the sdl library.
I could’nt find much information on real-time capture.
I have windows 2000 on my machine and a
brooktree(bttr) chipset.Hope somebody can help.

jayan__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

How does one go about capturing an image from a
web-cam
and render it to display,using the sdl library.
I could’nt find much information on real-time capture.
I have windows 2000 on my machine and a
brooktree(bttr) chipset.Hope somebody can help.

More generally, is there any way to support TWAIN drivers in SDL? How can this be
ported to Linux?

How does one go about capturing an image from a
web-cam
and render it to display,using the sdl library.
I could’nt find much information on real-time capture.
I have windows 2000 on my machine and a
brooktree(bttr) chipset.Hope somebody can help.

Best I could find on short notice:
http://groups.google.com/groups?q=webcam+api+win32&start=10&hl=en&lr=&selm=%23mOdwzVbBHA.1472%40tkmsftngp07&rnum=13

More generally, is there any way to support TWAIN drivers in SDL? How can this be
ported to Linux?

The SANE project is a scanner interface for Linux:
http://www.mostang.com/sane/

(Neither are these are SDL-based solutions. You’ll need to read data from
the devices in platform-specific ways, and feed it into an SDL surface.)

–ryan.

| >How does one go about capturing an image from a
| >web-cam
| >and render it to display,using the sdl library.
| >I could’nt find much information on real-time capture.
| >I have windows 2000 on my machine and a
| >brooktree(bttr) chipset.Hope somebody can help.
|
| More generally, is there any way to support TWAIN drivers in SDL? How can this be
| ported to Linux?
|

Don’t know about TWAIN, but scanners and some webcams are supported in
Linux with the “SANE” (Scanner Access Now Easy) library, and my
Creative webcam uses the Video4Linux api.

Don’t you use video for windows to grab pictures from a camera under
Windows?On Thu, May 16, 2002 at 11:43:14AM +0200, CRV?ADER/KY wrote:


I did not see Elvis

6AD6 865A BF6E 76BB 1FC2 | www.piku.org.uk/public-key.asc
E4C4 DEEA 7D08 D511 E149 | www.piku.org.uk wnzrf at cvxh.bet.hx (rot13’d)

Hello jayan,

Thursday, May 16, 2002, 12:58:51 PM, you wrote:

Under Windows, you can use the VFW API (Video for Windows) to access
the webcam. It’s pretty easy. You can look in MSDN or in the Win32 api
help file (if you have them :slight_smile:
I have some sources somewhere on my CDs. If you’re interested I can
send them to you.

jm> Hi,

jm> How does one go about capturing an image from a
jm> web-cam
jm> and render it to display,using the sdl library.
jm> I could’nt find much information on real-time capture.
jm> I have windows 2000 on my machine and a
jm> brooktree(bttr) chipset.Hope somebody can help.

jm> jayan–
Best regards,
Alex
mailto:@Alex_Badiu
http://badiu.utopia.ro