How to find parameters supported in Tesseract OCR config file

后端 未结 3 662
一生所求
一生所求 2021-02-05 06:32

I want to know what parameters the config file used by Tesseract OCR accepts, how to write a config file, etc.

I can\'t find any documentation about this on their site.

3条回答
  •  长发绾君心
    2021-02-05 06:47

    Tesseract v3.04 now offers the command line option --print-parameters, so you can call tesseract --print-parameters to get a list of the 678 (!) configurable parameters, their default values, and a short description:

    Tesseract parameters:
    editor_image_xpos   590 Editor image X Pos
    editor_image_ypos   10  Editor image Y Pos
    editor_image_menuheight 50  Add to image height for menu bar
    editor_image_word_bb_color  7   Word bounding box colour
    editor_image_blob_bb_color  4   Blob bounding box colour
    editor_image_text_color 2   Correct text colour
    ...and many, many more
    

提交回复
热议问题