Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,8 @@ def pose_estimation(test_image):
|
|
| 31 |
|
| 32 |
# Perform pose estimation
|
| 33 |
candidate, subset = body_estimation(oriImg)
|
| 34 |
-
canvas = copy.deepcopy(oriImg)
|
|
|
|
| 35 |
canvas = util.draw_bodypose(canvas, candidate, subset)
|
| 36 |
hands_list = util.handDetect(candidate, subset, oriImg)
|
| 37 |
|
|
|
|
| 31 |
|
| 32 |
# Perform pose estimation
|
| 33 |
candidate, subset = body_estimation(oriImg)
|
| 34 |
+
# canvas = copy.deepcopy(oriImg)
|
| 35 |
+
canvas = np.zeros_like(oriImg)
|
| 36 |
canvas = util.draw_bodypose(canvas, candidate, subset)
|
| 37 |
hands_list = util.handDetect(candidate, subset, oriImg)
|
| 38 |
|