基于qt的人脸识别考勤系统,管理员登录输入密码后打开摄像头出错,有偿!

img


错误代码:OpenCV: terminate handler is called! The last OpenCV error is:
OpenCV(3.4.4) Error: Unspecified error (File can't be opened for reading!) in read, file ..\AdminFace\src\facerec.cpp, line 61

img

61行执行错误了

img

61行读取文件失败,检查一下这个文件在不在,一般应该是人脸模型吧,这个看你cmake的时候有没有下载