xmrt commited on
Commit
4d440ec
·
1 Parent(s): e1fd7ec

3d visualization

Browse files
Files changed (1) hide show
  1. main.py +4 -4
main.py CHANGED
@@ -31,9 +31,9 @@ def poses(photo):
31
  vis_out_dir =".",
32
  return_vis=True,
33
  thickness=2)
34
-
35
- for result in result_generator:
36
- print("[INFO] Result: ", result)
37
  # # Prepare to save video
38
  # output_file = os.path.join("output.mp4")
39
 
@@ -59,7 +59,7 @@ def poses(photo):
59
  # cv2.destroyAllWindows() # Closing window
60
  output_file = glob.glob("*.mp4")
61
 
62
- return output_file
63
 
64
 
65
 
 
31
  vis_out_dir =".",
32
  return_vis=True,
33
  thickness=2)
34
+ result = next(result_generator)
35
+ #for result in result_generator:
36
+ # print("[INFO] Result: ", result)
37
  # # Prepare to save video
38
  # output_file = os.path.join("output.mp4")
39
 
 
59
  # cv2.destroyAllWindows() # Closing window
60
  output_file = glob.glob("*.mp4")
61
 
62
+ return output_file[0]
63
 
64
 
65