com.microsoft.azure.cognitiveservices.vision.faceapi.models.Blur 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 com.fasterxml.jackson.annotation.JsonProperty;
/**
* Properties describing any presence of blur within the image.
*/
public class Blur {
/**
* An enum value indicating level of blurriness. Possible values include:
* 'Low', 'Medium', 'High'.
*/
@JsonProperty(value = "blurLevel")
private BlurLevel blurLevel;
/**
* A number indicating level of blurriness ranging from 0 to 1.
*/
@JsonProperty(value = "value")
private double value;
/**
* Get the blurLevel value.
*
* @return the blurLevel value
*/
public BlurLevel blurLevel() {
return this.blurLevel;
}
/**
* Set the blurLevel value.
*
* @param blurLevel the blurLevel value to set
* @return the Blur object itself.
*/
public Blur withBlurLevel(BlurLevel blurLevel) {
this.blurLevel = blurLevel;
return this;
}
/**
* Get the value value.
*
* @return the value value
*/
public double value() {
return this.value;
}
/**
* Set the value value.
*
* @param value the value value to set
* @return the Blur object itself.
*/
public Blur withValue(double value) {
this.value = value;
return this;
}
}