Click or drag to resize

VideoCaptureDevice Class

Can capture image from webcamera
Inheritance Hierarchy
SystemObject
  Ozeki.MediaVideoCaptureDevice

Namespace: Ozeki.Media
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.54.0
Syntax
public class VideoCaptureDevice : IVideoCaptureDevice

The VideoCaptureDevice type exposes the following members.

Constructors
 NameDescription
Public methodVideoCaptureDevice(InternalVideoDeviceInfo) Initializes a new instance of the VideoCaptureDevice class.
Public methodVideoCaptureDevice(InternalVideoDeviceInfo, OzResolution, Int32)Initializes a new instance of the VideoCaptureDevice class
Top
Properties
 NameDescription
Public propertyCameraFrameRate Gets the average frame rate of the device. (Kamerának beállított FPS)
Public propertyCapturing Gets a boolean value indicating whether the capturing is started.
Public propertyCurrentFrameRate Gets the current frame rate of the capture. (Aktuális FPS)
Public propertyDesiredFrameRate Gets or sets the desired frame rate. If this value is set to 0 then maximum frame rate will be used. (Kívülről állítjuk be, hogy ha lehet, ennyi FPS-el menjen.)
Public propertyDeviceInfo Gets the capabilities of the selected capturing device.
Public propertyFrameSize Gets or sets the size of the captured frames.
Public propertyInitialized Gets a boolean value indicating whether the device has been initialized.
Top
Methods
 NameDescription
Public methodChangeDevice Changes the capturing device. If the camera is already capturing then restarts it.
Public methodDisplayPropertiesWindow 
Public methodDisposeReleases all resources used by the VideoCaptureDevice
Protected methodFinalize Finalizer. Only called when user forgets to call
(Overrides ObjectFinalize)
Public methodStatic memberGetDevices Retrieves the available capturing devices.
Public methodStart Starts the capturing.
Public methodStop Stops the capturing.
Top
Events
 NameDescription
Public eventImageCaptured Occurs when an image captured from the capturing device.
Public eventStopped Occurs when the capturing has stopped.
Public eventUnpluged Occurs when the device is unplugged;
Top
See Also