你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PersistedFace 构造函数

定义

重载

PersistedFace()

初始化 PersistedFace 类的新实例。

PersistedFace(Guid, String)

初始化 PersistedFace 类的新实例。

PersistedFace()

Source:
PersistedFace.cs

初始化 PersistedFace 类的新实例。

public PersistedFace();
Public Sub New ()

适用于

PersistedFace(Guid, String)

Source:
PersistedFace.cs

初始化 PersistedFace 类的新实例。

public PersistedFace(Guid persistedFaceId, string userData = default);
new Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersistedFace : Guid * string -> Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersistedFace
Public Sub New (persistedFaceId As Guid, Optional userData As String = Nothing)

参数

persistedFaceId
Guid

目标人脸的 persistedFaceId,该持久化且不会过期。 不同于 Face - Detect 创建的 faceId,将在检测调用后 24 小时内过期。

userData
String

用户提供的数据附加到人脸。 大小限制为 1KB。

适用于