← Back to team overview

sikuli-driver team mailing list archive

[Question #255739]: OCR doesn't work properly on script re-run

 

New question #255739 on Sikuli:
https://answers.launchpad.net/sikuli/+question/255739

Hi,

I've been trying to capture text/ number in a region with the following script in Sikuli 1.0.1. First time it runs well and displays the string correctly. But, when i re-run the same without any changes, it either displays some junk string or just nothing.

OCR is an important feature for my project. Appreciate your help in resolving the issue.


Settings.OcrTextRead = True
Settings.OcrTextSearch = True
myRegion = Region(71,159,49,13)
Str = myRegion.text()
print Str


Thanks,
Suman

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.