/// <summary>
 /// Initializes a new instance of the DetectedFace class.
 /// </summary>
 public DetectedFace(FaceRectangle faceRectangle, System.Guid?faceId = default(System.Guid?), FaceLandmarks faceLandmarks = default(FaceLandmarks), FaceAttributes faceAttributes = default(FaceAttributes))
 {
     FaceId         = faceId;
     FaceRectangle  = faceRectangle;
     FaceLandmarks  = faceLandmarks;
     FaceAttributes = faceAttributes;
     CustomInit();
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the DetectedFace class.
 /// </summary>
 /// <param name="recognitionModel">Possible values include:
 /// 'recognition_01', 'recognition_02', 'recognition_03',
 /// 'recognition_04'</param>
 public DetectedFace(FaceRectangle faceRectangle, System.Guid?faceId = default(System.Guid?), string recognitionModel = default(string), FaceLandmarks faceLandmarks = default(FaceLandmarks), FaceAttributes faceAttributes = default(FaceAttributes))
 {
     FaceId           = faceId;
     RecognitionModel = recognitionModel;
     FaceRectangle    = faceRectangle;
     FaceLandmarks    = faceLandmarks;
     FaceAttributes   = faceAttributes;
     CustomInit();
 }