SimilarFace Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SimilarFace() |
Initializes a new instance of the SimilarFace class. |
SimilarFace(Double, Nullable<Guid>, Nullable<Guid>) |
Initializes a new instance of the SimilarFace class. |
SimilarFace()
- Source:
- SimilarFace.cs
Initializes a new instance of the SimilarFace class.
public SimilarFace ();
Public Sub New ()
Applies to
SimilarFace(Double, Nullable<Guid>, Nullable<Guid>)
- Source:
- SimilarFace.cs
Initializes a new instance of the SimilarFace class.
public SimilarFace (double confidence, Guid? faceId = default, Guid? persistedFaceId = default);
new Microsoft.Azure.CognitiveServices.Vision.Face.Models.SimilarFace : double * Nullable<Guid> * Nullable<Guid> -> Microsoft.Azure.CognitiveServices.Vision.Face.Models.SimilarFace
Public Sub New (confidence As Double, Optional faceId As Nullable(Of Guid) = Nothing, Optional persistedFaceId As Nullable(Of Guid) = Nothing)
Parameters
- confidence
- Double
Similarity confidence of the candidate face. The higher confidence, the more similar. Range between [0,1].
FaceId of candidate face when find by faceIds. faceId is created by Face - Detect and will expire 24 hours after the detection call
PersistedFaceId of candidate face when find by faceListId. persistedFaceId in face list is persisted and will not expire. As showed in below response