Kunal7 commited on
Commit
4ca8b14
·
1 Parent(s): 92e955f

Update thresholds.py

Browse files
Files changed (1) hide show
  1. thresholds.py +5 -5
thresholds.py CHANGED
@@ -4,7 +4,7 @@
4
  def get_thresholds_beginner():
5
 
6
  _ANGLE_HIP_KNEE_VERT = {
7
- 'NORMAL' : (0, 32),
8
  'TRANS' : (35, 65),
9
  'PASS' : (70, 95)
10
  }
@@ -13,11 +13,11 @@ def get_thresholds_beginner():
13
  thresholds = {
14
  'HIP_KNEE_VERT': _ANGLE_HIP_KNEE_VERT,
15
 
16
- 'HIP_THRESH' : [10, 50],
17
  'ANKLE_THRESH' : 45,
18
  'KNEE_THRESH' : [50, 70, 95],
19
 
20
- 'OFFSET_THRESH' : 35.0,
21
  'INACTIVE_THRESH' : 15.0,
22
 
23
  'CNT_FRAME_THRESH' : 50
@@ -32,7 +32,7 @@ def get_thresholds_beginner():
32
  def get_thresholds_pro():
33
 
34
  _ANGLE_HIP_KNEE_VERT = {
35
- 'NORMAL' : (0, 32),
36
  'TRANS' : (35, 65),
37
  'PASS' : (80, 95)
38
  }
@@ -45,7 +45,7 @@ def get_thresholds_pro():
45
  'ANKLE_THRESH' : 30,
46
  'KNEE_THRESH' : [50, 80, 95],
47
 
48
- 'OFFSET_THRESH' : 35.0,
49
  'INACTIVE_THRESH' : 15.0,
50
 
51
  'CNT_FRAME_THRESH' : 50
 
4
  def get_thresholds_beginner():
5
 
6
  _ANGLE_HIP_KNEE_VERT = {
7
+ 'NORMAL' : (0, 30),
8
  'TRANS' : (35, 65),
9
  'PASS' : (70, 95)
10
  }
 
13
  thresholds = {
14
  'HIP_KNEE_VERT': _ANGLE_HIP_KNEE_VERT,
15
 
16
+ 'HIP_THRESH' : [10, 60],
17
  'ANKLE_THRESH' : 45,
18
  'KNEE_THRESH' : [50, 70, 95],
19
 
20
+ 'OFFSET_THRESH' : 50.0,
21
  'INACTIVE_THRESH' : 15.0,
22
 
23
  'CNT_FRAME_THRESH' : 50
 
32
  def get_thresholds_pro():
33
 
34
  _ANGLE_HIP_KNEE_VERT = {
35
+ 'NORMAL' : (0, 30),
36
  'TRANS' : (35, 65),
37
  'PASS' : (80, 95)
38
  }
 
45
  'ANKLE_THRESH' : 30,
46
  'KNEE_THRESH' : [50, 80, 95],
47
 
48
+ 'OFFSET_THRESH' : 50.0,
49
  'INACTIVE_THRESH' : 15.0,
50
 
51
  'CNT_FRAME_THRESH' : 50