对折和选择优先级调整

This commit is contained in:
13038267101 2023-07-03 15:48:18 +08:00
parent 291fe2ccbb
commit 54427b3b67
1 changed files with 5 additions and 5 deletions

View File

@ -4623,6 +4623,11 @@ 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))
{
@ -4655,11 +4660,6 @@ void hg_scanner::image_process(std::shared_ptr<tiny_buffer>& buffer, uint32_t id
(this->*dump_img_)(ImagePrc_pHandle_, "errorextention");
}
if (((img_conf_.en_fold && pid_ != 0x239 && pid_ != 0x439)))
{
hg_imgproc::fold(ImagePrc_pHandle_);
(this->*dump_img_)(ImagePrc_pHandle_, "fold");
}
if (img_conf_.multi_output_red && img_conf_.pixtype == COLOR_MODE_24_BITS)//239
{