equal
deleted
inserted
replaced
24 using System; |
24 using System; |
25 using System.Collections.Generic; |
25 using System.Collections.Generic; |
26 using System.Linq; |
26 using System.Linq; |
27 using System.Text; |
27 using System.Text; |
28 using Microsoft.Kinect; |
28 using Microsoft.Kinect; |
|
29 using Trakers.Debug; |
29 |
30 |
30 namespace Trakers.MainModule.Gestures |
31 namespace Trakers.Tracking.Gestures |
31 { |
32 { |
32 public class JumpDetector : GestureDetector |
33 public class JumpDetector : GestureDetector |
33 { |
34 { |
34 static int n = 0; |
35 static int n = 0; |
35 |
36 |
36 public JumpDetector() : base() |
37 public JumpDetector(DebugWindow _debug) : base(_debug) |
37 { |
38 { |
38 gesturePeriod = (float)1; |
39 gesturePeriod = (float)1; |
39 indexesPerSecond = 30; |
40 indexesPerSecond = 30; |
40 indexesToCheck = (int)(gesturePeriod * indexesPerSecond); |
41 indexesToCheck = (int)(gesturePeriod * indexesPerSecond); |
41 } |
42 } |