Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

Win32 WebCam Program

Share this post!
 Vote this!

This WebCam Tutorial will guide you through connecting a webcam in Microsoft Windows and grabbing a frame from the camera so we can later
save it to a bitmap file called "Frame.bmp".
First of all this is a c++ win32 Tutorial so create an empty Win32 application.

1. Setting up some defines.

First of all we need to set up some defines that we need to connect to a webcam. If you are using Microsoft’s Visual Studio Pro edition you wont need them as they are included in Microsoft’s version of vfw.h, if you are
using something else like Code::Blocks as I am then you will need them.
I recommend storing them in a header but I will put them in the main .cpp.
They are basically just values.  more...

0 comments:

Post a Comment