Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -48,9 +48,9 @@ def get_frames(video_in):
|
|
48 |
def get_mmpose_filter(i):
|
49 |
image = Image.open(i)
|
50 |
|
51 |
-
image = np.array(image)
|
52 |
|
53 |
-
image = mmpose(image, fn_index=
|
54 |
image = Image.open(image)
|
55 |
#image = Image.fromarray(image)
|
56 |
image.save("mmpose_frame_" + str(i) + ".jpeg")
|
|
|
48 |
def get_mmpose_filter(i):
|
49 |
image = Image.open(i)
|
50 |
|
51 |
+
#image = np.array(image)
|
52 |
|
53 |
+
image = mmpose(image, fn_index=0)[1]
|
54 |
image = Image.open(image)
|
55 |
#image = Image.fromarray(image)
|
56 |
image.save("mmpose_frame_" + str(i) + ".jpeg")
|