| # A list of useful control parameters and config files. |
#便利な制御パラメータと設定ファイルのリスト。 |
| # Introduction |
# 前書き |
| Tesseract is extremely flexible, if you know how to control it. There is a large number of control parameters to modify its behaviour. While these change from time to time, most of them are fairly stable. List of all parameters with default value and short description can be retrieved with: |
あなたがそれを制御する方法を知っていれば、Tesseractは非常に柔軟です。その動作を変更するための多数の制御パラメータがあります。これらは時々変化しますが、それらのほとんどはかなり安定しています。デフォルト値と簡単な説明を含むすべてのパラメータのリストは、次のコマンドで取得できます。 |
`| ` |
| tesseract --print-parameters |
tesseract --print-parameters |
`| ` |
| There are 3 different types: |
3種類あります。 |
| ### Init only |
###初期化のみ |
| Characterized by INIT in its initialization macro. |
初期設定マクロの INIT によって特徴付けられます。 |
These parameters can only be set at the TessBaseAPI::Init function that takes a list of config files. |
これらのパラメータは設定ファイルのリストを取る TessBaseAPI :: Init関数で設定することができます。 |
NOTE: You can't change init only parameter with tesseract executable option -c. |
注意:tesseract実行可能オプション -cを指定してinit onlyパラメータを変更することはできません。 |
The rest can be set through TessBaseAPI::SetVariable and make 2 further groups: |
残りは TessBaseAPI :: SetVariableを通して設定でき、さらに2つのグループを作ります: |
| ### General parameters |
###一般的なパラメータ |
| Control many different aspects of Tesseract's functionality. |
Tesseractの機能のさまざまな側面を制御します。 |
| ### Debug parameters |
###デバッグパラメータ |
| Contain debug in their name, control huge amounts of optional debug text and graphical output as Tesseract works. |
Tesseractの機能として、名前にdebugを含め、膨大な量のオプションのデバッグテキストとグラフィカル出力を制御します。 |
| # Useful parameters |
#便利なパラメータ |
| Note that the default value may change; check the source code if you need to be sure of it. |
デフォルト値は変わる可能性があることに注意してください。確実にする必要がある場合は、ソースコードを確認してください。 |
| Name |
Type |
| :--------- |
:--------- |
load_system_dawg |
boolean (0/1) |
user_words_suffix |
string |
language_model_penalty_non_dict_word |
double (0-1) |
language_model_penalty_non_freq_dict_word |
double (0-1) |
| ### Useful parameters for Japanese and Chinese |
###日本語と中国語に便利なパラメータ |
| Some Japanese tesseract user found these parameters helpful for increasing tesseract-ocr (3.02) accuracy for Japanese : |
一部の日本語tesseractユーザーは、日本語のtesseract-ocr(3.02)の精度を高めるのに便利です。 |
| Name |
Suggested value |
| :--------- |
:-------------------- |
| chop_enable |
T |
| use_new_state_cost |
F |
| segment_segcost_rating |
F |
| enable_new_segsearch |
0 |
| language_model_ngram_on |
0 |
| textord_force_make_prop_words |
F |
| edges_max_children_per_outline |
40 |