From e539b5c6cd009feecf6a3f868344b9932081ba65 Mon Sep 17 00:00:00 2001 From: Lorenzo Date: Mon, 15 Mar 2021 17:41:39 +0100 Subject: [PATCH] add white-overlay command --- monoloco/run.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/monoloco/run.py b/monoloco/run.py index d2d5514..024d8e8 100644 --- a/monoloco/run.py +++ b/monoloco/run.py @@ -39,6 +39,9 @@ def cli(): predict_parser.add_argument('--dpi', help='image resolution', type=int, default=150) predict_parser.add_argument('--long-edge', default=None, type=int, help='rescale the long side of the image (aspect ratio maintained)') + predict_parser.add_argument('--white-overlay', + nargs='?', default=False, const=0.8, type=float, + help='increase contrast to annotations by making image whiter') predict_parser.add_argument('--disable-cuda', action='store_true', help='disable CUDA') predict_parser.add_argument('--focal', help='focal length in mm for a sensor size of 7.2x5.4 mm. Default nuScenes sensor',