tesseract识别命令等


一 怎么把一些常用参数放到.config文件中:


步骤:创建chi_sim.config文件,然后把参数放进去,一行一行放置,最后运行combine_tessdata.exe命令,可以将这些参数永久包含在.traineddata里面,下面是参考文章


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


> Could you tell me how to use these parameters? please give me a command example 
> I just use the .exe files to train my chinese language . 

To include the parameters in the training file, create a file called 
xxx.config (where xxx is the language code you're using) and put the 
parameters you need into it, one per line, as in the email you're 
interested in. Then when you run combine_tessdata it will be included 
as part of the .traineddata file. 

If you just want to use a config file with a training that has 
already been built, you can follow the instructions in the 
manpage[0]. 

Hope this helps. 

Nick 

0.  http://tesseract-ocr.googlecode.com/svn/trunk/doc/tesseract.1.html#_config_files_and_augmenting_with_user_data  











你可能感兴趣的:(tesseract识别命令等)