Vision class missing in sikulixapi-2.0.4.jar
we used old sikulixapi.jar for longtime and forced to use the latest own.
While importing the latest jar - sikulixapi-
import org.sikuli.
This Vision is used as
Vision.
with New jar - how to handle the above ?
I tried some suggestions as org.sikuli.
Please suggest the right one
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Sikuli Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- 2020-03-24
- Last query:
- 2020-03-24
- Last reply:
- 2020-03-23
|
#1 |
A class Vision does no longer exist, since everything OpenCV related is now implemented at the Java level.
The above feature does not make sense anyways anymore with the current implementation.
So simply purge it.
Selva (ganapathy-selva) said : | #2 |
Hi RaiMan,
Thanks for the update. I have commnted out the above feature. But I am having issue on just simple click on screen image
like
Screen scr=new Screen();
String sImagePath=
scr.click(
This was the one used to work earlier but throws error as added below.
I am using java 1.8.0.241 - and sikulixapi-
Is there any change in latest version and also any document to provide java coding on scree based, click, DoubleClick, exists where the sImagePath is path of png image
--
java.lang.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at Script.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
at junit.framework
at junit.framework
at junit.framework
at junit.framework
at junit.framework
at junit.framework
at junit.framework
at junit.framework
at org.junit.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
---
Selva (ganapathy-selva) said : | #3 |
I am closing this . Looks there is an issue in the order of jar in classpath. workign fine when I add this as first item in class path .
Selva (ganapathy-selva) said : | #4 |
Thanks RaiMan, that solved my question.