using webcam to get players face

Started by
4 comments, last by phear- 14 years, 10 months ago
i was wondering how do you go about getting the a screenshot from the webcam for the players face , so other online players can see what they actually look like etc :D
:)
Advertisement
I dunno, but I'd guess a google of "YOUR_PROGRAMMING_LANGUAGE_HERE webcam" or "YOUR_PROGRAMMING_LANGUAGE_HERE connect to webcam" will give you some good insight.
[size=2][ I was ninja'd 71 times before I stopped counting a long time ago ] [ f.k.a. MikeTacular ] [ My Blog ] [ SWFer: Gaplessly looped MP3s in your Flash games ]
I believe you want to look into capturing an image from a Twain compliant device. At least that'd probably be the easiest way of going about it.
Why not just let them upload a pic if they want...
Why not just enter their name into Facebook?
If you can find it at a bookstore, I believe Game Programming Gems Vol 6 has a chapter about webcams. I believe they discuss algorithms to detect movement and such but you'll be able to find out how they get the webcam stream from their source.
__________________________________________
Eugene Alfonso
GTP | Twitter | SFML | OS-Dev

This topic is closed to new replies.

Advertisement