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); }
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);
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)); }
public static extern int GetTrackerFacePosition(int Tracker, long CameraIdx, long ID, ref TFacePosition FacePosition);