Method | Description | |
---|---|---|
Camera ( ) : System |
Create a capture using the default camera
|
|
Camera ( String fileName ) : System |
Create a capture from file or a video stream
|
|
Camera ( int camIndex ) : System |
Create a capture using the specific camera
|
|
DuplexQueryFrame ( ) : void |
Query a frame duplexly over WCF
|
|
DuplexQuerySmallFrame ( ) : void |
Query a small frame duplexly over WCF
|
|
GetCaptureProperty ( CAP_PROP index ) : double |
Obtain the capture property
|
|
QueryFrame ( ) : Byte>.Image |
Capture a Bgr image frame
|
|
QueryFrame ( int destX, int destY, int cx, int cy ) : byte>.Image |
||
QueryGrayFrame ( ) : Byte>.Image |
Capture a Gray image frame
|
|
QuerySmallFrame ( ) : Byte>.Image |
Capture a Bgr image frame that is half width and half height. Mainly used by WCF when sending image to remote locations in a bandwidth conservative scenario Internally, this is a cvQueryFrame operation follow by a cvPyrDown |
|
SetCaptureProperty ( CAP_PROP property, double value ) : void |
Sets the specified property of video capturing
|
Method | Description | |
---|---|---|
DisposeObject ( ) : void |
Release the resource for this capture
|
public Camera ( String fileName ) : System | ||
fileName | String | The name of a file, or an url pointed to a stream. |
return | System |
public Camera ( int camIndex ) : System | ||
camIndex | int | The index of the camera to create capture from, starting from 0 |
return | System |
public GetCaptureProperty ( CAP_PROP index ) : double | ||
index | CAP_PROP | The index for the property |
return | double |
public QueryFrame ( int destX, int destY, int cx, int cy ) : byte>.Image |
||
destX | int | |
destY | int | |
cx | int | |
cy | int | |
return | byte>.Image |
public SetCaptureProperty ( CAP_PROP property, double value ) : void | ||
property | CAP_PROP | Property identifier |
value | double | Value of the property |
return | void |