← Back to team overview

sikuli-driver team mailing list archive

[Bug 1818040] [NEW] [1.1.4] OpenCV assertions should be handled by SikuliX (like image size > region size)

 

Public bug reported:

Sometimes I get these errors:

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\imgproc\src\templmatch.cpp:1107: error:
(-215:Assertion failed) _img.size().height <= _templ.size().height &&
_img.size().width <= _templ.size().width in function 'cv::matchTemplate'

Am I right in assuming they are to do with the region being too small or
not fitting the image/pattern I am searching for when it is found? I
think I am able to work around by extending/recapturing the region after
which these errors stop. But I am not 100% certain.

** Affects: sikuli
     Importance: Undecided
         Status: New

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

Title:
  [1.1.4] OpenCV assertions should be handled by SikuliX (like image
  size > region size)

Status in Sikuli:
  New

Bug description:
  Sometimes I get these errors:

  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\imgproc\src\templmatch.cpp:1107:
  error: (-215:Assertion failed) _img.size().height <=
  _templ.size().height && _img.size().width <= _templ.size().width in
  function 'cv::matchTemplate'

  Am I right in assuming they are to do with the region being too small
  or not fitting the image/pattern I am searching for when it is found?
  I think I am able to work around by extending/recapturing the region
  after which these errors stop. But I am not 100% certain.

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


Follow ups