becheras86 wrote: > Hi everyone, > > I need to create a GUI using MFC to display live video captured from a webcam. > > Does anyone knows where to get the source codes or are there guides as to go > about doing it? > > Thanks :)
There are a couple of different methods to get data from a webcam. Most webcams have two capture modes: Still picture and live video stream. Still picture is usually obtained via TWAIN (very evil API to work with) or WIA (Windows Image Acquisition): http://en.wikipedia.org/wiki/Windows_Image_Acquisition http://msdn.microsoft.com/en-us/library/ms630827%28VS.85%29.aspx For video capture, a quick search for CodeProject articles turned up: http://www.codeproject.com/KB/directx/LiveVideo.aspx As expected, the capture mechanism is DirectX. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
