SRL Archive - Jr. Member General Help and Discussion

Reading text


Lucidity

2014-11-24 21:17:27

I've tried multiple things, and I can't yet figure out how to print out this text.


Any ideas? I've tried

writeln(getTextAtEx(IntToBox(x1,y2,x2,y2, 1, 3, 3, clWhite, 1, 'UpChars'));

3Garrett3

2014-11-24 21:32:11

From: Bly
I've tried multiple things, and I can't yet figure out how to print out this text.


Any ideas? I've tried

writeln(getTextAtEx(IntToBox(x1,y2,x2,y2, 1, 3, 3, clWhite, 1, 'UpChars'));


I find that I used the tesseract to get text and it's pretty reliable.


tesText := tesseractGetText(intToBox(138,76,433,92), TESS_FILTER_SMALL_CHARS);

That's all it takes for me, the box required covers the whole area where your text is.

Edit: Mostly I've picked tesseract instead of Simba methods because I don't understand the parameters to the Simba one and there's no documentation explaining it.

Lucidity

2014-11-25 02:02:22

Thank you.