webcam test
Browse files
main.py
CHANGED
@@ -117,8 +117,8 @@ def infer(video, check, kpt_thr, webcam=True):
|
|
117 |
vidname = video.split("/")[-1]
|
118 |
vis_out_dir = "/".join(["/".join(video.split("/")[:-1]), add_dir])
|
119 |
out_file = poses(inferencer, video, vis_out_dir, kpt_thr)
|
120 |
-
|
121 |
-
out_files.append(
|
122 |
|
123 |
else:
|
124 |
out_files.extend(out_file)
|
|
|
117 |
vidname = video.split("/")[-1]
|
118 |
vis_out_dir = "/".join(["/".join(video.split("/")[:-1]), add_dir])
|
119 |
out_file = poses(inferencer, video, vis_out_dir, kpt_thr)
|
120 |
+
fullname = os.path.join(vis_out_dir, vidname)
|
121 |
+
out_files.append(fullname)
|
122 |
|
123 |
else:
|
124 |
out_files.extend(out_file)
|