Can Sikuli be imbeded in an Applet

Asked by mctouch

I would like to run the capture() method from an applet and have the resultant image transfer up to a webservice running Sikuli for a findall(). Has anybody included sikuli in a downloadable applet? Is this possible.

I know that processing.org applets download dll's and shared object libaries for jogl to the client, it might be possible for the opencv libraries.

Any advice would be appreciated.

Thanks

mctouch

Question information

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

Already looked through
http://sikuli.org/documentation.shtml#/trac/wiki/How%20to%20use%20Sikuli%20Script%20in%20your%20JAVA%20programs

For Windows as target machine, it should be rather easy by just using the Tmplib content from the installation directory in an appropriate way.

If in your applet you have problems with the JNI-loader and the default Tmplib directory try:

import java
java.lang.System.setProperty("java.library.tmpdir", absolutePath)

before importing anything from Sikuli.

absolutePath could be the directory to where you downloaded the relevant native modules (e.g. the openCV dll's) before.

Can you help with this problem?

Provide an answer of your own, or ask mctouch for more information if necessary.

To post a message you must log in.