阅读量:1
报错:
cv2.error: OpenCV(4.10.0) :-1: error: (-5:Bad argument) in function 'normalize'
> Overload resolution failed:
> - src is not a numpy array, neither a scalar
> - Expected Ptr<cv::UMat> for argument 'src'
查到最后是opencv版本问题
卸载现在的高版本(opencv-python4.10):
pip uninstall opencv-python
安装低版本:
pip install opencv-python==4.6.0.66
然后就不报这个错了!