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'