调整 最大尺寸裁切三米超时设置
This commit is contained in:
parent
ca31cc7ea1
commit
62d8334646
|
@ -3871,7 +3871,10 @@ void hg_scanner::image_process(std::shared_ptr<tiny_buffer>& buffer, uint32_t id
|
||||||
|
|
||||||
VLOG_MINI_3(LOG_LEVEL_DEBUG_INFO, "Set distortion val is:h:%f w:%f distortion val is:%f\n", distortion_val.h, distortion_val.w, distortion_val.scaleXY);
|
VLOG_MINI_3(LOG_LEVEL_DEBUG_INFO, "Set distortion val is:h:%f w:%f distortion val is:%f\n", distortion_val.h, distortion_val.w, distortion_val.scaleXY);
|
||||||
}
|
}
|
||||||
else if (param.cis_image || (img_conf_.papertype == TwSS::MaxSize && pid_ == 0x0300 && is_kernelsnap3288_230210_))
|
else if (param.cis_image
|
||||||
|
|| ((img_conf_.papertype == TwSS::MaxSize || img_conf_.papertype == TwSS::USStatement)
|
||||||
|
&& pid_ == 0x0300
|
||||||
|
&& is_kernelsnap3288_230210_))
|
||||||
{
|
{
|
||||||
printf("cis 原图测试无需任何算法\r\n");
|
printf("cis 原图测试无需任何算法\r\n");
|
||||||
}
|
}
|
||||||
|
|
|
@ -208,7 +208,7 @@ void hg_scanner_300::thread_handle_usb_read(void)
|
||||||
}
|
}
|
||||||
if (sw.elapsed_ms() > 30000 && img_conf_.resolution_dst != 600)//防止状态信息一直取不上来导致卡死
|
if (sw.elapsed_ms() > 30000 && img_conf_.resolution_dst != 600)//防止状态信息一直取不上来导致卡死
|
||||||
{
|
{
|
||||||
if (img_conf_.papertype == TwSS::MaxSize && pid_ == 0x0300 && is_kernelsnap3288_230210_)
|
if ((img_conf_.papertype == TwSS::MaxSize || img_conf_.papertype == TwSS::USStatement) && pid_ == 0x0300 && is_kernelsnap3288_230210_)
|
||||||
{
|
{
|
||||||
hg_log::log(LOG_LEVEL_WARNING, "while 30S\n");
|
hg_log::log(LOG_LEVEL_WARNING, "while 30S\n");
|
||||||
}
|
}
|
||||||
|
@ -485,7 +485,7 @@ int hg_scanner_300::writedown_device_configuration(bool type,setting_hardware::H
|
||||||
}
|
}
|
||||||
if (paper_size_ == TwSS::USStatement || paper_size_ == TwSS::MaxSize)
|
if (paper_size_ == TwSS::USStatement || paper_size_ == TwSS::MaxSize)
|
||||||
{
|
{
|
||||||
d->params_3288.pageSize = setting3288dsp::G400_MAXSIZE;
|
//d->params_3288.pageSize = setting3288dsp::G400_MAXSIZE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_quality_ == IMG_SPEED && resolution_ >= 300)
|
if (is_quality_ == IMG_SPEED && resolution_ >= 300)
|
||||||
|
|
Loading…
Reference in New Issue