This commit is contained in:
luoliangyi 2022-07-29 11:42:29 +08:00
parent cd0935cde1
commit 53174686f7
1 changed files with 2 additions and 0 deletions

View File

@ -786,10 +786,12 @@ namespace hg_imgproc
scanner_path = scanner_path.substr(0,scanner_path.size() - libname.size()); scanner_path = scanner_path.substr(0,scanner_path.size() - libname.size());
scanner_path+="libhwocrdetect.so"; scanner_path+="libhwocrdetect.so";
printf("hwlib path:%s\r\n",scanner_path.c_str()); printf("hwlib path:%s\r\n",scanner_path.c_str());
#ifndef WIN32
if(access(scanner_path.c_str(),F_OK) != 0) if(access(scanner_path.c_str(),F_OK) != 0)
{ {
return SCANNER_ERR_OUT_OF_RANGE; return SCANNER_ERR_OUT_OF_RANGE;
} }
#endif
#if ((!defined x86_64) && (!defined WIN32)) #if ((!defined x86_64) && (!defined WIN32))
//linux x86_64 暂时没有OCR三方 //linux x86_64 暂时没有OCR三方
#ifndef test #ifndef test