调整cis原图初检

This commit is contained in:
yangjiaxuan 2023-06-20 18:41:37 +08:00
parent e6eaefb511
commit 1f9fac6890
1 changed files with 12 additions and 5 deletions

View File

@ -532,14 +532,21 @@ namespace hg_imgproc
fillhole1(Temp_mat, top, low, left, right);
VLOG_MINI_2(LOG_LEVEL_DEBUG_INFO, "Remove hole is '%s',Hole image buffer size is:%d\n", !Temp_mat.empty() ? "enable" : "close", Temp_mat.size());
if (img_conf_.is_duplex)
if (param_.cis_image)
{
mats_.push_back(img_conf_.is_switchfrontback ? Temp_mat[1] : Temp_mat[0]);
mats_.push_back(img_conf_.is_switchfrontback ? Temp_mat[0] : Temp_mat[1]);
mats_ = Temp_mat;
}
else
mats_.push_back(Temp_mat[0]);
{
if (img_conf_.is_duplex)
{
mats_.push_back(img_conf_.is_switchfrontback ? Temp_mat[1] : Temp_mat[0]);
mats_.push_back(img_conf_.is_switchfrontback ? Temp_mat[0] : Temp_mat[1]);
}
else
mats_.push_back(Temp_mat[0]);
}
}
else
{