← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #677361]: How do i import python modules into sikuliX script ?

 

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

ONG YI CHONG gave more information on the question:
import java.lang.System.out as jSysOut
import org.opencv.core.Mat as CVMat
import org.opencv.imgcodecs.Imgcodecs as IC
import org.opencv.highgui.HighGui as HG


print(HG)
print(IC)
## Load image
aMat = CVMat() 

output: 
<type 'org.opencv.highgui.HighGui'>
<type 'org.opencv.imgcodecs.Imgcodecs'>
[error] script [ automateScreenShotV3.0 ] stopped with error in line 11
[error] java.lang.UnsatisfiedLinkError ( java.lang.UnsatisfiedLinkError: org.opencv.core.Mat.n_Mat()J )


Im getting an unsatisfied link error when i try to assign aMat() = CVMat()

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.