public static SeetaImageData bitmaptoImagedat(Bitmap bit) { SeetaImageData sid = new SeetaImageData() { width = bit.Width, height = bit.Height, channels = 3, data = BitmapToData.Convert.ToMat(bit) }; return(sid); }
public static extern AgeGender AgeandGender(SeetaImageData image);
public static extern float MaskDetect(SeetaImageData image);
public static extern int FaceAntiSpoofing(SeetaImageData image, int model);
public static extern int GetFeature(SeetaImageData image, StringBuilder json);
public static extern int SixtyEightPoints(SeetaImageData image, StringBuilder json);
public static extern int FivePoints(SeetaImageData image, StringBuilder json);
public static extern int DetectFace(SeetaImageData image, StringBuilder json);