face_recognition
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'
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
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.