Guapo
Guapo

Reputation: 3482

Get webcam image?

How do I verify if there is a webcam available and if so get a screenshot of what it can capture ?

I was initially looking for an easy to use library but I guess none exist and most of the information I found was like from 2006 and around.

For instance:

Webcam webcam = new Webcam();
webcam.GetDefaultDevice().SaveCapturedImageTo("path");

Ofc this is just me dreaming of a simple code but I wonder if there is a library simple like that or that you dont actually need to write pages of code to simple interact with a default installed webcam and get a screenshot out of it.

Upvotes: 4

Views: 13414

Answers (1)

Related Questions