aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThéo de la Hogue2023-03-29 09:10:49 +0200
committerThéo de la Hogue2023-03-29 09:10:49 +0200
commit80d517a29df1f5a7e366e41e34e1dea3eb432dbc (patch)
tree1b50014e8f7cbb45b5ab80201a21146f243eb152 /src
parentec2610bcbea5644ba576ddd1ef28fabfe4810cc6 (diff)
downloadargaze-80d517a29df1f5a7e366e41e34e1dea3eb432dbc.zip
argaze-80d517a29df1f5a7e366e41e34e1dea3eb432dbc.tar.gz
argaze-80d517a29df1f5a7e366e41e34e1dea3eb432dbc.tar.bz2
argaze-80d517a29df1f5a7e366e41e34e1dea3eb432dbc.tar.xz
Improving script argument documentation.
Diffstat (limited to 'src')
-rw-r--r--src/argaze/utils/aruco_markers_dictionary_export.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/argaze/utils/aruco_markers_dictionary_export.py b/src/argaze/utils/aruco_markers_dictionary_export.py
index c8dd3ab..35c53b6 100644
--- a/src/argaze/utils/aruco_markers_dictionary_export.py
+++ b/src/argaze/utils/aruco_markers_dictionary_export.py
@@ -10,10 +10,10 @@ def main():
# Manage arguments
parser = argparse.ArgumentParser(description=main.__doc__)
- parser.add_argument('dictionary', metavar='DICT', type=ArUcoMarkersDictionary.ArUcoMarkersDictionary, default='DICT_ARUCO_ORIGINAL', help='aruco marker dictionnary (DICT_4X4_50, DICT_4X4_100, DICT_4X4_250, DICT_4X4_1000, DICT_5X5_50, DICT_5X5_100, DICT_5X5_250, DICT_5X5_1000, DICT_6X6_50, DICT_6X6_100, DICT_6X6_250, DICT_6X6_1000, DICT_7X7_50, DICT_7X7_100, DICT_7X7_250, DICT_7X7_1000, DICT_ARUCO_ORIGINAL, DICT_APRILTAG_16h5, DICT_APRILTAG_25h9, DICT_APRILTAG_36h10, DICT_APRILTAG_36h11)')
- parser.add_argument('-s', '--size', metavar='SIZE', type=float, default=3., help='marker size in cm')
- parser.add_argument('-r', '--resolution', metavar='RES', type=int, default=300, help='picture resolution in dpi')
- parser.add_argument('-o', '--output', metavar='OUT', type=str, default='.', help='destination path')
+ parser.add_argument('dictionary', metavar='DICT', type=ArUcoMarkersDictionary.ArUcoMarkersDictionary, default='DICT_ARUCO_ORIGINAL', help='dictionnary name : DICT_4X4_50, DICT_4X4_100, DICT_4X4_250, DICT_4X4_1000, DICT_5X5_50, DICT_5X5_100, DICT_5X5_250, DICT_5X5_1000, DICT_6X6_50, DICT_6X6_100, DICT_6X6_250, DICT_6X6_1000, DICT_7X7_50, DICT_7X7_100, DICT_7X7_250, DICT_7X7_1000, DICT_ARUCO_ORIGINAL, DICT_APRILTAG_16h5, DICT_APRILTAG_25h9, DICT_APRILTAG_36h10, DICT_APRILTAG_36h11')
+ parser.add_argument('-s', '--size', metavar='SIZE', type=float, default=3., help='marker picture size in cm')
+ parser.add_argument('-r', '--resolution', metavar='RES', type=int, default=300, help='marker picture resolution in dpi')
+ parser.add_argument('-o', '--output', metavar='OUT', type=str, default='.', help='destination folder path')
args = parser.parse_args()