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