sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #25960
Re: [Question #248676]: Tesseract params and config
Question #248676 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/248676
sasha posted a new comment:
-Groovy: since you can mix pure java and groovy and even use Groovy classes directly from java classes with java syntax, I think integration might be easy. All you need is the groovy-all jar from http://groovy.codehaus.org. Some incredible functions like @Grab (http://groovy.codehaus.org/api/groovy/lang/Grab.html - I think you'll love this...) are only avalable if your RootClassLoader is GroovyClassLoader though, so if you want to support Grab (or even use it for the IDE) you'll probably have to work a bit more on it.
About the engine http://groovy.codehaus.org/api/groovy/util/GroovyScriptEngine.html is fairly easy to use. Here some example, http://groovy.codehaus.org/Embedding+Groovy, but beware the GroovyShell... I really think you'd prefer to go to GroovyScriptEngine. I say so 'cause I started with GroovyShell and then painfully refactored to GroovyScriptEngine. This way you could even run third party scripts with classpath roots as your only concern.
-Tess4J: I don't have anithing working yet, but from what I've seen
yesterday it should run smoothly with no conflicts. It will be just a
matter of removing my jars when I upgrade to the new version of Sikuli.
Unluckily for you I'll probably remove my Vision/OpenCV iplementations,
due to the answer you gave me on the other thread, so my interest for
Tess4J is less immediate now. I could refactor a more complicate part
that I use in a single script, but since I finally made it work as it is
with Vision calls, even this is not top priority for me. I'd gladly help
though, but I fear you'll need to point to a task to solve/play with...
... probably better if I just write you privately at this point ;)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.