Skip to content
Snippets Groups Projects

Only support thresholding method `otsu`

Merged Manon Blanco requested to merge remove-threshold-parameters into main
5 files
+ 10
82
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -135,19 +135,6 @@ def add_predict_parser(subcommands) -> None:
type=int,
default=None,
)
parser.add_argument(
"--threshold-method",
help="Thresholding method.",
choices=["otsu", "simple"],
type=str,
default="otsu",
)
parser.add_argument(
"--threshold-value",
help="Thresholding value.",
type=int,
default=0,
)
parser.add_argument(
"--gpu-device",
help="Use a specific GPU if available.",
Loading