|
|
|
|
@ -143,7 +143,7 @@ int AIFactory::InitALLAIModle(GPU_Config gupconfig)
|
|
|
|
|
boe_config.inputType = AIModel_Base::Input_CHW;
|
|
|
|
|
AI_defect_zf->Init(boe_config);
|
|
|
|
|
}
|
|
|
|
|
// 标签 检测
|
|
|
|
|
// 标签 定位
|
|
|
|
|
if (!AI_defect_bq)
|
|
|
|
|
{
|
|
|
|
|
AI_defect_bq = AIModel_Base::GetInstance();
|
|
|
|
|
@ -154,6 +154,17 @@ int AIFactory::InitALLAIModle(GPU_Config gupconfig)
|
|
|
|
|
boe_config.inputType = AIModel_Base::Input_CHW;
|
|
|
|
|
AI_defect_bq->Init(boe_config);
|
|
|
|
|
}
|
|
|
|
|
// 标签 检测
|
|
|
|
|
if (!AI_defect_Tag)
|
|
|
|
|
{
|
|
|
|
|
AI_defect_Tag = AIModel_Base::GetInstance();
|
|
|
|
|
AIModel_Base::AIModelRun_Config boe_config;
|
|
|
|
|
boe_config.gpuconfig.copy(gupconfig);
|
|
|
|
|
boe_config.strPath = "/home/aidlux/BOE/UseModel_FOG/defect_L127.engine";
|
|
|
|
|
boe_config.strName = "tag";
|
|
|
|
|
boe_config.inputType = AIModel_Base::Input_CHW;
|
|
|
|
|
AI_defect_Tag->Init(boe_config);
|
|
|
|
|
}
|
|
|
|
|
// 字符 127cell
|
|
|
|
|
if (!AI_defect_127Cell)
|
|
|
|
|
{
|
|
|
|
|
|