Re: [Sikuli-driver] [Question #258394]: Preprocess Image before applying OCR .text() fn

2015-11-09 Thread JonyGreen
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

Re: [Sikuli-driver] [Question #258394]: Preprocess Image before applying OCR .text() fn

2014-11-30 Thread RaiMan
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

Re: [Sikuli-driver] [Question #258394]: Preprocess Image before applying OCR .text() fn

2014-11-30 Thread deva
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

Re: [Sikuli-driver] [Question #258394]: Preprocess Image before applying OCR .text() fn

2014-11-30 Thread RaiMan
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

Re: [Sikuli-driver] [Question #258394]: Preprocess Image before applying OCR .text() fn

2014-11-29 Thread deva
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

Re: [Sikuli-driver] [Question #258394]: Preprocess Image before applying OCR .text() fn

2014-11-29 Thread RaiMan
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

Re: [Sikuli-driver] [Question #258394]: Preprocess Image before applying OCR .text() fn

2014-11-29 Thread RaiMan
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=

Re: [Sikuli-driver] [Question #258394]: Preprocess Image before applying OCR .text() fn

2014-11-29 Thread deva
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

Re: [Sikuli-driver] [Question #258394]: Preprocess Image before applying OCR .text() fn

2014-11-29 Thread RaiMan
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

[Sikuli-driver] [Question #258394]: Preprocess Image before applying OCR .text() fn

2014-11-29 Thread Sarav
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