[ERROR:0@0.244] global persistence.cpp:512 cv::FileStorage::Impl::open Can't open file: 'D:\Python 资料\Python OpenCV从入门到精通\sl\16\clock\cascades\haarcascade_frontalface_default.xml' in read mode
[ WARN:0@0.256] global loadsave.cpp:248 cv::findDecoder imread_('D:\Python 资料\Python OpenCV从入门到精通\sl\16\clock\data\faces\1000000000.png'): can't open/read file: check file path/integrity
[ WARN:0@0.257] global loadsave.cpp:248 cv::findDecoder imread_('D:\Python 资料\Python OpenCV从入门到精通\sl\16\clock\data\faces\2000000000.png'): can't open/read file: check file path/integrity
Traceback (most recent call last):
File "D:\Python 资料\Python OpenCV从入门到精通\sl\16\clock\main.py", line 205, in <module>
hr.load_emp_data() # 数据初始化
File "D:\Python 资料\Python OpenCV从入门到精通\sl\16\clock\service\hr_service.py", line 279, in load_emp_data
io.load_employee_pic() # 载入员工照片
File "D:\Python 资料\Python OpenCV从入门到精通\sl\16\clock\util\io_tools.py", line 82, in load_employee_pic
rs.train(photos, lables) # 识别器训练样本
File "D:\Python 资料\Python OpenCV从入门到精通\sl\16\clock\service\recognize_service.py", line 18, in train
RECOGNIZER.train(photos, np.array(lables)) # 识别器开始训练
cv2.error: OpenCV(4.8.1) D:\a\opencv-python\opencv-python\opencv\modules\core\src\matrix.cpp:246: error: (-215:Assertion failed) s >= 0 in function 'cv::setSize'
请问这个该怎么操作?