Updated --help parameter.

master
Rostislav Lán 2 years ago
parent a1b81722c4
commit 90bfed98ec

@ -109,7 +109,6 @@ def parse_params(params):
''' '''
# TODO: possibly too bloated, sending all possible params to each filter # TODO: possibly too bloated, sending all possible params to each filter
# TODO: remove unnecessary params
possible_params = {"sigma", "ksize", "kernel", possible_params = {"sigma", "ksize", "kernel",
"diameter", "sigmaColor", "sigmaSpace", "diameter", "sigmaColor", "sigmaSpace",
"patch_size", "patch_distance", "weight", "patch_size", "patch_distance", "weight",

@ -91,7 +91,7 @@ class fingerprint_app:
parser = ap.ArgumentParser(prog='main.py', parser = ap.ArgumentParser(prog='main.py',
description='Program for transforming a 2D image into 3D fingerprint.', 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 # positional arguments
parser.add_argument("input_file", type=str, help="input file path") parser.add_argument("input_file", type=str, help="input file path")

Loading…
Cancel
Save