xmrt commited on
Commit
a584ef4
1 Parent(s): 41ab946

visualization

Browse files
Files changed (1) hide show
  1. main.py +1 -2
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
- output = np.array(result["visualization"])
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',