link OCR library on windows platform

This commit is contained in:
gb 2022-05-16 13:44:58 +08:00
parent c5080bb8d2
commit 46023bbb53
1 changed files with 2 additions and 5 deletions

View File

@ -9,17 +9,14 @@
#include <Windows.h> #include <Windows.h>
#include <shlobj.h> #include <shlobj.h>
#pragma comment(lib, "Shell32.lib") #pragma comment(lib, "Shell32.lib")
#pragma comment(lib, "hanwangOCRdetect.lib")
#endif #endif
#include <memory> #include <memory>
#include "ImageMatQueue.h" #include "ImageMatQueue.h"
#include "../ImageProcess/ImageApplyHeaders.h" #include "../ImageProcess/ImageApplyHeaders.h"
#include "ImageMultiOutput.h" #include "ImageMultiOutput.h"
#include "PaperSize.h" #include "PaperSize.h"
extern "C"
{
#include "ocr/hanwangOCRdetect.h" #include "ocr/hanwangOCRdetect.h"
#include "ocr/ocrcommon.h"
};
#ifdef WIN32 #ifdef WIN32