diff --git a/modules/imgproc/HGOCRHanvon.cpp b/modules/imgproc/HGOCRHanvon.cpp index 112aabab..dd10f1f3 100644 --- a/modules/imgproc/HGOCRHanvon.cpp +++ b/modules/imgproc/HGOCRHanvon.cpp @@ -40,7 +40,7 @@ HGResult HGOCRHanvon::Init() #if defined(HG_CMP_MSC) strcat(dllPath, "hanwangOCRdetect.dll"); #else - strcat(dllPath, "libhwocrdetect.so"); + strcat(dllPath, "hwocr/libhwocrdetect.so"); #endif HGResult ret = HGBase_CreateDll(dllPath, &m_dll); if (HGBASE_ERR_OK != ret)