AttributeError: module 'cv2' has no attribute 'imread'

主要原因是程序命名为cv.py或者cv2.py,只需将改为其他的就可以了偷笑

猜你喜欢

转载自blog.csdn.net/pursuit_zhangyu/article/details/80006186