Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Capturing frames from webcam using DirectShow.NET

I am new at DirectShow, so some parts of this library i don't understand well. I already see the example DxSnap, but i need to capture frames without previewing it, for futher processing. How can i do it?

like image 799
Denis Ionov Avatar asked Oct 13 '11 07:10

Denis Ionov


1 Answers

If your main concern is "access webcam" and not "access webcam with DirectShow", then I would have a look at the AForge.NET-Framework. I tried it with DirectShow once just to find out that I could do the same thing with multiple video sources in less time with less code.

Here is some sample code: Access to USB cameras and video files using DirectShow

like image 197
Oli Avatar answered Sep 21 '22 06:09

Oli