AIVisionFaceModelFactory.ExposureProperties(ExposureLevel, Single) Method

Definition

Initializes a new instance of ExposureProperties.

public static Azure.AI.Vision.Face.ExposureProperties ExposureProperties (Azure.AI.Vision.Face.ExposureLevel exposureLevel = default, float value = 0);
static member ExposureProperties : Azure.AI.Vision.Face.ExposureLevel * single -> Azure.AI.Vision.Face.ExposureProperties
Public Shared Function ExposureProperties (Optional exposureLevel As ExposureLevel = Nothing, Optional value As Single = 0) As ExposureProperties

Parameters

exposureLevel
ExposureLevel

An enum value indicating level of exposure.

value
Single

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.

Returns

A new ExposureProperties instance for mocking.

Applies to