← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #264451]: issues with interfacing SikuliX jar with C++ using JNI

 

Question #264451 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/264451

    Status: Open => Answered

RaiMan proposed the following answer:
Wooouuw, that is overkill ;-)

The Sikuli project once was born to wrap the OpenCV features in Java
using C++ and JNI, to be able to use the same high level API and Java
based scripting languages on Windows, Mac and Linux.

When you are in C++ anyway, then you should use the C++ API of OpenCV
directly. That all is rather simple and OpenCV has all needed features
to handle image files.

About screenshots and keyboard/mouse handling, I do not know the
libraries needed, but her again it would be much easier to directly
access the Java Robot class.

The class RunTime is the new bootstrap/startup class and it is at org.sikuli.script.
It is a singleton, has no public constructor and is initialised using RunTime.get()

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.