Jump to content
  • Advertisement
Sign in to follow this  
blueshogun96

Motion Tracking via webcam and C++

This topic is 2810 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

Hey, I'm working on a game which involves motion tracking and for the PC port, I'd like to let the user use his/her webcam to guide objects, etc. So far, I haven't been able to find any algorithms to do this. I see videos and such all the time, but never any source code. I guess most people don't like their work stolen or anything like that.

Not sure if it matters, but my PC port is using OpenGL. Is there a webcam API that allows me to copy the pixels received from the webcam to a texture rectangle? Or should I use DirectShow? Thanks.

Share this post


Link to post
Share on other sites
Advertisement
Never heard of this OpenCV before. This is interesting. I think it should work just fine for my game's PC port. Hopefully there isn't too much restriction on using it commercially. Thanks.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!