cv2.error: OpenCV(4.2.0) error: (-215:Assertion failed) !empty() in function 以上报错都是训练参数路径不对
当opencv-python安装好
当opencv-contrib-python安装好
运行python的opencv程序,报错如下
一、第一种
Traceback (most recent call last):
File "face_detect.py", line 21, in <module>
cv.imshow("input image", src)
cv2.error: OpenCV(4.2.0) /io/opencv/modules/highgui/src/wi...
原创
2020-09-25 22:20:35 ·
2850 阅读 ·
1 评论