Spaces:
Sleeping
Sleeping
Update utils.py
Browse files
utils.py
CHANGED
|
@@ -230,7 +230,7 @@ def get_landmark_features(kp_results, dict_features, feature, frame_width, frame
|
|
| 230 |
raise ValueError("feature needs to be either 'nose', 'left' or 'right")
|
| 231 |
|
| 232 |
def get_mediapipe_pose(
|
| 233 |
-
|
| 234 |
This function creates a MediaPipe Pose object for human pose estimation.
|
| 235 |
|
| 236 |
Args:
|
|
@@ -242,7 +242,7 @@ def get_mediapipe_pose(
|
|
| 242 |
|
| 243 |
Returns:
|
| 244 |
A MediaPipe Pose object.
|
| 245 |
-
|
| 246 |
static_image_mode = False,
|
| 247 |
model_complexity = 1,
|
| 248 |
smooth_landmarks = True,
|
|
|
|
| 230 |
raise ValueError("feature needs to be either 'nose', 'left' or 'right")
|
| 231 |
|
| 232 |
def get_mediapipe_pose(
|
| 233 |
+
"""
|
| 234 |
This function creates a MediaPipe Pose object for human pose estimation.
|
| 235 |
|
| 236 |
Args:
|
|
|
|
| 242 |
|
| 243 |
Returns:
|
| 244 |
A MediaPipe Pose object.
|
| 245 |
+
"""
|
| 246 |
static_image_mode = False,
|
| 247 |
model_complexity = 1,
|
| 248 |
smooth_landmarks = True,
|