OpenCV(4.0.0) Python Error: (-215:Assertion Failed) (mtype == CV_8U || Mtype == CV_8S) && _mask.sameSize(*psrc1) In Function 'cv::binary_op'
I am trying to apply mask on an image using opencv bitwise-not. I am able to achieve this result if…
Read more
OpenCV(4.0.0) Python Error: (-215:Assertion Failed) (mtype == CV_8U || Mtype == CV_8S) && _mask.sameSize(*psrc1) In Function 'cv::binary_op'