private static extern int FSDK_GetFaceTemplateInRegion_Old(int Image, ref TFacePosition FacePosition, [In, Out, MarshalAs(UnmanagedType.LPArray)] byte[] FaceTemplate);
 public static int GetFaceTemplateInRegion(int Image, ref TFacePosition FacePosition, out byte[] FaceTemplate)
 {
     FaceTemplate = new byte[FSDK.TemplateSize];
     return FSDK_GetFaceTemplateInRegion_Old(Image, ref FacePosition, FaceTemplate);
 }
 private static extern int FSDK_DetectFacialFeaturesInRegion_Old(int Image, ref TFacePosition FacePosition, [Out, MarshalAs(UnmanagedType.LPArray)] TPoint[] FacialFeatures);
 public static int DetectFacialFeaturesInRegion(int Image, ref TFacePosition FacePosition, out TPoint[] FacialFeatures)
 {
     FacialFeatures = new TPoint[FSDK.FSDK_FACIAL_FEATURE_COUNT];
     return FSDK_DetectFacialFeaturesInRegion_Old(Image, ref FacePosition, FacialFeatures);
 }
 public static int DetectMultipleFaces(int Image, ref int DetectedCount, out TFacePosition[] FaceArray, int MaxSize)
 {
     FaceArray = new TFacePosition[MaxSize];
     return FSDK_DetectMultipleFaces_Old(Image, ref DetectedCount, FaceArray, MaxSize);
 }
Exemple #6
0
 public static int GetFaceTemplateInRegion(int Image, ref TFacePosition FacePosition, out byte[] FaceTemplate)
 {
     FaceTemplate = new byte[FSDK.TemplateSize];
     return(FSDK_GetFaceTemplateInRegion_Old(Image, ref FacePosition, FaceTemplate));
 }
 public static extern int DetectFace(int Image, ref TFacePosition FacePosition);
Exemple #8
0
 public static int DetectFacialFeaturesInRegion(int Image, ref TFacePosition FacePosition, out TPoint[] FacialFeatures)
 {
     FacialFeatures = new TPoint[FSDK.FSDK_FACIAL_FEATURE_COUNT];
     return(FSDK_DetectFacialFeaturesInRegion_Old(Image, ref FacePosition, FacialFeatures));
 }
Exemple #9
0
 private static extern int FSDK_GetFaceTemplateInRegion_Old(int Image, ref TFacePosition FacePosition, [In, Out, MarshalAs(UnmanagedType.LPArray)] byte[] FaceTemplate);
Exemple #10
0
 private static extern int FSDK_DetectFacialFeaturesInRegion_Old(int Image, ref TFacePosition FacePosition, [Out, MarshalAs(UnmanagedType.LPArray)] TPoint[] FacialFeatures);
Exemple #11
0
 public static int DetectMultipleFaces(int Image, ref int DetectedCount, out TFacePosition[] FaceArray, int MaxSize)
 {
     FaceArray = new TFacePosition[MaxSize];
     return(FSDK_DetectMultipleFaces_Old(Image, ref DetectedCount, FaceArray, MaxSize));
 }
Exemple #12
0
 public static extern int DetectFace(int Image, ref TFacePosition FacePosition);
 public static extern int GetTrackerFacePosition(int Tracker, long CameraIdx, long ID, ref TFacePosition FacePosition);
Exemple #14
0
 public static extern int GetTrackerFacePosition(int Tracker, long CameraIdx, long ID, ref TFacePosition FacePosition);