Hey.
I am a newbie in tesseract. I have set one parameter while using SetVariable. how can i see its effect on image.
For example, i am trying to detect table from image. I have set (
"textord_tablefind_recognize_tables", "true") but now how can i see the effect of that parameter on my image? or how can i see the detected region?
api->SetVariable("textord_show_tables", "true");
api->SetVariable("textord_tablefind_recognize_tables", "true");
tesseract::PageIterator *ri = api->GetIterator();
tesseract::PageIteratorLevel level = tesseract::RIL_BLOCK;
if (ri != 0) {
do {
cout<<bname <<" "<<ri->BlockType()<<endl;
} while (ri->Next(level));
}