1234567891011121314151617181920212223 |
- #pragma once
- #include "ocrbase.h"
- #include "OcrScreen.h"
- #include <map>
- using namespace std;
- class OcrLine :
- public OcrBase
- {
- public:
- ULONG m_MatchCount;
- map<DWORD,ULONG> m_SundayKeyLine;
- POINT m_pt;
- OcrLine(PBYTE pBits,POINT pt,SIZE size);
- virtual ~OcrLine(void);
- void GetLineKey(COLORPOINT &startpt,COLORPOINT &endpt);
- BOOL CheckKeyMatch(OcrScreen &fullPic, POINT &start1, OCRCOLOR color);
- void CheckMatch(OcrScreen &fullPic, POINT &start1, OCRCOLOR color);
- void ClearRecord();
- void MakeSundayLine();
- ULONG CheckSundayLine(OcrScreen &fullPic, POINT &start1, OCRCOLOR color);
- };
|