|
|
@ -28,6 +28,7 @@ namespace Emgu.CV.Face |
|
|
|
|
|
|
|
public static partial class FaceInvoke |
|
|
|
{ |
|
|
|
/* |
|
|
|
/// <summary>
|
|
|
|
/// Set a user defined face detector for the Facemark algorithm.
|
|
|
|
/// </summary>
|
|
|
@ -52,7 +53,7 @@ namespace Emgu.CV.Face |
|
|
|
[DllImport(CvInvoke.ExternLibrary, CallingConvention = CvInvoke.CvCallingConvention)] |
|
|
|
[return: MarshalAs(CvInvoke.BoolMarshalType)] |
|
|
|
internal extern static bool cveFacemarkSetFaceDetector(IntPtr facemark, FaceDetectNative detector); |
|
|
|
|
|
|
|
*/ |
|
|
|
/// <summary>
|
|
|
|
/// A function to load the trained model before the fitting process.
|
|
|
|
/// </summary>
|
|
|
@ -68,6 +69,7 @@ namespace Emgu.CV.Face |
|
|
|
[DllImport(CvInvoke.ExternLibrary, CallingConvention = CvInvoke.CvCallingConvention)] |
|
|
|
internal extern static void cveFacemarkLoadModel(IntPtr facemark, IntPtr model); |
|
|
|
|
|
|
|
/* |
|
|
|
/// <summary>
|
|
|
|
/// Default face detector This function is mainly utilized by the implementation of a Facemark Algorithm.
|
|
|
|
/// </summary>
|
|
|
@ -86,6 +88,7 @@ namespace Emgu.CV.Face |
|
|
|
[DllImport(CvInvoke.ExternLibrary, CallingConvention = CvInvoke.CvCallingConvention)] |
|
|
|
[return: MarshalAs(CvInvoke.BoolMarshalType)] |
|
|
|
internal extern static bool cveFacemarkGetFaces(IntPtr facemark, IntPtr image, IntPtr faces); |
|
|
|
*/ |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Trains a Facemark algorithm using the given dataset.
|
|
|
@ -125,6 +128,7 @@ namespace Emgu.CV.Face |
|
|
|
[DllImport(CvInvoke.ExternLibrary, CallingConvention = CvInvoke.CvCallingConvention)] |
|
|
|
internal extern static void cveDrawFacemarks(IntPtr image, IntPtr points, ref MCvScalar color); |
|
|
|
|
|
|
|
/* |
|
|
|
/// <summary>
|
|
|
|
/// Add one training sample to the trainer.
|
|
|
|
/// </summary>
|
|
|
@ -154,5 +158,6 @@ namespace Emgu.CV.Face |
|
|
|
} |
|
|
|
[DllImport(CvInvoke.ExternLibrary, CallingConvention = CvInvoke.CvCallingConvention)] |
|
|
|
internal extern static void cveFacemarkTraining(IntPtr facemark); |
|
|
|
*/ |
|
|
|
} |
|
|
|
} |