aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/argaze/utils/README.md8
-rw-r--r--src/argaze/utils/export_tobii_segment_fixations.py4
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')