Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing typo in exported headpose files #2185

Merged
merged 1 commit into from Sep 6, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -32,13 +32,13 @@ def export_routine(rec_dir, model, poses):

def _export_model(rec_dir, model):
logger.info("Exporting head pose model to {}".format(rec_dir))
model_path = os.path.join(rec_dir, "head_pose_tacker_model.csv")
model_path = os.path.join(rec_dir, "head_pose_tracker_model.csv")
_write_csv(model_path, MODEL_HEADER, model)


def _export_poses(rec_dir, poses):
logger.info("Exporting {} head poses to {}".format(len(poses), rec_dir))
poses_path = os.path.join(rec_dir, "head_pose_tacker_poses.csv")
poses_path = os.path.join(rec_dir, "head_pose_tracker_poses.csv")
poses_flat = [(p["timestamp"], *p["camera_poses"]) for p in poses]
_write_csv(poses_path, POSES_HEADER, poses_flat)

Expand Down