Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,7 +46,7 @@ def predict(img):
|
|
| 46 |
show=False)
|
| 47 |
|
| 48 |
#original_image = Image.open(img)
|
| 49 |
-
width, height = img.
|
| 50 |
#vis_result = cv2.resize(vis_result, dsize=None, fx=0.5, fy=0.5)
|
| 51 |
print(f"POSE_RESULTS: {pose_results}")
|
| 52 |
|
|
|
|
| 46 |
show=False)
|
| 47 |
|
| 48 |
#original_image = Image.open(img)
|
| 49 |
+
width, height, channels = img.shape
|
| 50 |
#vis_result = cv2.resize(vis_result, dsize=None, fx=0.5, fy=0.5)
|
| 51 |
print(f"POSE_RESULTS: {pose_results}")
|
| 52 |
|