# coding=utf-8
# --------------------------------------------------------------------------
# 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.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from msrest.serialization import Model
[docs]class Blur(Model):
"""Properties describing any presence of blur within the image.
:param blur_level: An enum value indicating level of blurriness. Possible
values include: 'Low', 'Medium', 'High'
:type blur_level: str or
~azure.cognitiveservices.vision.face.models.BlurLevel
:param value: A number indicating level of blurriness ranging from 0 to 1.
:type value: float
"""
_attribute_map = {
'blur_level': {'key': 'blurLevel', 'type': 'BlurLevel'},
'value': {'key': 'value', 'type': 'float'},
}
def __init__(self, *, blur_level=None, value: float=None, **kwargs) -> None:
super(Blur, self).__init__(**kwargs)
self.blur_level = blur_level
self.value = value