FaceOperationsExtensions.GroupAsync Method
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.
Divide candidate faces into groups based on face similarity.<br />
- The output is one or more disjointed face groups and a messyGroup. A face group contains faces that have similar looking, often of the same person. Face groups are ranked by group size, i.e. number of faces. Notice that faces belonging to a same person might be split into several groups in the result.
- MessyGroup is a special face group containing faces that cannot find any similar counterpart face from original faces. The messyGroup will not appear in the result if all faces found their counterparts.
- Group API needs at least 2 candidate faces and 1000 at most. We suggest to try Face - Verify when you only have 2 candidate faces.
- The 'recognitionModel' associated with the query faces' faceIds should be the same.
public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.GroupResult> GroupAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IFaceOperations operations, System.Collections.Generic.IList<Guid> faceIds, System.Threading.CancellationToken cancellationToken = default);
static member GroupAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IFaceOperations * System.Collections.Generic.IList<Guid> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.GroupResult>
<Extension()>
Public Function GroupAsync (operations As IFaceOperations, faceIds As IList(Of Guid), Optional cancellationToken As CancellationToken = Nothing) As Task(Of GroupResult)
Parameters
- operations
- IFaceOperations
The operations group for this extension method.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET