[Java] All the Sikuli Script can be integrated into JAVA programm?

Asked by Gary Lee

All the Sikuli Script methods and functions(such as Region,Screen and Pattern,etc)can all be integrated into JAVA programm with sikuli x1.0 ??

Question information

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

principally yes.

--- have a look at http://sikuli.org/docx/faq/java-dev.html

comment on 2. Install OpenCV:
install openCV only needed on Linux.
on Windows and Mac you can use the native libs that come with the distribution.
how to on Windows: https://answers.launchpad.net/sikuli/+question/140519
how to on Mac: come back if you need it

--- method calls on Java level
some method calls might differ from the ones on the Sikuli Script level.
Look: http://sikuli.org/doc/java-x/

Revision history for this message
Gary Lee (carrot1192001) said :
#2

As your said in "How to use Sikuli Script in your JAVA programs" documentation:Sikuli Script uses OpenCV as its computer vision engine and, depending on the system environment, needs some other native libraries. These libraries are packaged with the distribution (except Linux). The native libraries are included in the sikuli-script.jar of sikuli x,right? i use windows xp

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

no, the most libs are in
sikuli-installation-folder/libs

that's why you need the additional system path entries
path-to-the-folder-containing-the-dynamicLibraries;path-to-java\jre6\bin

Revision history for this message
Gary Lee (carrot1192001) said :
#4

ok,i see