예제 #1
0
 private void AddTrainingExampleWithVideo(Sequence recentTrainedExample, byte[][] video)
 {
     this.examples.Add(recentTrainedExample);
     ShowOptions();
 }
예제 #2
0
 private void AddTrainingExample(Sequence recentTrainedExample)
 {
     this.examples.Add(recentTrainedExample);
     ShowOptions();
 }
예제 #3
0
 private int EvaluteSkeleton(Sequence seq)
 {
     return SkelHMM.Evaluate(seq, s => s.SkeletonFeatures);
 }
예제 #4
0
 private int EvaluateHand(Sequence seq)
 {
     return HandHMM.Evaluate(seq, s => s.HandFeatures);
 }
예제 #5
0
 private void OnFinishedRecordingVideo(Sequence sequence)
 {
     onVideoRecordingFinishedEventHandler(sequence, videoSequence.ToArray());
     videoSequence.Clear();
 }
예제 #6
0
파일: HMM.cs 프로젝트: smanoharan/314Kinect
 /// <summary>
 /// Calculate the probability that the given HMM generated the seen observations.
 /// </summary>
 /// <param name="sequence">A sequence of observations</param>
 /// <param name="selectFeatures">A function which extracts the features of each frame</param>
 /// <returns>The Probability that the hmm generated the observations</returns>
 public int Evaluate(Sequence sequence, Func<Sequence, double[][]> selectFeatures)
 {
     return Evaluate(selectFeatures(sequence));
 }