初始化 图像算法流程调整
This commit is contained in:
parent
b742e073fe
commit
695b64f8eb
|
@ -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_);
|
||||
|
|
Loading…
Reference in New Issue