Click or drag to resize
Accord.NET (logo)

XimeaCameraOpen Method

Open XIMEA camera.

Namespace:  Accord.Video.Ximea
Assembly:  Accord.Video.Ximea (in Accord.Video.Ximea.dll) Version: 3.8.0
Syntax
public void Open(
	int deviceID
)
Request Example View Source

Parameters

deviceID
Type: SystemInt32
Camera ID to open.
Exceptions
ExceptionCondition
VideoExceptionAn error occurred while communicating with a camera. See error message for additional information.
Remarks

Opens the specified XIMEA camera preparing it for starting video acquisition which is done using StartAcquisition method. The IsDeviceOpen property can be used at any time to find if a camera was opened or not.

See Also