Spaces:
Runtime error
Runtime error
Update pose_analysis.py
Browse files- pose_analysis.py +1 -1
pose_analysis.py
CHANGED
@@ -4,7 +4,7 @@ import mediapipe as mp
|
|
4 |
|
5 |
mp_pose = mp.solutions.pose
|
6 |
mp_drawing = mp.solutions.drawing_utils
|
7 |
-
pose = mp_pose.Pose(static_image_mode=False, min_detection_confidence=0.
|
8 |
|
9 |
def calculate_posture_score(frame):
|
10 |
image_height, image_width, _ = frame.shape
|
|
|
4 |
|
5 |
mp_pose = mp.solutions.pose
|
6 |
mp_drawing = mp.solutions.drawing_utils
|
7 |
+
pose = mp_pose.Pose(static_image_mode=False, min_detection_confidence=0.7, min_tracking_confidence=0.7)
|
8 |
|
9 |
def calculate_posture_score(frame):
|
10 |
image_height, image_width, _ = frame.shape
|