xmrt commited on
Commit
1594264
1 Parent(s): 8db8164

visualization

Browse files
Files changed (1) hide show
  1. main.py +2 -4
main.py CHANGED
@@ -11,7 +11,6 @@ print("[INFO]: Downloaded models!")
11
 
12
 
13
  def poses(photo):
14
- print(photo)
15
  result_generator = inferencer(photo,
16
  vis_out_dir =".",
17
  return_vis=True)
@@ -20,9 +19,8 @@ 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
- print(os.listdir())
24
- print(type(result["visualization"]))
25
- return result["visualization"]
26
 
27
  # # specify detection model by alias
28
  # # the available aliases include 'human', 'hand', 'face', 'animal',
 
11
 
12
 
13
  def poses(photo):
 
14
  result_generator = inferencer(photo,
15
  vis_out_dir =".",
16
  return_vis=True)
 
19
  # The MMPoseInferencer API employs a lazy inference approach,
20
  # creating a prediction generator when given input
21
  result = next(result_generator)
22
+
23
+ return "000000.jpg"
 
24
 
25
  # # specify detection model by alias
26
  # # the available aliases include 'human', 'hand', 'face', 'animal',