All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.cognitiveservices.vision.faceapi.models.GroupResult Maven / Gradle / Ivy

There is a newer version: 1.0.1-beta
Show newest version
/**
 * 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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy