error Traceback (most recent call last)
error: OpenCV(4.1.2) /io/opencv/modules/objdetect/src/cascadedetect.cpp:569: error: (-2:Unspecified error) in function 'bool cv::HaarEvaluator::Feature::read(const cv::FileNode&, const Size&)'
> Invalid HAAR feature (expected: 'rw.r.x + rw.r.width <= W'), where
> 'rw.r.x + rw.r.width' is 37
> must be less than or equal to
> 'W' is 11
The above exception was the direct cause of the following exception:
SystemError Traceback (most recent call last)
<ipython-input-28-9384123b8097> in <module>
----> 1 eyePair_cascade = cv2.CascadeClassifier('./haar-cascade/haarcascades_haarcascade_mcs_eyepair_big.xml') #eye_pair
SystemError: <class 'cv2.CascadeClassifier'> returned a result with an error set
The above exception was the direct cause of the following exception: