你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PersonGroupPersonExtensions.AddFaceFromUrlAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersistedFace> AddFaceFromUrlAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonGroupPerson operations, string personGroupId, Guid personId, string url, string userData = default, System.Collections.Generic.IList<int> targetFace = default, string detectionModel = default, System.Threading.CancellationToken cancellationToken = default);
static member AddFaceFromUrlAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonGroupPerson * string * Guid * string * string * System.Collections.Generic.IList<int> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersistedFace>
<Extension()>
Public Function AddFaceFromUrlAsync (operations As IPersonGroupPerson, personGroupId As String, personId As Guid, url As String, Optional userData As String = Nothing, Optional targetFace As IList(Of Integer) = Nothing, Optional detectionModel As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PersistedFace)
参数
- operations
- IPersonGroupPerson
- personGroupId
- String
- personId
- Guid
- url
- String
- userData
- String
- detectionModel
- String
- cancellationToken
- CancellationToken