
com.microsoft.azure.cognitiveservices.vision.faceapi.models.AddPersonFaceFromStreamOptionalParameter 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;
/**
* The AddPersonFaceFromStreamOptionalParameter model.
*/
public class AddPersonFaceFromStreamOptionalParameter {
/**
* User-specified data about the face for any purpose. The maximum length
* is 1KB.
*/
private String userData;
/**
* A face rectangle to specify the target face to be added to a person in
* the format of "targetFace=left,top,width,height". E.g.
* "targetFace=10,10,100,100". If there is more than one face in the image,
* targetFace is required to specify which face to add. No targetFace means
* there is only one face detected in the entire image.
*/
private List targetFace;
/**
* Gets or sets the preferred language for the response.
*/
private String thisclientacceptLanguage;
/**
* Get the userData value.
*
* @return the userData value
*/
public String userData() {
return this.userData;
}
/**
* Set the userData value.
*
* @param userData the userData value to set
* @return the AddPersonFaceFromStreamOptionalParameter object itself.
*/
public AddPersonFaceFromStreamOptionalParameter withUserData(String userData) {
this.userData = userData;
return this;
}
/**
* Get the targetFace value.
*
* @return the targetFace value
*/
public List targetFace() {
return this.targetFace;
}
/**
* Set the targetFace value.
*
* @param targetFace the targetFace value to set
* @return the AddPersonFaceFromStreamOptionalParameter object itself.
*/
public AddPersonFaceFromStreamOptionalParameter withTargetFace(List targetFace) {
this.targetFace = targetFace;
return this;
}
/**
* Get the thisclientacceptLanguage value.
*
* @return the thisclientacceptLanguage value
*/
public String thisclientacceptLanguage() {
return this.thisclientacceptLanguage;
}
/**
* Set the thisclientacceptLanguage value.
*
* @param thisclientacceptLanguage the thisclientacceptLanguage value to set
* @return the AddPersonFaceFromStreamOptionalParameter object itself.
*/
public AddPersonFaceFromStreamOptionalParameter withThisclientacceptLanguage(String thisclientacceptLanguage) {
this.thisclientacceptLanguage = thisclientacceptLanguage;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy