Skip to main content

How can I take a photo using a web camera?

Some web cameras have a special button to capture frames rather than a button being pressed. This function is called still frame capture.

In Video Capture SDK .Net, you can use the following code to catch still frames.

Set the Video_Still_Frames_Grabber_Enabled property to true before you call the Start method in your code.

Use the OnStillVideoFrameBitmap/OnStillVideoFrameBuffer events to get all frames.

Use the Frame_Save method to save the frame to a file.

Use the Frame_GetCurrent method to get the frame as a Bitmap.


Visit our GitHub page to get more code samples.