3d visualization
Browse files
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 |
-
|
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 |
|