diff options
author | Nick White <git@njw.name> | 2019-12-11 15:59:29 +0000 |
---|---|---|
committer | Nick White <git@njw.name> | 2019-12-11 15:59:29 +0000 |
commit | 162b3a11fb679adcd1918766d116b8eaa867063e (patch) | |
tree | a3a5cc3d2a7cacbbb8573b17709112bc372b47a3 | |
parent | aee651e282c7a9aecd8f25a5e306cdd695325068 (diff) |
Clarify use of -training in tools
-rw-r--r-- | cmd/bookpipeline/main.go | 2 | ||||
-rw-r--r-- | cmd/booktopipeline/main.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/bookpipeline/main.go b/cmd/bookpipeline/main.go index 425b6a6..75433fb 100644 --- a/cmd/bookpipeline/main.go +++ b/cmd/bookpipeline/main.go @@ -626,7 +626,7 @@ func processBook(msg bookpipeline.Qmsg, conn Pipeliner, process func(chan string func main() { verbose := flag.Bool("v", false, "verbose") - training := flag.String("t", "rescribealphav5", "tesseract training file to use") + training := flag.String("t", "rescribealphav5", "default tesseract training file to use (without the .traineddata part)") nopreproc := flag.Bool("np", false, "disable preprocessing") nowipe := flag.Bool("nw", false, "disable wipeonly") noocr := flag.Bool("no", false, "disable ocr") diff --git a/cmd/booktopipeline/main.go b/cmd/booktopipeline/main.go index 425c41f..f8e123d 100644 --- a/cmd/booktopipeline/main.go +++ b/cmd/booktopipeline/main.go @@ -52,7 +52,7 @@ func (f fileWalk) Walk(path string, info os.FileInfo, err error) error { func main() { verbose := flag.Bool("v", false, "Verbose") wipeonly := flag.Bool("prebinarised", false, "Prebinarised: only preprocessing will be to wipe") - training := flag.String("t", "", "Training file to use") + training := flag.String("t", "", "Training to use (training filename without the .traineddata part)") flag.Usage = func() { fmt.Fprintf(flag.CommandLine.Output(), usage) |