OCReract.jl icon indicating copy to clipboard operation
OCReract.jl copied to clipboard

Allow to handle user-words and user-pattern

Open leferrad opened this issue 3 years ago • 0 comments

From the documentation, tesseract supports to specify a file for user-words and user-patters that could be supported in this wrapper

OCR options:
  --tessdata-dir PATH   Specify the location of tessdata path.
  --user-words PATH     Specify the location of user words file.
  --user-patterns PATH  Specify the location of user patterns file.
  -l LANG[+LANG]        Specify language(s) used for OCR.
  -c VAR=VALUE          Set value for config variables.
                        Multiple -c arguments are allowed.
  --psm NUM             Specify page segmentation mode.
  --oem NUM             Specify OCR Engine mode.

leferrad avatar Jan 30 '21 22:01 leferrad