OcrLine.h 594 B

1234567891011121314151617181920212223
  1. #pragma once
  2. #include "ocrbase.h"
  3. #include "OcrScreen.h"
  4. #include <map>
  5. using namespace std;
  6. class OcrLine :
  7. public OcrBase
  8. {
  9. public:
  10. ULONG m_MatchCount;
  11. map<DWORD,ULONG> m_SundayKeyLine;
  12. POINT m_pt;
  13. OcrLine(PBYTE pBits,POINT pt,SIZE size);
  14. virtual ~OcrLine(void);
  15. void GetLineKey(COLORPOINT &startpt,COLORPOINT &endpt);
  16. BOOL CheckKeyMatch(OcrScreen &fullPic, POINT &start1, OCRCOLOR color);
  17. void CheckMatch(OcrScreen &fullPic, POINT &start1, OCRCOLOR color);
  18. void ClearRecord();
  19. void MakeSundayLine();
  20. ULONG CheckSundayLine(OcrScreen &fullPic, POINT &start1, OCRCOLOR color);
  21. };