diff options
author | Théo de la Hogue | 2024-02-28 18:48:40 +0100 |
---|---|---|
committer | Théo de la Hogue | 2024-02-28 18:48:40 +0100 |
commit | 9c42e9f1ee8208e14dadcb73cf030a9baef236ed (patch) | |
tree | e4d8e03e0c84af5afdc9d397d76dcb130320598b /docs/user_guide/gaze_analysis_pipeline/advanced_topics/gaze_position_calibration.md | |
parent | b6101dddb28fa6ac9cd556facdc38c1ebcff7db3 (diff) | |
download | argaze-9c42e9f1ee8208e14dadcb73cf030a9baef236ed.zip argaze-9c42e9f1ee8208e14dadcb73cf030a9baef236ed.tar.gz argaze-9c42e9f1ee8208e14dadcb73cf030a9baef236ed.tar.bz2 argaze-9c42e9f1ee8208e14dadcb73cf030a9baef236ed.tar.xz |
Updating the use of with statement in documentation.
Diffstat (limited to 'docs/user_guide/gaze_analysis_pipeline/advanced_topics/gaze_position_calibration.md')
-rw-r--r-- | docs/user_guide/gaze_analysis_pipeline/advanced_topics/gaze_position_calibration.md | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/user_guide/gaze_analysis_pipeline/advanced_topics/gaze_position_calibration.md b/docs/user_guide/gaze_analysis_pipeline/advanced_topics/gaze_position_calibration.md index c413e84..9e0ec4c 100644 --- a/docs/user_guide/gaze_analysis_pipeline/advanced_topics/gaze_position_calibration.md +++ b/docs/user_guide/gaze_analysis_pipeline/advanced_topics/gaze_position_calibration.md @@ -30,20 +30,20 @@ Here is an extract from the JSON ArFrame configuration file where a [Linear Regr # Assuming the ArFrame is loaded ... -# Start calibration process -ar_frame.gaze_position_calibrator.reset() + # Start calibration process + ar_frame.gaze_position_calibrator.reset() -# Assuming that expected and observed gaze positions are available -... + # Assuming that expected and observed gaze positions are available + ... - # If calibration process started - if ar_frame.gaze_position_calibrator.calibrating: + # If calibration process started + if ar_frame.gaze_position_calibrator.calibrating: - # Store calibration data - ar_frame.gaze_position_calibrator.store(timestamp, observed_gaze_position, expected_gaze_position) + # Store calibration data + ar_frame.gaze_position_calibrator.store(timestamp, observed_gaze_position, expected_gaze_position) -# End calibration process -score = ar_frame.gaze_position_calibrator.calibrate() + # End calibration process + score = ar_frame.gaze_position_calibrator.calibrate() ``` ## Save calibration parameters as JSON file |