aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo de la Hogue2022-04-11 14:33:06 +0200
committerThéo de la Hogue2022-04-11 14:33:06 +0200
commit5d0472db024988926b6247cc3d9ff7d156faa579 (patch)
tree133cb4ae7340aeba7ac2d3effd77cef9e06a2c45
parent4606bf24e8dda01b626e510b5263db144dbcc74c (diff)
downloadargaze-5d0472db024988926b6247cc3d9ff7d156faa579.zip
argaze-5d0472db024988926b6247cc3d9ff7d156faa579.tar.gz
argaze-5d0472db024988926b6247cc3d9ff7d156faa579.tar.bz2
argaze-5d0472db024988926b6247cc3d9ff7d156faa579.tar.xz
minor changes
-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')