file display
Browse files
main.py
CHANGED
@@ -42,15 +42,15 @@ def poses(photo, check):
|
|
42 |
thickness=2,
|
43 |
rebase_keypoint_height=True)
|
44 |
|
45 |
-
result = next(result_generator)
|
46 |
print(type(result))
|
47 |
|
48 |
-
print(["[INFO] Result from iterator: ", result])
|
49 |
|
50 |
-
for r in result_generator:
|
51 |
-
|
52 |
|
53 |
-
print(type(r))
|
54 |
# # Prepare to save video
|
55 |
# output_file = os.path.join("output.mp4")
|
56 |
|
|
|
42 |
thickness=2,
|
43 |
rebase_keypoint_height=True)
|
44 |
|
45 |
+
result = [result for result in result_generator] #next(result_generator)
|
46 |
print(type(result))
|
47 |
|
48 |
+
# print(["[INFO] Result from iterator: ", result])
|
49 |
|
50 |
+
# for r in result_generator:
|
51 |
+
# print("[INFO] Single result: ", r)
|
52 |
|
53 |
+
# print(type(r))
|
54 |
# # Prepare to save video
|
55 |
# output_file = os.path.join("output.mp4")
|
56 |
|