初始化 图像算法流程调整

This commit is contained in:
13038267101 2023-08-17 14:52:00 +08:00
parent b742e073fe
commit 695b64f8eb
1 changed files with 2 additions and 2 deletions

View File

@ -234,7 +234,7 @@ hg_scanner::hg_scanner(ScannerSerial serial, const char* dev_name, usb_io* io, i
thread_devslock_handle_.reset(new std::thread(&hg_scanner::thread_devslock_handle, this));
#endif
ImagePrc_pHandle_ = nullptr; // hg_imgproc::init(pid_, isx86_Advan_);;
ImagePrc_pHandle_ = hg_imgproc::init(pid_, isx86_Advan_);
}
hg_scanner::~hg_scanner()
{
@ -1077,7 +1077,7 @@ void hg_scanner::thread_handle_image_process(void)
{
if (!ImagePrc_pHandle_)
{
ImagePrc_pHandle_ = hg_imgproc::init(pid_, isx86_Advan_);
//ImagePrc_pHandle_ = hg_imgproc::init(pid_, isx86_Advan_);
if (!ImagePrc_pHandle_)
{
VLOG_MINI_1(LOG_LEVEL_FATAL, "[thread_handle_image_process]:Get Image Process is NULL pid is %d.\n", pid_);