Skip to content

Commit be7b604

Browse files
msyacheYang Chen
andauthored
Fixes for largefacelist and identify (Azure#15187)
Co-authored-by: Yang Chen <[email protected]>
1 parent 1d5f00d commit be7b604

File tree

2 files changed

+36
-4
lines changed
  • specification/cognitiveservices/data-plane/Face

2 files changed

+36
-4
lines changed

specification/cognitiveservices/data-plane/Face/preview/v1.0-preview/Face.json

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1972,6 +1972,22 @@
19721972
"parameters": [
19731973
{
19741974
"$ref": "#/parameters/returnRecognitionModel"
1975+
},
1976+
{
1977+
"name": "start",
1978+
"description": "Starting large face list id to return (used to list a range of large face lists).",
1979+
"in": "query",
1980+
"required": false,
1981+
"type": "string"
1982+
},
1983+
{
1984+
"name": "top",
1985+
"description": "Number of large face lists to return starting with the large face list id indicated by the 'start' parameter.",
1986+
"in": "query",
1987+
"required": false,
1988+
"type": "integer",
1989+
"minimum": 1,
1990+
"maximum": 1000
19751991
}
19761992
],
19771993
"responses": {
@@ -4491,10 +4507,10 @@
44914507
},
44924508
"maxNumOfCandidatesReturned": {
44934509
"type": "integer",
4494-
"description": "The range of maxNumOfCandidatesReturned is between 1 and 5 (default is 1).",
4510+
"description": "The range of maxNumOfCandidatesReturned is between 1 and 100 (default is 1).",
44954511
"default": 1,
44964512
"minimum": 1,
4497-
"maximum": 5
4513+
"maximum": 100
44984514
},
44994515
"confidenceThreshold": {
45004516
"description": "Confidence threshold of identification, used to judge whether one face belong to one person. The range of confidenceThreshold is [0, 1] (default specified by algorithm).",

specification/cognitiveservices/data-plane/Face/stable/v1.0/Face.json

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1972,6 +1972,22 @@
19721972
"parameters": [
19731973
{
19741974
"$ref": "#/parameters/returnRecognitionModel"
1975+
},
1976+
{
1977+
"name": "start",
1978+
"description": "Starting large face list id to return (used to list a range of large face lists).",
1979+
"in": "query",
1980+
"required": false,
1981+
"type": "string"
1982+
},
1983+
{
1984+
"name": "top",
1985+
"description": "Number of large face lists to return starting with the large face list id indicated by the 'start' parameter.",
1986+
"in": "query",
1987+
"required": false,
1988+
"type": "integer",
1989+
"minimum": 1,
1990+
"maximum": 1000
19751991
}
19761992
],
19771993
"responses": {
@@ -3552,10 +3568,10 @@
35523568
},
35533569
"maxNumOfCandidatesReturned": {
35543570
"type": "integer",
3555-
"description": "The range of maxNumOfCandidatesReturned is between 1 and 5 (default is 1).",
3571+
"description": "The range of maxNumOfCandidatesReturned is between 1 and 100 (default is 1).",
35563572
"default": 1,
35573573
"minimum": 1,
3558-
"maximum": 5
3574+
"maximum": 100
35593575
},
35603576
"confidenceThreshold": {
35613577
"description": "Confidence threshold of identification, used to judge whether one face belong to one person. The range of confidenceThreshold is [0, 1] (default specified by algorithm).",

0 commit comments

Comments
 (0)