Update app.py
Browse files
app.py
CHANGED
@@ -138,11 +138,11 @@ 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 |
-
|
144 |
-
|
145 |
-
|
146 |
|
147 |
|
148 |
|
|
|
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 |
|
148 |
|