From ee35cf042f0b1e60f4df2dab76fbbcd611de50b9 Mon Sep 17 00:00:00 2001 From: yangjiaxuan <171295266@qq.com> Date: Thu, 26 Oct 2023 10:54:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E5=83=8F=E5=A4=84=E7=90=86=E5=85=88?= =?UTF-8?q?=E6=97=8B=E8=BD=AC=E5=86=8D=E5=AF=B9=E6=8A=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hgdriver/hgdev/hg_scanner.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/hgdriver/hgdev/hg_scanner.cpp b/hgdriver/hgdev/hg_scanner.cpp index 7b5cd15..d7bbe16 100644 --- a/hgdriver/hgdev/hg_scanner.cpp +++ b/hgdriver/hgdev/hg_scanner.cpp @@ -5150,18 +5150,18 @@ void hg_scanner::image_process(std::shared_ptr& 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_);