private static extern bool ProcessImageWithDistances(NativeEngine engine, byte[] pixelData, int width, int height, Coordinates2D[] faces, int numFaces, int[] identities, int numDistances, double[] distances);
private static extern void DeinitializeBiosandbox(NativeEngine engine);
private static extern bool ProcessImage(NativeEngine engine, byte[] pixelDataGrayscale, int width, int height, Coordinates2D[] faces, int numFaces, int[] identities);
public bool Initialize(string configFile) { _nativeEngine = InitializeBiosandbox(configFile); return _nativeEngine.engine == IntPtr.Zero ? false : true; }
private static extern bool ProcessImageWithDepth(NativeEngine engine, byte[] pixelData, int width, int height, short[] depthData, int depthWidth, int depthHeight, Coordinates2D[] faces, int numFaces, int[] identities, int numDistances, double[] distances);
private static extern bool ProcessImage(NativeEngine engine, byte[] pixelDataGrayscale, int width, int height, Coordinates2D[] faces, int numFaces, int[] identities);// TODO Here should be a check if there is supported module for inserting images
public bool Initialize(string configFile) { _nativeEngine = InitializeBiosandbox(configFile); return(_nativeEngine.engine == IntPtr.Zero ? false : true); }