Slightly different images give different results

53 views
Skip to first unread message

Lilian Sueiro Pedroso

unread,
Nov 16, 2017, 1:45:22 PM11/16/17
to tesseract-ocr
Hello, 
I am using Tesseract for c++, version 3.02
My init is like this: 
api = new tesseract::TessBaseAPI();
auto result = api->Init(path.c_str(), "eng", classifierToEnum(clasifier),configs, configs_size,&pars_vec,
&pars_values, false);
api->SetPageSegMode(tesseract::PSM_AUTO);
api->SetVariable("tessedit_char_whitelist", "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcdefghijklmnopqrstuvwxyz-.,:\"=@/#'+%&;*");
this->api->SetVariable("classify_enable_learning", "0");
this->api->SetVariable("classify_enable_adaptive_matcher", "0");

The result for this images is different, and the only difference between the image is the size of the background. 
Can someone help me to understand what is happening?



30-015-25991_No 1-12 A ROSEArea.tif
30-015-25991_No 1-12 A ROSEArea2.tif
Reply all
Reply to author
Forward
0 new messages