CCT.NUI.HandTracking.HandDataFactory.Create C# (CSharp) Method

Create() public method

public Create ( Microsoft.Kinect.DepthImageFrame imageFrage ) : HandCollection
imageFrage Microsoft.Kinect.DepthImageFrame
return HandCollection
        public HandCollection Create(DepthImageFrame imageFrage)
        {
            return this.Create(this.sdkFilter.Filter(imageFrage));
        }

Same methods

HandDataFactory::Create ( IList allPointsInDepthRange ) : HandCollection
HandDataFactory::Create ( IntPtr depthData ) : HandCollection

Usage Example

Example #1
0
 private void buttonHandDataFactory_Click(object sender, EventArgs e)
 {
     var factory = new HandDataFactory(new IntSize(640, 480));
     var handData = factory.Create((this.dataSourceFactory as OpenNIDataSourceFactory).GetDepthGenerator().DataPtr);
     MessageBox.Show(string.Format("{0} hands detected", handData.Count), "Detection Message");
 }
All Usage Examples Of CCT.NUI.HandTracking.HandDataFactory::Create