New question #691484 on Sikuli:

Hello, below there is my snippet extracted from a bigger script:
I look for an image that is the heading of a column in a table.
Then I modify the match coordinates to look for the first row of the table 
(rDesc.getY()+24), the highlighting of the match confirm me that the position 
is correct.
But then when I do the OCR the returned string is the OCR of the heading, not 
the content of the cell. 
To get the content of the cell I have to use the 2 commented lines below that 
builds a region with the same coordinates of the Match.
>From my understanding it should work also without using the Region explicit 
The question is: what do I missed? 

#    rAppoDesc=Region(rDesc.getX(),rDesc.getY(),rDesc.getW(),rDesc.getH())
#    str1Desc=ocr.getLineText(rAppoDesc)

My config is:

I found a workaround so this is not a "bloking" issue, but I'd like to know 
what's wrong...
Thanks for support

You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to