q: grabbing frames from a webcam
C#
1
Posts
1
Posters
0
Views
1
Watching
-
is there a simple way of capturing images from a webcam? there are interesting articles about it here BUT they use either
- 3rd party components
- Net wrappers for com components
Basically, the problem is that the non-3rd party solutions i've seen use DirectShow, which is unmanaged, and cannot be accessed directly from C#. NetMaster has written an impressive .NET library wrapping DirectShow, including samples.
However, grabbing a single frame from the camera remains a very complicated business, requiring a lot of (unstable) code.
Does anybody know of a simple way of doing this? there are no facts, only interpretations