Update triangulate_3d.py

This commit is contained in:
David PAGNON 2023-02-20 18:06:50 +01:00 committed by GitHub
parent 9241ab428a
commit b82df48e03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,7 +154,7 @@ def make_trc(config, Q, keypoints_names, f_range):
trc_path = os.path.join(pose3d_dir, trc_f)
with open(trc_path, 'w') as trc_o:
[trc_o.write(line+'\n') for line in header_trc]
Q.to_csv(trc_o, sep='\t', index=True, header=None, line_terminator='\n')
Q.to_csv(trc_o, sep='\t', index=True, header=None, lineterminator='\n')
return trc_path