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

com.microsoft.azure.cognitiveservices.vision.faceapi.models.Exposure 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 com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Properties describing exposure level of the image.
 */
public class Exposure {
    /**
     * An enum value indicating level of exposure. Possible values include:
     * 'UnderExposure', 'GoodExposure', 'OverExposure'.
     */
    @JsonProperty(value = "exposureLevel")
    private ExposureLevel exposureLevel;

    /**
     * A number indicating level of exposure level ranging from 0 to 1. [0,
     * 0.25) is under exposure. [0.25, 0.75) is good exposure. [0.75, 1] is
     * over exposure.
     */
    @JsonProperty(value = "value")
    private double value;

    /**
     * Get the exposureLevel value.
     *
     * @return the exposureLevel value
     */
    public ExposureLevel exposureLevel() {
        return this.exposureLevel;
    }

    /**
     * Set the exposureLevel value.
     *
     * @param exposureLevel the exposureLevel value to set
     * @return the Exposure object itself.
     */
    public Exposure withExposureLevel(ExposureLevel exposureLevel) {
        this.exposureLevel = exposureLevel;
        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 Exposure object itself.
     */
    public Exposure withValue(double value) {
        this.value = value;
        return this;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy