take picture from webcam c#

后端 未结 1 373
我寻月下人不归
我寻月下人不归 2020-12-21 08:05

I\'m streaming video to my Window Form with DirectShowLib. I also want to save image when i press button \"Save\" for example. How to get picture from webcam with DirectShow

相关标签:
1条回答
  • 2020-12-21 08:31

    DirectShow.NET Samples are there: http://sourceforge.net/projects/directshownet/files/DirectShowSamples/2010-February/ The following sample demoes the requested function:

    Samples\VMR9\vMR9Snapper ------------------------ This sample shows how to capture bitmaps from VMR9.

    Having it working with other renderer might require small code modifications.

    The question also discussed a multitude of times at MSDN Forums, and on CodeProject, e.g. how to save bmp file from IVMRWindowlessControl9->GetCurrentImage().

    0 讨论(0)
提交回复
热议问题