using webcam to get players face
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
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.
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement