diff --git a/modules/imgproc/HGOCRTesseract.cpp b/modules/imgproc/HGOCRTesseract.cpp index d74df5fc..417df6d2 100644 --- a/modules/imgproc/HGOCRTesseract.cpp +++ b/modules/imgproc/HGOCRTesseract.cpp @@ -38,7 +38,7 @@ HGResult HGOCRTesseract::Init() } HGChar moduleName[256]; - HGBase_GetModuleName((void*)HGImgProc_CreateOCRMgr, moduleName, 256); + HGBase_GetModuleName((void*)HGImgProc_ImageOCR, moduleName, 256); HGChar dataPath[256]; HGBase_GetFilePath(moduleName, dataPath, 256); strcat(dataPath, "tessdata");