From 90bfed98ec78e72444ad3a532afc84e79a030901 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rostislav=20L=C3=A1n?= Date: Fri, 28 Apr 2023 20:05:01 +0200 Subject: [PATCH] Updated --help parameter. --- src/config_parser.py | 1 - src/main.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/config_parser.py b/src/config_parser.py index e83957c..b4f8bc9 100644 --- a/src/config_parser.py +++ b/src/config_parser.py @@ -109,7 +109,6 @@ def parse_params(params): ''' # TODO: possibly too bloated, sending all possible params to each filter - # TODO: remove unnecessary params possible_params = {"sigma", "ksize", "kernel", "diameter", "sigmaColor", "sigmaSpace", "patch_size", "patch_distance", "weight", diff --git a/src/main.py b/src/main.py index c7b0153..f086c8c 100644 --- a/src/main.py +++ b/src/main.py @@ -91,7 +91,7 @@ class fingerprint_app: parser = ap.ArgumentParser(prog='main.py', description='Program for transforming a 2D image into 3D fingerprint.', - usage='%(prog)s [-h] [-m | --mirror | --no-mirror] input_file output_file dpi ([-c | --config config_file preset] | [filters ...]) [-s | --stl p height_line height_base | --stl c height_line curv_rate_x curv_rate_y | --stl m height_line]') + usage='%(prog)s [-h] [-m | --mirror | --no-mirror] input_file output_file dpi ([-c | --config config_file preset] | [filters ...]) [-s | --stl p height_line height_base | --stl c height_line curv_rate_x curv_rate_y | --stl m height_line iter finger_x finger_y finger_z] [-d | --database database_filename]') # positional arguments parser.add_argument("input_file", type=str, help="input file path")