C# 封装C++函数
梦里独赏花 2013-02-19 05:05:42 typedef struct ZN_MACAU_PlateIDConfig // 车牌识别SDK配置结构
{
int nMinPlateWidth;
int nMaxPlateWidth;
bool bVertCompress;
bool bIsFieldImage;
bool bOutputSingleFrame;
bool bTwoRowYellow;
int nNightBeginHour;
int nNightBeginMinute;
int nNightEndHour;
int nNightEndMinute;
bool bIsBGRColorOrder;
unsigned char cInChannels;
int gsl;
char szProvince[4];
bool bufferDelay;
}ZN_MACAU_PlateIDConfig;
// 缺省车牌识别SDK配置
const ZN_MACAU_PlateIDConfig c_defConfig = {40, 400, false, false, true, true, 25, 30, -1, 30, true, 32, 5, 0,false};
int __stdcall ZN_MACAU_InitPlateIDSDK(const ZN_MACAU_PlateIDConfig *pPlateConfig = &c_defConfig);
如何封装? 如何调用啊?谢谢