统一相机补图为补单通道黑色

This commit is contained in:
2025-10-30 15:26:31 +08:00
parent eea27efbc6
commit 5c8eb11033
5 changed files with 6 additions and 6 deletions
@@ -682,7 +682,7 @@ bool Hd_CameraModule_HIK_hard_USB::run()
break;
}
if (cnt > 150) {
queuepic.push_back(cv::Mat(200, 200, CV_8UC3, cv::Scalar(0, 255, 0))); //返回空图
queuepic.push_back(cv::Mat(200, 200, CV_8UC1, cv::Scalar(0))); //返回空图
std::cout << "timeout" << std::endl;
n_mutex->unlock();
return true;