public TestDepthFrame Load(string path)
        {
            var testFrame = new TestFrameRepository().Load(path);

            return(new TestDepthFrame(testFrame.Id, new DepthDataFrame(testFrame.Frame.Size, testFrame.Frame.Data), testFrame.Hands.Select(h => new HandDataViewModel(h.Id, h.PalmPoint, h.FingerPoints.Select(f => new FingerPointViewModel(f.Point))))));
        }
Ejemplo n.º 2
0
 public void Setup()
 {
     this.repository = new TestFrameRepository();
 }