解决:"error: -215:Assertion failed !_src.empty in function 'cv::cvtColor' "
报错如下
分析原因
可能是照片无效问题,即cv2.imread返回的值为None!
解决方法
找到那张照片,删掉即可!
标签:function,src,215,Assertion,failed,报错,cvtColor,cv
来源: https://blog.csdn.net/FriendshipTang/article/details/113879126