Example #1
0
 private static extern bool ProcessImageWithDistances(NativeEngine engine, byte[] pixelData, int width, int height, Coordinates2D[] faces, int numFaces, int[] identities, int numDistances, double[] distances);
Example #2
0
 private static extern void DeinitializeBiosandbox(NativeEngine engine);
Example #3
0
 private static extern bool ProcessImage(NativeEngine engine, byte[] pixelDataGrayscale, int width, int height, Coordinates2D[] faces, int numFaces, int[] identities);
Example #4
0
 public bool Initialize(string configFile)
 {
     _nativeEngine = InitializeBiosandbox(configFile);
     return _nativeEngine.engine == IntPtr.Zero ? false : true;
 }
Example #5
0
 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);
Example #6
0
 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
Example #7
0
 private static extern void DeinitializeBiosandbox(NativeEngine engine);
Example #8
0
 public bool Initialize(string configFile)
 {
     _nativeEngine = InitializeBiosandbox(configFile);
     return(_nativeEngine.engine == IntPtr.Zero ? false : true);
 }