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

[Hub Generated] Review request for Face to add version stable/v1.0 #12739

Merged
Merged
Changes from 5 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
Expand Up @@ -3058,7 +3058,7 @@
"$ref": "#/definitions/Hair"
},
"makeup": {
"description": "Properties describing present makeups on a given face.",
"description": "Properties describing the presence of makeup on a given face.",
"$ref": "#/definitions/Makeup"
},
"occlusion": {
Expand All @@ -3080,6 +3080,10 @@
"noise": {
"description": "Properties describing noise level of the image.",
"$ref": "#/definitions/Noise"
},
"mask": {
"description": "Properties describing the presence of a mask on a given face.",
"$ref": "#/definitions/Mask"
}
}
},
Expand Down Expand Up @@ -3215,7 +3219,7 @@
},
"Makeup": {
"type": "object",
"description": "Properties describing present makeups on a given face.",
"description": "Properties describing the presence of makeup on a given face.",
"properties": {
"eyeMakeup": {
"type": "boolean",
Expand Down Expand Up @@ -3357,6 +3361,32 @@
}
}
},
"Mask": {
"type": "object",
"description": "Properties describing the presence of a mask on a given face.",
"properties": {
"type": {
"type": "string",
"description": "Mask type if any of the face",
"x-nullable": false,
"x-ms-enum": {
"name": "MaskType",
"modelAsString": false
},
"enum": [
"noMask",
"faceMask",
"otherMaskOrOcclusion",
"uncertain"
]
},
"noseAndMouthCovered": {
"type": "boolean",
"description": "A boolean value indicating whether nose and mouth are covered.",
"x-nullable": false
}
}
},
"FindSimilarRequest": {
"type": "object",
"required": [
Expand Down Expand Up @@ -3934,7 +3964,8 @@
"enum": [
"recognition_01",
"recognition_02",
"recognition_03"
"recognition_03",
"recognition_04"
]
},
"ApplyScope": {
Expand Down Expand Up @@ -4139,7 +4170,7 @@
"returnFaceAttributes": {
"name": "returnFaceAttributes",
"in": "query",
"description": "Analyze and return the one or more specified face attributes in the comma-separated string like \"returnFaceAttributes=age,gender\". Supported face attributes include age, gender, headPose, smile, facialHair, glasses and emotion. Note that each face attribute analysis has additional computational and time cost.",
"description": "Analyze and return the one or more specified face attributes in the comma-separated string like \"returnFaceAttributes=age,gender\". The available attributes depends on the 'detectionModel' specified. 'detection_01' supports age, gender, headPose, smile, facialHair, glasses, emotion, hair, makeup, occlusion, accessories, blur, exposure, and noise. While 'detection_02' does not support any attributes and 'detection_03' only supports mask. Note that each face attribute analysis has additional computational and time cost.",
"type": "array",
"x-ms-parameter-location": "method",
"required": false,
Expand All @@ -4165,7 +4196,8 @@
"accessories",
"blur",
"exposure",
"noise"
"noise",
"mask"
]
}
},
Expand Down Expand Up @@ -4318,7 +4350,8 @@
"enum": [
"recognition_01",
"recognition_02",
"recognition_03"
"recognition_03",
"recognition_04"
]
},
"returnRecognitionModel": {
Expand Down