Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR azure-cognitiveservices-vision-face] Fixes for largefacelist and identify #6491

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": "c7c34b110df20b881310c4b11b496960b2bd9afd",
"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,6 +113,7 @@
Gender,
GlassesType,
HairColorType,
MaskType,
NoiseLevel,
OperationStatusType,
RecognitionModel,
Expand Down Expand Up @@ -145,9 +150,11 @@
'LargeFaceList',
'LargePersonGroup',
'Makeup',
'Mask',
'MetaDataContract',
'NameAndUserDataContract',
'Noise',
'NonNullableNameAndNullableUserDataContract',
'Occlusion',
'OperationStatus',
'PersistedFace',
Expand All @@ -170,6 +177,7 @@
'BlurLevel',
'ExposureLevel',
'NoiseLevel',
'MaskType',
'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,14 @@ class NoiseLevel(str, Enum):
high = "High"


class MaskType(str, Enum):

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


class FindSimilarMatchMode(str, Enum):

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


class DetectionModel(str, Enum):

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