Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ def pose_estimation(test_image):
|
|
| 29 |
body_estimation = Body('model/body_pose_model.pth')
|
| 30 |
hand_estimation = Hand('model/hand_pose_model.pth')
|
| 31 |
|
| 32 |
-
oriImg = cv2.imread(bgr_image_path) # B,G,R order
|
| 33 |
|
| 34 |
# Perform pose estimation
|
| 35 |
candidate, subset = body_estimation(oriImg)
|
|
|
|
| 29 |
body_estimation = Body('model/body_pose_model.pth')
|
| 30 |
hand_estimation = Hand('model/hand_pose_model.pth')
|
| 31 |
|
| 32 |
+
# oriImg = cv2.imread(bgr_image_path) # B,G,R order
|
| 33 |
|
| 34 |
# Perform pose estimation
|
| 35 |
candidate, subset = body_estimation(oriImg)
|