aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo de la Hogue2023-07-12 09:25:00 +0200
committerThéo de la Hogue2023-07-12 09:25:00 +0200
commit65afdb075e4adec5a35bcdd032e35b04b22af8e7 (patch)
treeb998904f89eacb971849d7c0d2206827320b4cb7
parent939aab0a7cd31b311b08ce14418d1484586644d3 (diff)
downloadargaze-65afdb075e4adec5a35bcdd032e35b04b22af8e7.zip
argaze-65afdb075e4adec5a35bcdd032e35b04b22af8e7.tar.gz
argaze-65afdb075e4adec5a35bcdd032e35b04b22af8e7.tar.bz2
argaze-65afdb075e4adec5a35bcdd032e35b04b22af8e7.tar.xz
Improving argument comment
-rw-r--r--src/argaze/utils/demo_ar_features_run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argaze/utils/demo_ar_features_run.py b/src/argaze/utils/demo_ar_features_run.py
index 2abedd5..00a035b 100644
--- a/src/argaze/utils/demo_ar_features_run.py
+++ b/src/argaze/utils/demo_ar_features_run.py
@@ -27,7 +27,7 @@ def main():
# Manage arguments
parser = argparse.ArgumentParser(description=main.__doc__.split('-')[0])
parser.add_argument('environment', metavar='ENVIRONMENT', type=str, help='ar environment filepath')
- parser.add_argument('-s', '--source', metavar='SOURCE', type=str, default=0, help='video capture source (int for device id or str for movie filepath)')
+ parser.add_argument('-s', '--source', metavar='SOURCE', type=str, default='0', help='video capture source (a number to select camera device or a filepath to load a movie)')
args = parser.parse_args()
# Load AR enviroment