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

SP-12726: Remove attributes from detect request #77

Merged
Merged
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
6 changes: 4 additions & 2 deletions common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ components:
$ref: "#/components/schemas/QualityRequest"
attributes:
description: "Whether to evaluate attributes, such as age and emotions."
type: boolean
default: false
type: object
properties:
config:
$ref: "./common.yml#/components/schemas/QualityConfigList"

OutputImageParams:
type: object
Expand Down
8 changes: 1 addition & 7 deletions detect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,7 @@ components:
description: "Whether to return the cropped portrains with the detected faces."
type: boolean
default: false
attributes:
description: "Whether to evaluate attributes, such as age and emotions."
type: object
properties:
config:
$ref: "./common.yml#/components/schemas/QualityConfigList"


DetectResponse:
allOf:
- $ref: './common.yml#/components/schemas/FaceSDKResult'
Expand Down
Loading