diff options
author | Théo de la Hogue | 2023-09-28 23:31:33 +0200 |
---|---|---|
committer | Théo de la Hogue | 2023-09-28 23:31:33 +0200 |
commit | c12e429190b4f63064c81edfa08fb00b8ed8a28c (patch) | |
tree | e8d2238a70707061645f85405ac1bb4bf29bfa1d /docs/user_guide/gaze_analysis_pipeline/visualisation.md | |
parent | 0ab16a1a93ba62e791489f453d4ec20b7b5655bb (diff) | |
download | argaze-c12e429190b4f63064c81edfa08fb00b8ed8a28c.zip argaze-c12e429190b4f63064c81edfa08fb00b8ed8a28c.tar.gz argaze-c12e429190b4f63064c81edfa08fb00b8ed8a28c.tar.bz2 argaze-c12e429190b4f63064c81edfa08fb00b8ed8a28c.tar.xz |
Improving documentation details.
Diffstat (limited to 'docs/user_guide/gaze_analysis_pipeline/visualisation.md')
-rw-r--r-- | docs/user_guide/gaze_analysis_pipeline/visualisation.md | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/docs/user_guide/gaze_analysis_pipeline/visualisation.md b/docs/user_guide/gaze_analysis_pipeline/visualisation.md index cf6fa41..5f06fac 100644 --- a/docs/user_guide/gaze_analysis_pipeline/visualisation.md +++ b/docs/user_guide/gaze_analysis_pipeline/visualisation.md @@ -17,6 +17,22 @@ Here is an extract from the JSON ArFrame configuration file with a sample where "size": [1920, 1080], ... "image_parameters": { + "draw_gaze_positions": { + "color": [0, 255, 255], + "size": 2 + }, + "draw_fixations": { + "deviation_circle_color": [255, 255, 255], + "duration_border_color": [127, 0, 127], + "duration_factor": 1e-2, + "draw_positions": { + "position_color": [0, 255, 255], + "line_color": [0, 0, 0] + } + }, + "draw_saccades": { + "line_color": [255, 0, 255] + }, "draw_scan_path": { "draw_fixations": { "deviation_circle_color": [255, 0, 255], @@ -55,22 +71,6 @@ Here is an extract from the JSON ArFrame configuration file with a sample where "looked_aoi_name_offset": [0, -10] } } - }, - "draw_fixations": { - "deviation_circle_color": [255, 255, 255], - "duration_border_color": [127, 0, 127], - "duration_factor": 1e-2, - "draw_positions": { - "position_color": [0, 255, 255], - "line_color": [0, 0, 0] - } - }, - "draw_saccades": { - "line_color": [255, 0, 255] - }, - "draw_gaze_positions": { - "color": [0, 255, 255], - "size": 2 } } } @@ -92,7 +92,7 @@ import cv2 # Assuming that timestamped gaze positions have been processed by ArFrame.look method ... -# Export heatmap image +# Export ArFrame image cv2.imwrite('./ar_frame.png', ar_frame.image()) ``` |