Skip to content

Commit 52aa95f

Browse files
Merge pull request #77 from regulaforensics/SP-12726/Remove_attributes_from_detect_request
SP-12726: Remove attributes from detect request
2 parents 05e30bd + 89eefb8 commit 52aa95f

2 files changed

Lines changed: 5 additions & 9 deletions

File tree

common.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,10 @@ components:
6060
$ref: "#/components/schemas/QualityRequest"
6161
attributes:
6262
description: "Whether to evaluate attributes, such as age and emotions."
63-
type: boolean
64-
default: false
63+
type: object
64+
properties:
65+
config:
66+
$ref: "./common.yml#/components/schemas/QualityConfigList"
6567

6668
OutputImageParams:
6769
type: object

detect.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,7 @@ components:
4242
description: "Whether to return the cropped portrains with the detected faces."
4343
type: boolean
4444
default: false
45-
attributes:
46-
description: "Whether to evaluate attributes, such as age and emotions."
47-
type: object
48-
properties:
49-
config:
50-
$ref: "./common.yml#/components/schemas/QualityConfigList"
51-
45+
5246
DetectResponse:
5347
allOf:
5448
- $ref: './common.yml#/components/schemas/FaceSDKResult'

0 commit comments

Comments
 (0)