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/aruco_markers_pipeline | |
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/aruco_markers_pipeline')
-rw-r--r-- | docs/user_guide/aruco_markers_pipeline/configuration_and_execution.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/user_guide/aruco_markers_pipeline/configuration_and_execution.md b/docs/user_guide/aruco_markers_pipeline/configuration_and_execution.md index 4f3ce5b..4f05beb 100644 --- a/docs/user_guide/aruco_markers_pipeline/configuration_and_execution.md +++ b/docs/user_guide/aruco_markers_pipeline/configuration_and_execution.md @@ -56,7 +56,10 @@ Then, here is how to load the JSON file: from argaze.ArUcoMarkers import ArUcoCamera # Load ArUcoCamera -aruco_camera = ArUcoCamera.ArUcoCamera.from_json('./configuration.json') +with ArUcoCamera.ArUcoCamera.from_json('./configuration.json') as aruco_camera: + + # Do something with ArUcoCamera + ... ``` Now, let's understand the meaning of each JSON entry. |