com.microsoft.azure.cognitiveservices.vision.faceapi.models.GroupResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-cognitiveservices-faceapi Show documentation
Show all versions of azure-cognitiveservices-faceapi Show documentation
This package contains Microsoft Cognitive Service Face API SDK.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.cognitiveservices.vision.faceapi.models;
import java.util.List;
import java.util.UUID;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* An array of face groups based on face similarity.
*/
public class GroupResult {
/**
* A partition of the original faces based on face similarity. Groups are
* ranked by number of faces.
*/
@JsonProperty(value = "groups", required = true)
private List> groups;
/**
* Face ids array of faces that cannot find any similar faces from original
* faces.
*/
@JsonProperty(value = "messyGroup")
private List messyGroup;
/**
* Get the groups value.
*
* @return the groups value
*/
public List> groups() {
return this.groups;
}
/**
* Set the groups value.
*
* @param groups the groups value to set
* @return the GroupResult object itself.
*/
public GroupResult withGroups(List> groups) {
this.groups = groups;
return this;
}
/**
* Get the messyGroup value.
*
* @return the messyGroup value
*/
public List messyGroup() {
return this.messyGroup;
}
/**
* Set the messyGroup value.
*
* @param messyGroup the messyGroup value to set
* @return the GroupResult object itself.
*/
public GroupResult withMessyGroup(List messyGroup) {
this.messyGroup = messyGroup;
return this;
}
}