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

LargePersonGroupPersonExtensions.UpdateFaceAsync 方法

定义

更新某个人员的持久性人脸的 userData 字段。

public static System.Threading.Tasks.Task UpdateFaceAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.ILargePersonGroupPerson operations, string largePersonGroupId, Guid personId, Guid persistedFaceId, string userData = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateFaceAsync : Microsoft.Azure.CognitiveServices.Vision.Face.ILargePersonGroupPerson * string * Guid * Guid * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function UpdateFaceAsync (operations As ILargePersonGroupPerson, largePersonGroupId As String, personId As Guid, persistedFaceId As Guid, Optional userData As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

operations
ILargePersonGroupPerson

此扩展方法的操作组。

largePersonGroupId
String

引用特定大型人员组的 ID。

personId
Guid

引用特定人员的 ID。

persistedFaceId
Guid

引用现有人脸的特定 persistedFaceId 的 ID。

userData
String

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

cancellationToken
CancellationToken

取消标记。

返回

适用于