Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Russell

Web cam integration

This topic is 6071 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Does anyone know how I might go about integrating a web cam into my program? I would guess that the first step would be to simply obtain an image from whichever port in the computer that the web cam is hooked up to. So does anyone have any ideas on how to go about doing this? PS - I''m talking about programming, so keep the "You run the program that cam with your quick cam and click ''Take picture''" comments to yourself

Share this post


Link to post
Share on other sites
Advertisement
Do you know mattkos?

You can use DirectShow to do that (I think, it depends on whether or not the Cam comes with a DirectShow driver)

Magmai Kai Holmlor
- Not For Rent

Share this post


Link to post
Share on other sites
Most of the camera vendors (Logitech etc) also have SDKs available with sample code to play around with.

If you can''t find anything online, send one of the vendors an e-mail - they like new apps which take advantage of their hardware - it''s good for them!

--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com

Share this post


Link to post
Share on other sites
I don''t know if it''s what your looking for but Game Programming Gems 2 has an article on using web-cams in games. I assume that that means grabbing images from them and texturing a quad with them.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!