|
|
|
@ -246,7 +246,8 @@ int AI_Edge_Algin::Detect(const cv::Mat &img, DetConfig *pDetConfig, std::shared
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return re;
|
|
|
|
return re;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
re = Get_Edge(1, img, pDetConfig, m_pDetConfig->strChannel, Small_roi);
|
|
|
|
cv::Mat Big_outimg_src = img(Big_roi.boundingRect()).clone();
|
|
|
|
|
|
|
|
re = Get_Edge(1, Big_outimg_src, pDetConfig, m_pDetConfig->strChannel, Small_roi);
|
|
|
|
if (re != 0)
|
|
|
|
if (re != 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
m_pdetlog->AddCheckstr(PrintLevel_2, DET_LOG_LEVEL_3, "AI_Edge_Algin ", "AICheck_Edge_Small----error %d ", re);
|
|
|
|
m_pdetlog->AddCheckstr(PrintLevel_2, DET_LOG_LEVEL_3, "AI_Edge_Algin ", "AICheck_Edge_Small----error %d ", re);
|
|
|
|
|