[Sikuli-driver] [Question #258409]: find x, y position of the found OCR Text

2014-11-29 Thread deva
New question #258409 on Sikuli: https://answers.launchpad.net/sikuli/+question/258409 how to find the x,y position(s) of the found OCR Text? -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli.

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

[Sikuli-driver] [Question #258406]: Confused about Jython example

2014-11-29 Thread Rodolfo
New question #258406 on Sikuli: https://answers.launchpad.net/sikuli/+question/258406 I am trying to run a simple example that I found at Sikuli's documentation, but I am confused about what am I missing. This is my environment: - WIndows 7 - Java 1.7.0_71 - SikuliX 1.1.0 - jython 2.7b3 -Eclipse

Re: [Sikuli-driver] [Question #258197]: [1.1.0] Using observe to continuously look for pattern and take actions

2014-11-29 Thread Shafiq Khan
Question #258197 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258197 Shafiq Khan posted a new comment: Got it. Can you please elaborate on event.repeat(someSeconds). Usage etc. -- You received this question notification because you are a member of Sikuli Drivers, which is an

Re: [Sikuli-driver] [Question #258197]: [1.1.0] Using observe to continuously look for pattern and take actions

2014-11-29 Thread RaiMan
Question #258197 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258197 RaiMan proposed the following answer: Each background observe is run in it's own thread. One region can only have one observe active, but can have as many on... events as needed. The events are checked sequ

Re: [Sikuli-driver] [Question #258197]: [1.1.0] Using observe to continuously look for pattern and take actions

2014-11-29 Thread Shafiq Khan
Question #258197 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258197 Shafiq Khan posted a new comment: That makes quite a strong case for upgrading to 1.1.0. If I am trying to observe for multiple patterns, what's the most efficient way? Multiple observers? -- You received

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 #258340]: How to use sikuli operations on ScreenShot Image File (UNLIKE Screen Region)

2014-11-29 Thread deva
Question #258340 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258340 Status: Answered => Open deva is still having a problem: Thanks! But i got only one image (someFile.png) in -- You received this question notification because you are a member of Sikuli Drivers, whic

Re: [Sikuli-driver] [Question #258340]: How to use sikuli operations on ScreenShot Image File (UNLIKE Screen Region)

2014-11-29 Thread RaiMan
Question #258340 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258340 Status: Open => Answered RaiMan proposed the following answer: new File(baseImg.getSub(m.x, m.y, 150, 150).asFile()).renameTo(new File()); ... for File.rename() the folder structure must exist, otherwis

Re: [Sikuli-driver] [Question #258340]: How to use sikuli operations on ScreenShot Image File (UNLIKE Screen Region)

2014-11-29 Thread deva
Question #258340 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258340 deva gave more information on the question: text recognition is working in java. When i used the below code Settings.OcrTextRead = true; Settings.OcrTextSearch = true; I can

Re: [Sikuli-driver] [Question #258340]: How to use sikuli operations on ScreenShot Image File (UNLIKE Screen Region)

2014-11-29 Thread deva
Question #258340 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258340 Status: Answered => Open deva is still having a problem: I tried as you suggested. it is not working. i couldn't save the images. also i want to get text of sub image. i can get text of sub image in si

Re: [Sikuli-driver] [Question #258340]: How to use sikuli operations on ScreenShot Image File (UNLIKE Screen Region)

2014-11-29 Thread RaiMan
Question #258340 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258340 Status: Open => Answered RaiMan proposed the following answer: when using Java this should be handled directly in the while (f.hasNext()) loop: while (f.hasNext()) { Match m = f.next(); Image baseIm

Re: [Sikuli-driver] [Question #258340]: How to use sikuli operations on ScreenShot Image File (UNLIKE Screen Region)

2014-11-29 Thread deva
Question #258340 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258340 Status: Answered => Open deva is still having a problem: Thanks! i tried to write the same code in java. but i struck here: for m in mm: print m s = baseImg.getSub(m.x, m.y, 50, 50).asFile()

[Sikuli-driver] [Bug 1397521] [NEW] [request] Highlight by grayingout the remaining part of screen

2014-11-29 Thread RaiMan
Public bug reported: Can we replace the Sikuli Red Rect Border Highlight replaced with grayingout the remaining part of screen? We tried replacing the color, but how to make the remaining part of the screen half black (or translucent gray) ** Affects: sikuli Importance: Medium Assignee

[Sikuli-driver] [Question #258393]: Status of bug #1397521 changed to 'In Progress' in Sikuli

2014-11-29 Thread RaiMan
Bug #1397521 status changed in Sikuli: New => In Progress https://bugs.launchpad.net/sikuli/+bug/1397521 "[request] Highlight by grayingout the remaining part of screen" This bug is linked to #258393. Sikuli Highlight by grayingout the remaining part of screen https://answers.launchpad.net/s

Re: [Sikuli-driver] [Question #258393]: Sikuli Highlight by grayingout the remaining part of screen

2014-11-29 Thread RaiMan
Question #258393 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258393 Linked to bug: #1397521 https://bugs.launchpad.net/bugs/1397521 "[request] Highlight by grayingout the remaining part of screen" -- You received this question notification because you are a memb

Re: [Sikuli-driver] [Question #258393]: Sikuli Highlight by grayingout the remaining part of screen

2014-11-29 Thread RaiMan
Question #258393 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258393 Status: Open => Answered RaiMan proposed the following answer: sorry, currently not a feature. ... but a good idea. I make it a request bug for version 1.2 -- You received this question notification

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

Re: [Sikuli-driver] [Question #258390]: Sikuli - Scale Invariant Template Matching

2014-11-29 Thread Sarav
Question #258390 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258390 Sarav posted a new comment: Thanks Raiman, Appreciate your herioc support. Will try and update you. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer

[Sikuli-driver] [Question #258393]: Sikuli Highlight by grayingout the remaining part of screen

2014-11-29 Thread Sarav
New question #258393 on Sikuli: https://answers.launchpad.net/sikuli/+question/258393 Can we replace the Sikuli Red Rect Border Highlight replaced with grayingout the remaining part of screen? We tried replacing the color, but how to make the remaining part of the screen half black (or transluc

[Sikuli-driver] [Bug 1397515] [NEW] [request] search ops should be available for given images the same way as for region objects.

2014-11-29 Thread RaiMan
Public bug reported: solution up to version 1.1.0 use the class Finder --- we found our machine too slow, for region captures on large webpages( with lots of pagedowns) could you please let me know a way where i can apply the same skilui operati

[Sikuli-driver] [Question #258340]: Status of bug #1397515 changed to 'In Progress' in Sikuli

2014-11-29 Thread RaiMan
Bug #1397515 status changed in Sikuli: New => In Progress https://bugs.launchpad.net/sikuli/+bug/1397515 "[request] search ops should be available for given images the same way as for region objects." This bug is linked to #258340. How to use sikuli operations on ScreenShot Image File (UNLI

Re: [Sikuli-driver] [Question #258340]: How to use sikuli operations on ScreenShot Image File (UNLIKE Screen Region)

2014-11-29 Thread RaiMan
Question #258340 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258340 Linked to bug: #1397515 https://bugs.launchpad.net/bugs/1397515 "[request] search ops should be available for given images the same way as for region objects." -- You received this question not

Re: [Sikuli-driver] [Question #258340]: How to use sikuli operations on ScreenShot Image File (UNLIKE Screen Region)

2014-11-29 Thread RaiMan
Question #258340 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258340 Status: Open => Answered RaiMan proposed the following answer: Sorry for misleading: the mentioned mm = list(f.findAll(img)) only makes sense, if f is a Region object. There is an incompatibility betwe

Re: [Sikuli-driver] [Question #258340]: How to use sikuli operations on ScreenShot Image File (UNLIKE Screen Region)

2014-11-29 Thread deva
Question #258340 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258340 Status: Needs information => Open deva gave more information on the question: I tried the below code in sikuli IDE 1.1.0 f = Finder("C:\Users\Admin\Desktop\FullScreenWebpage.png") img = "iconToFind.png

[Sikuli-driver] [Bug 1363918] Re: [1.0.1] want an easy to use feature to run scripts from inside other scripts and Java code --- available in 1.1.0

2014-11-29 Thread RaiMan
** Summary changed: - [1.0.1] want an easy to use feature to run scripts from inside other scripts and Java code + [1.0.1] want an easy to use feature to run scripts from inside other scripts and Java code --- available in 1.1.0 ** Description changed: + solution available in 1.1.0 + clas

Re: [Sikuli-driver] [Question #258381]: JavaSwing - ActionPerformed button - Implements Runnable - Sikuli actions not being performed

2014-11-29 Thread RaiMan
Question #258381 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258381 Status: Open => Answered RaiMan proposed the following answer: when it looks like Sikuli features like click() do not work, this might have several reasons: - the image is found, but the target applicat

Re: [Sikuli-driver] [Question #258391]: steps on Compiling Sikuli IDE from Source via Eclipse or Netbeans

2014-11-29 Thread RaiMan
Question #258391 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258391 Status: Open => Answered RaiMan proposed the following answer: see: https://github.com/RaiMan/SikuliX-2014 -- You received this question notification because you are a member of Sikuli Drivers, which i

Re: [Sikuli-driver] [Question #258390]: Sikuli - Scale Invariant Template Matching

2014-11-29 Thread RaiMan
Question #258390 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258390 Status: Open => Answered RaiMan proposed the following answer: Sikuli currently still uses the OpenCV::matchTemplate() function in the C++ native level, to search for a pixel rectangle B in a given image

[Sikuli-driver] [Question #258391]: steps on Compiling Sikuli IDE from Source via Eclipse or Netbeans

2014-11-29 Thread Sarav
New question #258391 on Sikuli: https://answers.launchpad.net/sikuli/+question/258391 Could you please guide on the steps to compile Sikuli and IDE from Source? Searched similar but - the previous question's links were outdated. -- You received this question notification because you are a membe

[Sikuli-driver] [Question #258390]: Sikuli - Scale Invariant Template Matching

2014-11-29 Thread Sarav
New question #258390 on Sikuli: https://answers.launchpad.net/sikuli/+question/258390 is the Scale Invariant Template matching in latest version? I have been trying to implement the scale invariant template matching in Sikuli, Could you please help me with the steps - so i can implement it with