public Create ( Microsoft.Kinect.DepthImageFrame imageFrage ) : |
||
imageFrage | Microsoft.Kinect.DepthImageFrame | |
return |
public HandCollection Create(DepthImageFrame imageFrage)
{
return this.Create(this.sdkFilter.Filter(imageFrage));
}
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"); }