public ShapeHandDataFactory(HandDataSourceSettings settings) { this.settings = settings; this.fingerPointDetector = new FingerPointDetector(settings); this.fingerBaseDetector = new FingerBaseDetector(settings); this.palmFinder = new PalmFinder(settings); this.currentValue = new HandCollection(); }
public HandCollection Create(ShapeCollection shapes) { if (shapes.Count == 0) { this.currentValue = Clear(); } else { this.currentValue = CreateHandCollection(shapes); } return this.currentValue; }
public HandCollection Create(ShapeCollection shapes) { if (shapes.Count == 0) { this.currentValue = Clear(); } else { this.currentValue = CreateHandCollection(shapes); } return(this.currentValue); }
private void dataSource_NewDataAvailable(HandCollection hands) { this.Dispatcher.Invoke(new Action(() => InvalidateVisual())); }
private void HandDataSource_NewDataAvailable(HandCollection data) { // todo udp }