Question #258394 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/258394
JonyGreen posted a new comment:
I find a free online ocr http://www.online-code.net/ocr.html to convert
image to text.
--
You received this question notification because your team Sikuli Drivers
is an answe
Question #258394 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/258394
RaiMan proposed the following answer:
what ever makes sense for you:
< 1 is downsizing
> 1 is enlarging
--
You received this question notification because you are a member of
Sikuli Drivers, which is an ans
Question #258394 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/258394
deva posted a new comment:
Thanks! Its working.
can i increase "scaleFactor" beyond 0.99 ?
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact
Question #258394 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/258394
RaiMan proposed the following answer:
imgWithText = Image.create("C:\Users\Admin\Desktop\resizeimg.png")
if imgWithText.isValid():
ar= Image(imgWithText.resize(0.33))
s = ar.text()
print s
in your case
Question #258394 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/258394
deva posted a new comment:
Sorry RaiMan . still it is throwing the same ERROR.
imgWithText = Image.create("C:\Users\Admin\Desktop\resizeimg.png")
ar= Image(imgWithText.resize(0.33))
s = ar.text()
print s
E
Question #258394 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/258394
RaiMan proposed the following answer:
corrected comment #1
in version 1.1.0 you can try the following:
imgWithText = Image.create(capture(someRegionWithText)) # creates in memory
image of the giv
Question #258394 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/258394
RaiMan proposed the following answer:
uuups, you got me ;-)
Image.resize() returns a BufferedImage, that has to be made an Image
first:
imgWithText = Image.create("C:\Users\Admin\Desktop\resizeimg.png")
ar=
Question #258394 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/258394
deva requested more information:
tried the below code:
imgWithText = Image.create("C:\Users\Admin\Desktop\resizeimg.png") # creates in
memory image of the given region
ar= imgWithText.resize(0.33) # resizes
Question #258394 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/258394
Status: Open => Answered
RaiMan proposed the following answer:
in version 1.1.0 you can try the following:
imgWithText = Image.create(capture(someRegionWithText)) # creates in memory
image of the given
New question #258394 on Sikuli:
https://answers.launchpad.net/sikuli/+question/258394
Is there a way to preprocess images with say - increase image/region size by
10x (which provides better results)
before applying .text() ?
--
You received this question notification because you are a member o
10 matches
Mail list logo