コード例 #1
0
        private void InitSensor()
        {
            sensorDevice = new KinectSdkDevice();
            sensorDevice.CompositeFrameAvailable += new CompositeFrameAvailableEventHandler(device_CompositeFrameAvailable);

            sensorDevice.Initialize(currentConfiguration);
            sensorDevice.SetTiltAngle(0);
        }
コード例 #2
0
        private void InitSensor()
        {
            sensorDevice = new KinectSdkDevice();
            var config = new DeviceConfiguration();

            config.DepthBufferFormat = DepthBufferFormats.Format320X240X16;
            config.VideoBufferFormat = ImageBufferFormats.Format640X480X32;
            sensorDevice.Initialize(config);
            sensorDevice.SetTiltAngle(0);
            sensorDevice.CompositeFrameAvailable += new CompositeFrameAvailableEventHandler(device_CompositeFrameAvailable);
        }
コード例 #3
0
        private void InitSensor()
        {
            sensorDevice = new KinectSdkDevice();
            sensorDevice.CompositeFrameAvailable += new CompositeFrameAvailableEventHandler(device_CompositeFrameAvailable);

            sensorDevice.Initialize(currentConfiguration);
            sensorDevice.SetTiltAngle(0);
        }
コード例 #4
0
 private void InitSensor()
 {
     sensorDevice = new KinectSdkDevice();
     var config = new DeviceConfiguration();
     config.DepthBufferFormat = DepthBufferFormats.Format320X240X16;
     config.VideoBufferFormat = ImageBufferFormats.Format640X480X32;
     sensorDevice.Initialize(config);
     sensorDevice.SetTiltAngle(0);
     sensorDevice.CompositeFrameAvailable += new CompositeFrameAvailableEventHandler(device_CompositeFrameAvailable);
 }