visualization
Browse files
main.py
CHANGED
@@ -20,8 +20,7 @@ def poses(photo):
|
|
20 |
# The MMPoseInferencer API employs a lazy inference approach,
|
21 |
# creating a prediction generator when given input
|
22 |
result = next(result_generator)
|
23 |
-
|
24 |
-
return output
|
25 |
|
26 |
# # specify detection model by alias
|
27 |
# # the available aliases include 'human', 'hand', 'face', 'animal',
|
|
|
20 |
# The MMPoseInferencer API employs a lazy inference approach,
|
21 |
# creating a prediction generator when given input
|
22 |
result = next(result_generator)
|
23 |
+
return result["visualization"]
|
|
|
24 |
|
25 |
# # specify detection model by alias
|
26 |
# # the available aliases include 'human', 'hand', 'face', 'animal',
|