AIVisionFaceModelFactory.NoiseProperties(NoiseLevel, Single) Method

Definition

Initializes a new instance of NoiseProperties.

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

Parameters

noiseLevel
NoiseLevel

An enum value indicating level of noise.

value
Single

A number indicating level of noise 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. [0, 0.3) is low noise level. [0.3, 0.7) is medium noise level. [0.7, 1] is high noise level.

Returns

A new NoiseProperties instance for mocking.

Applies to