共用方式為


DetectedFace Constructors

Definition

Overloads

DetectedFace()

Initializes a new instance of the DetectedFace class.

DetectedFace(FaceRectangle, Nullable<Guid>, String, FaceLandmarks, FaceAttributes)

Initializes a new instance of the DetectedFace class.

DetectedFace()

Source:
DetectedFace.cs

Initializes a new instance of the DetectedFace class.

public DetectedFace ();
Public Sub New ()

Applies to

DetectedFace(FaceRectangle, Nullable<Guid>, String, FaceLandmarks, FaceAttributes)

Source:
DetectedFace.cs

Initializes a new instance of the DetectedFace class.

public DetectedFace (Microsoft.Azure.CognitiveServices.Vision.Face.Models.FaceRectangle faceRectangle, Guid? faceId = default, string recognitionModel = default, Microsoft.Azure.CognitiveServices.Vision.Face.Models.FaceLandmarks faceLandmarks = default, Microsoft.Azure.CognitiveServices.Vision.Face.Models.FaceAttributes faceAttributes = default);
new Microsoft.Azure.CognitiveServices.Vision.Face.Models.DetectedFace : Microsoft.Azure.CognitiveServices.Vision.Face.Models.FaceRectangle * Nullable<Guid> * string * Microsoft.Azure.CognitiveServices.Vision.Face.Models.FaceLandmarks * Microsoft.Azure.CognitiveServices.Vision.Face.Models.FaceAttributes -> Microsoft.Azure.CognitiveServices.Vision.Face.Models.DetectedFace
Public Sub New (faceRectangle As FaceRectangle, Optional faceId As Nullable(Of Guid) = Nothing, Optional recognitionModel As String = Nothing, Optional faceLandmarks As FaceLandmarks = Nothing, Optional faceAttributes As FaceAttributes = Nothing)

Parameters

faceRectangle
FaceRectangle
faceId
Nullable<Guid>
recognitionModel
String

Possible values include: 'recognition_01', 'recognition_02'

faceLandmarks
FaceLandmarks
faceAttributes
FaceAttributes

Applies to