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_);