Sikuli-api-standalone or sikuli-java.jar ?

Asked by Pedro Diaz

Hello all,

In our company we are using sikuli-api-1.0.2-standalone.jar but today we updated our machines (ubuntu 12.04) and our code stop working.
I went into sikuli.org and (last time I checked was very different) I found the new installer but I am a bit confused about how I can update our project. Not sure if the sikuli-api is kind of unmaintained and we need to move to the sikuli-java.jar (and hence rewrite the code)

Here is a bit of information about the project:

The code looks similar to this.

public void setUp() {
  ScreenRegion sikuliScreen = new DesktopScreenRegion();
 // ...
}

public void method1() {
  ScreenRegion image = this.sikuliScreen.find(image2);
}

Now during execution seems that is not doing anything.

The system I am using to develop is Mac OS 10.9.1 with java 7 update 45.

Thanks so much.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Pedro Diaz
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

The package line SikuliX (now on version 1.0.1) is not API compatible to what you are using currently, sorry.

And I already noticed, that the api 1.0.2 was not touched for over one year now (so I guess, that Tom Yeh has at least paused to do something on it).

Your problem surely is the compatibility of the bundled OpenCV modules in api 1.0.2., but sorry, I cannot help you with that.

I agree, you are in a tricky situation: staying with api 1.0.2 would mean you have to solve your problems by diving into the internals of the stuff.
You might switch to SikuliX (which is guaranteed to be developed further (1.1 early 2014)) and has much more attractive features for testers and automakers ;-)

... but I cannot help you with your decision.

Revision history for this message
Pedro Diaz (pdiaz) said :
#2

Thank you so much RaiMan for your quick answer.

I think I will move the entire project to the maintained version.

Great job that you are doing with Sikuli. :-)

Revision history for this message
RaiMan (raimund-hocke) said :
#3

Thanks for feedback.

All the best.
Come back with any question if needed.

Revision history for this message
Southy (mark-southward) said :
#4

Interestingly, I am at the same crossroads.
I used the standalone api (and added a remote interface) which works but there is no support (not even answers to questions posted).

I am hoping that RaiMan will include this (remote) functionality in the next Beta and he has a plan to further develop the text recognition (I think).

The future looks brighter here :)

Mark

Revision history for this message
Pedro Diaz (pdiaz) said :
#5

Yes, we decided to go through with the standalone just because of the facility to deploy the code packed with the project.

Since now the standalone is not working, for us, we will need to switch to the sikuli script.

Thank you all for your comments, first time I post here and really great feeling.