图像处理先旋转再对折

This commit is contained in:
yangjiaxuan 2023-10-26 10:54:42 +08:00
parent 0db35e4b3b
commit ee35cf042f
1 changed files with 6 additions and 6 deletions

View File

@ -5150,18 +5150,18 @@ void hg_scanner::image_process(std::shared_ptr<tiny_buffer>& buffer, uint32_t id
(this->*dump_img_)(ImagePrc_pHandle_, "colorCorrection");
}
if (((img_conf_.en_fold && pid_ != 0x239 && pid_ != 0x439)))
{
hg_imgproc::fold(ImagePrc_pHandle_);
(this->*dump_img_)(ImagePrc_pHandle_, "fold");
}
if (((img_conf_.imageRotateDegree != TEXT_DIRECTION_0 || img_conf_.is_backrotate180) && (!img_conf_.is_autotext)) && (pid_ != 0x239 && pid_ != 0x439))
{
hg_imgproc::orentation(ImagePrc_pHandle_);
(this->*dump_img_)(ImagePrc_pHandle_, "orentation");
}
if (((img_conf_.en_fold && pid_ != 0x239 && pid_ != 0x439)))
{
hg_imgproc::fold(ImagePrc_pHandle_);
(this->*dump_img_)(ImagePrc_pHandle_, "fold");
}
if ((img_conf_.textureRemove) && (pid_ != 0x239 && pid_ != 0x439))
{
//hg_imgproc::textureRemove(ImagePrc_pHandle_);