Search code examples
c#webcamvideo-capture

Just Capture image from Microsoft Lifecam


I've already searched a lot and Asked a question about capturing image from LifeCam which always ends up to OpenCV or DirectShow. But what does Microsoft itself do in Lync?

I currently have Lync installed in my Windows 8 and lync is working well with my LifeCam, also Windows 8's Camera is detecting LifeCam and easily captures images.

All I need is to know which dll I should import and which function I should Call. It does not matter if I use an external dll or if the solution is not totally .net . I just want to make it done. I need images being captured with a button click. That's it.

Is there any easy way to just capture an image with a button click? I do not need any more functionality.


Solution

  • I have tried ESCAPI a while back. It worked but wasn't easy. Unfortunately I have not useful samples. But this should work