1234567891011121314151617181920212223 |
- #pragma once
- #include "OnLineCardPageIdentifier.h"
- #include "OnLineCardSchemaStruct.h"
- namespace OnLineCard{
- class __declspec(dllexport) COnlineCardIdentifier
- {
- public:
- COnlineCardIdentifier(void);
- ~COnlineCardIdentifier(void);
- void SetTemplate(PaperTemplate*pT);
- void SetQr(bool bUseQr, const std::string&strQr);
- void SetOnlineScanType(int nOnlineScanType);
- void SetRCS(RTL_CRITICAL_SECTION*rcs){ if (pageIdentifier)pageIdentifier->m_althom_rcs = rcs; }
- void resetflag();
- private:
- COnLineCardPageIdentifier* pageIdentifier;
- public:
- //ÉèÖÃɨÃ跽ʽ
- void SetIdentiforMode(int subject, int mode);
- int Identify(const IplImage* img, void* out_result, int out_size);
- };
- }
|