12345678910111213141516171819202122 |
- #pragma once
- #include "OcrScreen.h"
- #include "OcrNode.h"
- #include <vector>
- using namespace std;
- class Ocr_Dict
- {
- public:
- Ocr_Dict(void);
- virtual ~Ocr_Dict(void);
- void ReSortSkiny();
- BOOL OcrFindMatchs(OcrScreen &fullPic, RECT &area, OCRCOLOR color, ULONG sim, string OUT &str );
- ULONG FindMatchPoint_Internal(OcrScreen &fullPic, RECT &area, OCRCOLOR color, ULONG sim, string IN &str);
- BOOL FindMatchPoint(OcrScreen &fullPic, RECT &area, OCRCOLOR color, ULONG sim, string IN &str, ULONG &x, ULONG &y);
- BOOL LoadOcrDictFromDirectory(const TCHAR *pszDirName);
- BOOL IsNodeExist(string &keynode);
- BOOL IsReady();
- vector<OcrNode *> m_nodes;
- };
|