你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AIVisionFaceModelFactory.NoiseProperties(NoiseLevel, Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.