1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Merge pull request #28186 from shahkarnav115-beep:fix-stitching-argparse-safety

samples(python): fix argparse boolean flag for --try_cuda
This commit is contained in:
Alexander Smorkalov
2025-12-16 10:22:19 +03:00
committed by GitHub
+1 -3
View File
@@ -95,10 +95,8 @@ parser.add_argument(
)
parser.add_argument(
'--try_cuda',
action='store',
default=False,
action='store_true',
help="Try to use CUDA. The default value is no. All default values are for CPU mode.",
type=bool, dest='try_cuda'
)
parser.add_argument(
'--work_megapix', action='store', default=0.6,