图像处理先旋转再对折
This commit is contained in:
parent
0db35e4b3b
commit
ee35cf042f
|
@ -5150,18 +5150,18 @@ void hg_scanner::image_process(std::shared_ptr<tiny_buffer>& buffer, uint32_t id
|
||||||
(this->*dump_img_)(ImagePrc_pHandle_, "colorCorrection");
|
(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))
|
if (((img_conf_.imageRotateDegree != TEXT_DIRECTION_0 || img_conf_.is_backrotate180) && (!img_conf_.is_autotext)) && (pid_ != 0x239 && pid_ != 0x439))
|
||||||
{
|
{
|
||||||
hg_imgproc::orentation(ImagePrc_pHandle_);
|
hg_imgproc::orentation(ImagePrc_pHandle_);
|
||||||
(this->*dump_img_)(ImagePrc_pHandle_, "orentation");
|
(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))
|
if ((img_conf_.textureRemove) && (pid_ != 0x239 && pid_ != 0x439))
|
||||||
{
|
{
|
||||||
//hg_imgproc::textureRemove(ImagePrc_pHandle_);
|
//hg_imgproc::textureRemove(ImagePrc_pHandle_);
|
||||||
|
|
Loading…
Reference in New Issue