← Back to team overview

sikuli-driver team mailing list archive

[Bug 1884517] Re: org.opencv.core.CvException: CvException in Windows Server 2012 R2

 

This is on Windows Server 2012 R2, screen resolution is 1440x900.  Same
code worked on other occasions and all the time on other Windows OSes.

Code:

LocalRegionObject = ( Region(0,0,1440,900) )

if LocalRegionObject.exists( Pattern("1494237247598.png").similar(0.75),
0.1 )

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1884517

Title:
  org.opencv.core.CvException: CvException in Windows Server 2012 R2

Status in Sikuli:
  New

Bug description:
  if LocalRegionObject.exists( IndividualImage, TimeValue ):

  at org.opencv.imgproc.Imgproc.matchTemplate_1(Native Method)
  at org.opencv.imgproc.Imgproc.matchTemplate(Imgproc.java:2616)
  at org.sikuli.script.Finder$Finder2.doFindMatch(Finder.java:733)
  at org.sikuli.script.Finder$Finder2.doFindImage(Finder.java:704)
  at org.sikuli.script.Finder$Finder2.doFind(Finder.java:622)
  at org.sikuli.script.Finder$Finder2.find(Finder.java:582)
  at org.sikuli.script.Finder.findRepeat(Finder.java:109)
  at org.sikuli.script.Region.doFind(Region.java:2720)
  at org.sikuli.script.Region.access$200(Region.java:28)
  at org.sikuli.script.Region$RepeatableFind.run(Region.java:2983)
  at org.sikuli.script.Region$Repeatable.repeat(Region.java:2926)
  at org.sikuli.script.Region.exists(Region.java:2322)
  at jdk.internal.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.base/java.lang.reflect.Method.invoke(Method.java:567)
  org.opencv.core.CvException: CvException [org.opencv.core.CvException: cv::Exception: OpenCV(3.4.2) C:\build\3_4_winpack-bindings-win64-vc14-static\opencv\modules\core\src\matrix.cpp:367: error: (-215:Assertion failed) u != 0 in function 'cv::Mat::create'

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1884517/+subscriptions


References