Form_Fit_Vision / rules.py
Hemanth-Thaluru
added all files
d8f2990
raw
history blame contribute delete
No virus
567 Bytes
# Rules
def get_rules():
angle_bw_knee_hip = {
'NORMAL' : (0, 32),'TRANS' : (35, 65),'PASS' : (70, 95)
}
thresholds = {
'HIP_KNEE_VERT': angle_bw_knee_hip,
'HIP_THRESH' : [10, 50],
'ANKLE_THRESH' : 45,
'KNEE_THRESH' : [50, 70, 95],
'OFFSET_THRESH' : 35.0,
'INACTIVE_THRESH' : 15.0,
'CNT_FRAME_THRESH' : 50
}
return thresholds