错误:[email protected];错误:[email protected]:haarcascade_frontalface_default.xml' 在读取模式下,getStreamChannelGroup 相机索引超出范围

问题描述 投票:0回答:0

当我尝试执行代码时出现此错误,有人知道解决方案吗?

/Face-Detection-Recognition-Using-OpenCV-in-Python-master/collect_training_data.py" [ERROR:[email protected]] global persistence.cpp:505 cv::FileStorage::Impl::open 无法在读取模式下打开文件:'haarcascade_frontalface_default.xml' [错误:[email protected]] 全局 obsensor_uvc_stream_channel.cpp:156 cv::obsensor::getStreamChannelGroup 相机索引超出范围 收集了 0 张图片 追溯(最近一次通话): 文件“c:\Users\x\Downloads\Face-Detection-Recognition-Using-OpenCV-in-Python-master (1)\Face-Detection-Recognition-Using-OpenCV-in-Python-master

python opencv face-recognition face-detection haar-classifier
© www.soinside.com 2019 - 2024. All rights reserved.