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/visualisation.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/visualisation.md')
-rw-r--r-- | docs/user_guide/gaze_analysis_pipeline/visualisation.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/user_guide/gaze_analysis_pipeline/visualisation.md b/docs/user_guide/gaze_analysis_pipeline/visualisation.md index e046ddf..b8156a5 100644 --- a/docs/user_guide/gaze_analysis_pipeline/visualisation.md +++ b/docs/user_guide/gaze_analysis_pipeline/visualisation.md @@ -94,17 +94,17 @@ def main(): # Assuming ArFrame is loaded ... - # Create a window to display ArFrame - cv2.namedWindow(ar_frame.name, cv2.WINDOW_AUTOSIZE) + # Create a window to display ArFrame + cv2.namedWindow(ar_frame.name, cv2.WINDOW_AUTOSIZE) - # Assuming that timestamped gaze positions are being processed by ArFrame.look method - ... + # Assuming that timestamped gaze positions are being processed by ArFrame.look method + ... - # Update ArFrame image display - cv2.imshow(ar_frame.name, ar_frame.image()) + # Update ArFrame image display + cv2.imshow(ar_frame.name, ar_frame.image()) - # Wait 10 ms - cv2.waitKey(10) + # Wait 10 ms + cv2.waitKey(10) if __name__ == '__main__': |