# Conflicts: # bin/Win32/Debug/zhipuzi_pay_plugin/tessdata/eng.traineddata # bin/Win32/Debug/zhipuzi_pay_plugin/zhipuzi_pay_plugin.exe
@@ -0,0 +1,7 @@
+tessedit_ambigs_training 1
+load_freq_dawg 0
+load_punc_dawg 0
+load_system_dawg 0
+load_number_dawg 0
+ambigs_debug_level 3
+load_fixed_length_dawgs 0
@@ -0,0 +1 @@
+tessedit_zero_rejection T
@@ -0,0 +1,5 @@
+load_bigram_dawg True
+tessedit_enable_bigram_correction True
+tessedit_bigram_debug 3
+save_raw_choices True
+save_alt_choices True
@@ -0,0 +1,14 @@
+disable_character_fragments T
+file_type .bl
+textord_fast_pitch_test T
+tessedit_single_match 0
+tessedit_minimal_rejection F
+tessedit_write_rep_codes F
+il1_adaption_test 1
+edges_children_fix F
+edges_childarea 0.65
+edges_boxarea 0.9
+tessedit_resegment_from_boxes T
+tessedit_train_from_boxes T
+textord_no_rejects T
@@ -0,0 +1,15 @@
+#tessedit_use_nn F
+#textord_repeat_extraction F
+tessedit_char_whitelist 0123456789-.
@@ -0,0 +1,3 @@
+tessedit_create_hocr 1
+tessedit_pageseg_mode 1
+hocr_font_info 0
@@ -0,0 +1,2 @@
+interactive_display_mode T
+tessedit_display_outwords T
@@ -0,0 +1,4 @@
+textord_skewsmooth_offset 8
+textord_skewsmooth_offset2 8
+textord_merge_desc 0.5
+textord_no_rejects 1
+tessedit_resegment_from_line_boxes 1
+tessedit_make_boxes_from_boxes 1
+debug_file tesseract.log
@@ -0,0 +1,13 @@
+tessedit_train_line_recognizer T
+tessedit_create_boxfile 1
+tessedit_create_pdf 1
+debug_file /dev/null
+tessedit_resegment_from_boxes 1
@@ -0,0 +1,12 @@
+textord_show_blobs 0
+textord_debug_tabfind 3
+textord_tabfind_show_partitions 1
+textord_tabfind_show_initial_partitions 1
+textord_tabfind_show_columns 1
+textord_tabfind_show_blocks 1
+textord_tabfind_show_initialtabs 1
+textord_tabfind_show_finaltabs 1
+textord_tabfind_show_strokewidths 1
+textord_tabfind_show_vlines 0
+textord_tabfind_show_images 1
+tessedit_dump_pageseg_images 0
+tessedit_create_tsv 1
+# This config file should be used with other cofig files which creates renderers.
+# usage example: tesseract eurotext.tif eurotext txt hocr pdf
+tessedit_create_txt 1
+tessedit_write_unlv 1
+tessedit_pageseg_mode 6
+1-\d\d\d-GOOG-411
+www.\n\\\*.com
+the
+quick
+brown
+fox
+jumped
+# No content needed as all defaults are correct.
+
+chop_enable 0
+wordrec_enable_assoc 0
+#################################################
+# Adaptive Matcher Using PreAdapted Templates
+classify_enable_adaptive_debugger 1
+matcher_debug_flags 6
+matcher_debug_level 1
+wordrec_display_splits 0
+wordrec_display_all_words 1
+wordrec_display_all_blobs 1
+wordrec_display_segmentations 2
+classify_debug_level 1
@@ -0,0 +1,10 @@
+stopper_debug_level 1
@@ -53,7 +53,7 @@ void CValueWnd::Init()
pOcrWnd->ShowWindow(false);
//OCR的数据初始化
- if (m_tess.Init("./tessdata", "eng"))
+ if (m_tess.Init("./tessdata", "osd"))
{
LOG_INFO("OCRTesseract: Could not initialize tesseract.");
MessageBox(m_hWnd, L"ocr语言库加载失败", L"111", MB_OK);