public ShoreNetContent(ShoreNetEngine engine, IntPtr leftTop, UInt32 width, UInt32 height, UInt32 planes, Int32 pixelFeed, Int32 lineFeed, Int32 planeFeed, String colorSpace) { parent = engine; ptr = ShoreCEngineProcess(engine.ptr, leftTop, width, height, planes, pixelFeed, lineFeed, planeFeed, colorSpace); if (ptr == IntPtr.Zero) throw new IndexOutOfRangeException(); }
public ShoreNetContent(ShoreNetEngine engine, IntPtr leftTop, UInt32 width, UInt32 height, UInt32 planes, Int32 pixelFeed, Int32 lineFeed, Int32 planeFeed, String colorSpace) { parent = engine; ptr = ShoreCEngineProcess(engine.ptr, leftTop, width, height, planes, pixelFeed, lineFeed, planeFeed, colorSpace); if (ptr == IntPtr.Zero) { throw new IndexOutOfRangeException(); } }
private void InitShoreEngine() { engine = CreateFaceEngine(timeBase, updateTimeBase, threadCount, model, imageScale, minFaceSize, minFaceScore, idMemoryLength, idMemoryType, trackFaces, phantomTrap, searchEyes, searchNose, searchMouth, analyzeEyes, analyzeMouth, analyzeGender, analyzeAge, analyzeHappy, analyzeSad, analyzeSurprised, analyzeAngry); }