OnlineCardIdentifier.h 696 B

1234567891011121314151617181920212223
  1. #pragma once
  2. #include "OnLineCardPageIdentifier.h"
  3. #include "OnLineCardSchemaStruct.h"
  4. namespace OnLineCard{
  5. class __declspec(dllexport) COnlineCardIdentifier
  6. {
  7. public:
  8. COnlineCardIdentifier(void);
  9. ~COnlineCardIdentifier(void);
  10. void SetTemplate(PaperTemplate*pT);
  11. void SetQr(bool bUseQr, const std::string&strQr);
  12. void SetOnlineScanType(int nOnlineScanType);
  13. void SetRCS(RTL_CRITICAL_SECTION*rcs){ if (pageIdentifier)pageIdentifier->m_althom_rcs = rcs; }
  14. void resetflag();
  15. private:
  16. COnLineCardPageIdentifier* pageIdentifier;
  17. public:
  18. //ÉèÖÃɨÃ跽ʽ
  19. void SetIdentiforMode(int subject, int mode);
  20. int Identify(const IplImage* img, void* out_result, int out_size);
  21. };
  22. }