From 5d0472db024988926b6247cc3d9ff7d156faa579 Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Mon, 11 Apr 2022 14:33:06 +0200 Subject: minor changes --- src/argaze/utils/README.md | 8 ++++---- src/argaze/utils/export_tobii_segment_fixations.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/argaze/utils/README.md b/src/argaze/utils/README.md index d23590e..64f7f88 100644 --- a/src/argaze/utils/README.md +++ b/src/argaze/utils/README.md @@ -60,16 +60,16 @@ python ./src/argaze/utils/explore_tobii_sdcard.py -r RECORDING_PATH python ./src/argaze/utils/explore_tobii_sdcard.py -s SEGMENT_PATH ``` -- Replay a Tobii Glasses Pro 2 session (replace SEGMENT_PATH) synchronizing video and data together. +- Export Tobii segment fixations (replace SEGMENT_PATH) into a fixations.json file into the segment folder ``` -python ./src/argaze/utils/replay_tobii_session.py -s SEGMENT_PATH +python ./src/argaze/utils/export_tobii_segment_fixations.py -s SEGMENT_PATH ``` -- Export Tobii segment fixations (replace SEGMENT_PATH) into a fixations.json file into the segment folder +- Replay a Tobii Glasses Pro 2 session (replace SEGMENT_PATH) synchronizing video and data together. ``` -python ./src/argaze/utils/export_tobii_segment_fixations.py -s SEGMENT_PATH +python ./src/argaze/utils/replay_tobii_session.py -s SEGMENT_PATH ``` - Track any 4.5cm Original ArUco marker into calibrated Tobii camera video stream (replace IP_ADDRESS). Load an roi scene (replace ROI_SCENE) .obj file, position it virtually relatively to any detected ArUco markers and project the scene into camera frame. Then, detect if Tobii gaze point is inside any ROI. diff --git a/src/argaze/utils/export_tobii_segment_fixations.py b/src/argaze/utils/export_tobii_segment_fixations.py index 7420d66..8c573ae 100644 --- a/src/argaze/utils/export_tobii_segment_fixations.py +++ b/src/argaze/utils/export_tobii_segment_fixations.py @@ -23,11 +23,11 @@ def main(): if args.segment_path != None: - # manage destination path + # Manage destination path if args.output != None: if not os.path.exists(os.path.dirname(args.output)): - + os.makedirs(os.path.dirname(args.output)) print(f'{os.path.dirname(args.output)} folder created') -- cgit v1.1