Initializes a new instance of the KinectDepthCamera class.
Namespace:
AForge.Video.KinectAssembly: AForge.Video.Kinect (in AForge.Video.Kinect.dll) Version: 2.2.4.0 (2.2.4.0)
Syntax
C# |
---|
public KinectDepthCamera( int deviceID, CameraResolution resolution, bool provideOriginalDepthImage ) |
Parameters
- deviceID
- Type: System..::.Int32
Kinect's device ID (index) to connect to.
- resolution
- Type: AForge.Video.Kinect..::.CameraResolution
Resolution of depth sensor to set.
- provideOriginalDepthImage
- Type: System..::.Boolean
Provide original depth image or colored depth map (see ProvideOriginalDepthImage()()() property).