← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #698600]: Mac11.5.2 Mouse not usable (blocked)

 

Question #698600 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/698600

    Status: Answered => Open

lisong2 is still having a problem:
Thanks! mouse issue resolved, but new error comes on the hover() method:
screen.hover();  works, 

but
screen.hover(imgpath+"apple.png"); gives me below error:

Exception in thread "main" CvException [org.opencv.core.CvException: cv::Exception: OpenCV(4.3.0) /Users/jason/Projects/openpnp/opencv/opencv/opencv-4.3.0/modules/imgproc/src/templmatch.cpp:838: error: (-213:The function/feature is not implemented)  in function 'matchTemplateMask'
]
	at org.opencv.imgproc.Imgproc.matchTemplate_0(Native Method)
	at org.opencv.imgproc.Imgproc.matchTemplate(Imgproc.java:7485)
	at org.sikuli.script.Finder$Finder2.doFindMatch(Finder.java:745)
	at org.sikuli.script.Finder$Finder2.doFindImage(Finder.java:706)
	at org.sikuli.script.Finder$Finder2.doFind(Finder.java:624)
	at org.sikuli.script.Finder$Finder2.find(Finder.java:584)
	at org.sikuli.script.Finder.find(Finder.java:221)
	at org.sikuli.script.Region.runFinder(Region.java:2861)
	at org.sikuli.script.Region.doFind(Region.java:2799)
	at org.sikuli.script.Region.access$200(Region.java:29)
	at org.sikuli.script.Region$RepeatableFind.run(Region.java:3057)
	at org.sikuli.script.Region$Repeatable.repeat(Region.java:3002)
	at org.sikuli.script.Region.wait(Region.java:2200)
	at org.sikuli.script.Region.wait(Region.java:2244)
	at org.sikuli.script.Region.getLocationFromTarget(Region.java:3298)
	at org.sikuli.script.Region.mouseMove(Region.java:4209)
	at org.sikuli.script.Region.hover(Region.java:3864)
	at main.main(main.java:18)

so looks like my opencv is not working, do you have any intel? since
sikuliX-IDE totally works for me when mouse hover on a pic, but java
not.

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