public SDK_Ctrl(GNPXApp000 pGNP00, int FirstCellNum) { this.pGNP00 = pGNP00; Send_Progress += new SDKEventHandler(pGNP00win.BWGenPrb_ProgressChanged); CellNumMax = FirstCellNum; PatGen = new patternGenerator(this); LSP = new LatinSqureGen( ); }
public sdkFrameRecgV3Man(GNPXApp000 pGNP00, string fName, int MLtype = 6, int MidLSize = 64, double gammaC = 0.7) { pGNP00win = pGNP00.pGNP00win; this.fName = fName; Send_DigitsRecog += new SDKEventHandler(pGNP00win.DigitsRecogReport); if (sdkFRec == null) { sdkFRec = new sdkFrameRecgV3(fName: fName); } SDK64 = Enumerable.Repeat(0xFFFFFFFF, 81).ToArray(); }
public static void SDKInit(SDKEventHandler callback, string callObjName) { OnInited = callback; #if SDK_91 // TODO: API:SDK初始化 CSDKInit(SDKConst.appid, SDKConst.appKey, mDebug); #elif SDK_PP Bonjour.initSDK(SDKConst.appid, SDKConst.appKey, true, 100, true, true, true, "", true, true, false, false, callObjName); #elif SDK_HM #elif SDK_AB Entry.initSDK(SDKConst.appid.ToString(), SDKConst.appKey, 1); #elif SDK_TBT SDK.TBSetUseOldLoadingMode(isUseOldMode); isUseOldMode = !isUseOldMode; SDK.TBInit(SDKConst.appid); #endif }