[1.1.4] CvException when using find() in a project upgraded from 1.1.3 due to not supported png-image-type
See original GitHub issueBeing eager to make use of the both the improved OCR and the transparent masking, this week I upgraded an existing, in-progress project from 1.1.3 to 1.1.4 to attempt to make use of the new features. Noticing that everything required is now bundled into one .jar file, I removed my old Sikuli 1.1.3 install directory & jar file, and imported the nightly build via maven. However, I can no longer run any of my tests using sikuli, because any attempt to find an image results in this error:
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:1102: error:
(-215:Assertion failed) (depth == 0 || depth == 5) && type == _templ.type() && _img.dims() <= 2 in
function 'cv::matchTemplate'
]
I’m unclear what could be causing this issue, as I’m not very clued up on the underlying opencv libraries, but I was previously able to make use of this exact image before so I don’t believe that it is the issue unless a significant requirement for saved images has changed.
Eager to get to the bottom of this as, like I said, I’m excited to make use of the new stuff.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top GitHub Comments
Uuups, sorry. Did not realize, that I left the OSSRH upload switched off after some testing. Today’s build should it bring back again.
Hi Again RaiMan, just dropping in to ask when the Maven clone will be updated with this fix? I’m using Maven to simplify the build process on CI machines but the version found via Maven is from August. Thanks again.