Adds doc for threshold

This commit is contained in:
Thomas Forgione 2023-03-01 17:55:00 +01:00
parent 14f5d327b3
commit c447c11bc2
1 changed files with 10 additions and 6 deletions

View File

@ -71,6 +71,9 @@ function help() {
const outputShort = "\x1b[32m-o\x1b[0m";
const outputLong = "\x1b[32m--output\x1b[0m";
const thresholdShort = "\x1b[32m-t\x1b[0m";
const thresholdLong = "\x1b[32m--threshold\x1b[0m";
const forceShort = "\x1b[32m-f\x1b[0m";
const forceLong = "\x1b[32m--force\x1b[0m";
@ -89,7 +92,8 @@ ${args}
${helpShort}, ${helpLong} Displays this help and quit
${inputShort}, ${inputLong} <INPUT> Path to the HTML input file
${outputShort}, ${outputLong} <OUTPUT> Save mask images and annotations as json in this directory
${shrinkShort}, ${shrinkLong} Replace leafs of tree by span of themselves to shrink horizontally their bounding boxes
${thresholdShort}, ${thresholdLong} <VALUE> Threshold for RGB mask computation (between 0 and 1)
${shrinkShort}, ${shrinkLong} Shrink horizontally leaves' bounding boxes
${flattenLong} Flattens the tree into a list before serializing in JSON
${forceShort}, ${forceLong} Delete the output directory before generating masks it again`);
}