face_recognition icon indicating copy to clipboard operation
face_recognition copied to clipboard

error: OpenCV(4.5.1) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-6uw63ony\opencv\modules\imgproc\src\templmatch.cpp:1174: error: (-215:Assertion failed) _img.size().height <= _templ.size().height && _img.size().width <= _templ.size().width in function 'cv::matchTemplate'

Open ghost opened this issue 4 years ago • 1 comments

error: OpenCV(4.5.1) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-6uw63ony\opencv\modules\imgproc\src\templmatch.cpp:1174: error: (-215:Assertion failed) _img.size().height <= _templ.size().height && _img.size().width <= _templ.size().width in function 'cv::matchTemplate'

I am trying the detect the credit card numbers on images using OCR but getting this error

ghost avatar Apr 20 '21 12:04 ghost

if you are using the haarcascade_frontalface_default.xml just this in your path then u should go to python file in your C or D drive and in the site-package system you will get the haarcascade_frontalface_default.xml file copy the path and past it in your programming path.

viv2712 avatar Aug 28 '21 17:08 viv2712