|
|
|
@ -1605,6 +1605,39 @@ struct AD_Analysisy_Bind
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct AD_Analysisy_SF
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
std::vector<std::string> s_sf;
|
|
|
|
|
|
|
|
std::vector<std::string> region_sf;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AD_Analysisy_SF()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Init();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void Init()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
s_sf.clear();
|
|
|
|
|
|
|
|
region_sf.clear();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void copy (AD_Analysisy_SF tem)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
this->s_sf = tem.s_sf;
|
|
|
|
|
|
|
|
this->region_sf = tem.region_sf;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
std::string GetInfo(std::string str)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
std::string str123;
|
|
|
|
|
|
|
|
for (int i = 0; i < s_sf.size(); i++)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
str123 += str + ":s_sf " + s_sf[i] + ";";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
for (int i = 0; i < region_sf.size(); i++)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
str123 += str + ":region_sf " + region_sf[i] + ";";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return str123;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
// 异物检测功能
|
|
|
|
// 异物检测功能
|
|
|
|
struct Function_POL_Check
|
|
|
|
struct Function_POL_Check
|
|
|
|
{
|
|
|
|
{
|
|
|
|
@ -2218,6 +2251,7 @@ struct Base_Function_AD_Check
|
|
|
|
AD_Analysisy_S analysis_s; // s 标准分析
|
|
|
|
AD_Analysisy_S analysis_s; // s 标准分析
|
|
|
|
AD_Analysisy_IOU analysis_iou; // IOU 分析
|
|
|
|
AD_Analysisy_IOU analysis_iou; // IOU 分析
|
|
|
|
AD_Analysisy_Bind analysis_bind; // 绑定分析
|
|
|
|
AD_Analysisy_Bind analysis_bind; // 绑定分析
|
|
|
|
|
|
|
|
AD_Analysisy_SF analysis_sf; // 同画面参数分析
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Base_Function_AD_Check()
|
|
|
|
Base_Function_AD_Check()
|
|
|
|
@ -2235,6 +2269,7 @@ struct Base_Function_AD_Check
|
|
|
|
analysis_s.Init();
|
|
|
|
analysis_s.Init();
|
|
|
|
analysis_iou.Init();
|
|
|
|
analysis_iou.Init();
|
|
|
|
analysis_bind.Init();
|
|
|
|
analysis_bind.Init();
|
|
|
|
|
|
|
|
analysis_sf.Init();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void copy(Base_Function_AD_Check tem)
|
|
|
|
void copy(Base_Function_AD_Check tem)
|
|
|
|
@ -2248,18 +2283,20 @@ struct Base_Function_AD_Check
|
|
|
|
this->analysis_s.copy(tem.analysis_s);
|
|
|
|
this->analysis_s.copy(tem.analysis_s);
|
|
|
|
this->analysis_iou.copy(tem.analysis_iou);
|
|
|
|
this->analysis_iou.copy(tem.analysis_iou);
|
|
|
|
this->analysis_bind.copy(tem.analysis_bind);
|
|
|
|
this->analysis_bind.copy(tem.analysis_bind);
|
|
|
|
|
|
|
|
this->analysis_sf.copy(tem.analysis_sf);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
void print(std::string str)
|
|
|
|
void print(std::string str)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
printf("%s>>bOpen %d %s %s %s %s %s %s %s\n", str.c_str(),
|
|
|
|
printf("%s>>bOpen %d %s %s %s %s %s %s %s %s %s\n", str.c_str(),
|
|
|
|
bOpen, S_standard_3s.GetInfo("3S").c_str(),
|
|
|
|
bOpen, S_standard_3s.GetInfo("3S").c_str(),
|
|
|
|
S_standard_2s.GetInfo("2S").c_str(),
|
|
|
|
S_standard_2s.GetInfo("2S").c_str(),
|
|
|
|
S_standard_1s.GetInfo("1S").c_str(),
|
|
|
|
S_standard_1s.GetInfo("1S").c_str(),
|
|
|
|
analysis_num.GetInfo("analysis_num").c_str(),
|
|
|
|
analysis_num.GetInfo("analysis_num").c_str(),
|
|
|
|
analysis_dis.GetInfo("analysis_dis").c_str(),
|
|
|
|
analysis_dis.GetInfo("analysis_dis").c_str(),
|
|
|
|
analysis_s.GetInfo("analysis_s").c_str(),
|
|
|
|
analysis_s.GetInfo("analysis_s").c_str(),
|
|
|
|
analysis_iou.GetInfo("analysis_iou").c_str()),
|
|
|
|
analysis_iou.GetInfo("analysis_iou").c_str(),
|
|
|
|
analysis_bind.GetInfo("analysis_bind").c_str();
|
|
|
|
analysis_bind.GetInfo("analysis_bind").c_str(),
|
|
|
|
|
|
|
|
analysis_sf.GetInfo("analysis_sf").c_str());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
std::string GetInfo(std::string str)
|
|
|
|
std::string GetInfo(std::string str)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
@ -2274,6 +2311,7 @@ struct Base_Function_AD_Check
|
|
|
|
str123 += analysis_s.GetInfo("analysis_s");
|
|
|
|
str123 += analysis_s.GetInfo("analysis_s");
|
|
|
|
str123 += analysis_iou.GetInfo("analysis_iou");
|
|
|
|
str123 += analysis_iou.GetInfo("analysis_iou");
|
|
|
|
str123 += analysis_bind.GetInfo("analysis_time");
|
|
|
|
str123 += analysis_bind.GetInfo("analysis_time");
|
|
|
|
|
|
|
|
str123 += analysis_sf.GetInfo("analysis_sf");
|
|
|
|
|
|
|
|
|
|
|
|
return str123;
|
|
|
|
return str123;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|