V20251231-2.3.3

增加了rpcFIns的boos改版,在发送数据量较多时表现良好。(测试)
增加了存图时会将路径写入到单独的数据库中。(测试)
 增加了chainWatcher用于监控线程是否异常退出或未启动。(测试)
在赢合预设中进站ng之类的会发送4到结果地址。
TextRendererZH类修改为可暂存需要绘画/打印的内容,并在需要的时候统一打印。
参数修改界面新增能隐藏预览中部分分类的功能。
优化程序结构。
This commit is contained in:
2026-01-01 00:49:11 +08:00
parent 49c3dc92ae
commit 3c5e6487f4
79 changed files with 3583 additions and 4552 deletions
@@ -244,7 +244,9 @@ void __stdcall ImageCallBackEx(unsigned char* pData0, MV_FRAME_OUT_INFO_EX* pFra
{
srcImage = cv::Mat(5, 5, CV_8UC1).setTo(0);
}
queuepic.push_back(srcImage);
queuepic.enqueue(srcImage);
if (queuepic.size() > 10)
queuepic.dequeue();
pData0 = { 0 };
double time_End = (double)clock();
qDebug() << "[INFO] " << __FUNCTION__ << " line:" << __LINE__ << " checkImg getImg,Time:" << (time_End - time_Start) << "ms"
@@ -303,14 +305,6 @@ Hd_CameraModule_HIK_General::~Hd_CameraModule_HIK_General()
//从类中读数据到实例对象
bool Hd_CameraModule_HIK_General::readData(std::vector<cv::Mat>& mat, QByteArray& data)
{
if(data == "getStatus"){
data = lastError.toUtf8();
return true;
}
if (data == "clearCache") {
queuepic.clear();
return true;
}
if (queuepic.isEmpty())
{
return false;
@@ -334,6 +328,14 @@ bool Hd_CameraModule_HIK_General::writeData(std::vector<cv::Mat>& mat, QByteArra
return true;
}
}
if (data == "getStatus") {
data = lastError.toUtf8();
return true;
}
if (data == "clearCache") {
queuepic.clear();
return true;
}
return true;
}
//传入initParas函数,格式为:相机key+参数名1#参数值1#参数值2+参数名2#参数值1...