Pratyush101 commited on
Commit
8a32864
·
verified ·
1 Parent(s): 1e85e0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -138,10 +138,10 @@ def video_frame_callback(frame: av.VideoFrame) -> av.VideoFrame:
138
  # incorrect +=1
139
  # stage='up'
140
 
141
- # # stage 4
142
- # if (80 < angleKneeL < 110):
143
- # if (18 < angleHipL < 40): # Valid "down" position
144
- # correct+=1
145
  # stage='up'
146
 
147
 
 
138
  # incorrect +=1
139
  # stage='up'
140
 
141
+ # stage 4
142
+ if (80 < angleKneeL < 110):
143
+ if (18 < angleHipL < 40): # Valid "down" position
144
+ correct+=1
145
  # stage='up'
146
 
147