Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include _meta.json
recursive-include tests *.py *.yaml
include *.md
include azure/__init__.py
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"autorest": "V2",
"use": "@microsoft.azure/autorest.python@~4.0.71",
"commit": "337daa865e50b3b6b7cd9a44cf50f047c1bbd86b",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/cognitiveservices/data-plane/Face/readme.md --keep-version-file --multiapi --no-async --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk [email protected]/autorest.python@~4.0.71 --version=V2",
"readme": "specification/cognitiveservices/data-plane/Face/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@
from ._models_py3 import LargeFaceList
from ._models_py3 import LargePersonGroup
from ._models_py3 import Makeup
from ._models_py3 import Mask
from ._models_py3 import MetaDataContract
from ._models_py3 import NameAndUserDataContract
from ._models_py3 import Noise
from ._models_py3 import NonNullableNameAndNullableUserDataContract
from ._models_py3 import Occlusion
from ._models_py3 import OperationStatus
from ._models_py3 import PersistedFace
Expand Down Expand Up @@ -82,9 +84,11 @@
from ._models import LargeFaceList
from ._models import LargePersonGroup
from ._models import Makeup
from ._models import Mask
from ._models import MetaDataContract
from ._models import NameAndUserDataContract
from ._models import Noise
from ._models import NonNullableNameAndNullableUserDataContract
from ._models import Occlusion
from ._models import OperationStatus
from ._models import PersistedFace
Expand All @@ -109,8 +113,10 @@
Gender,
GlassesType,
HairColorType,
MaskType,
NoiseLevel,
OperationStatusType,
QualityForRecognition,
RecognitionModel,
SnapshotApplyMode,
SnapshotObjectType,
Expand Down Expand Up @@ -145,9 +151,11 @@
'LargeFaceList',
'LargePersonGroup',
'Makeup',
'Mask',
'MetaDataContract',
'NameAndUserDataContract',
'Noise',
'NonNullableNameAndNullableUserDataContract',
'Occlusion',
'OperationStatus',
'PersistedFace',
Expand All @@ -170,6 +178,8 @@
'BlurLevel',
'ExposureLevel',
'NoiseLevel',
'MaskType',
'QualityForRecognition',
'FindSimilarMatchMode',
'TrainingStatusType',
'SnapshotApplyMode',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ class RecognitionModel(str, Enum):

recognition_01 = "recognition_01"
recognition_02 = "recognition_02"
recognition_03 = "recognition_03"
recognition_04 = "recognition_04"


class Gender(str, Enum):
Expand Down Expand Up @@ -72,6 +74,21 @@ class NoiseLevel(str, Enum):
high = "High"


class MaskType(str, Enum):

no_mask = "noMask"
face_mask = "faceMask"
other_mask_or_occlusion = "otherMaskOrOcclusion"
uncertain = "uncertain"


class QualityForRecognition(str, Enum):

low = "Low"
medium = "Medium"
high = "High"


class FindSimilarMatchMode(str, Enum):

match_person = "matchPerson"
Expand Down Expand Up @@ -123,9 +140,12 @@ class FaceAttributeType(str, Enum):
blur = "blur"
exposure = "exposure"
noise = "noise"
mask = "mask"
quality_for_recognition = "qualityForRecognition"


class DetectionModel(str, Enum):

detection_01 = "detection_01"
detection_02 = "detection_02"
detection_03 = "detection_03"
Loading