Skip to content

Commit

Permalink
Merge pull request #73 from regulaforensics/fix/sp-12266-detection-types
Browse files Browse the repository at this point in the history
Update detect.yml
  • Loading branch information
KirylKovaliov authored Nov 1, 2023
2 parents 853c9c9 + 1106247 commit ab6a730
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions detect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,24 @@ components:
$ref: "./common.yml#/components/schemas/ImageData"
attributes:
type: object
additionalProperties: true
example:
age: adult
emotion: smile
properties:
details:
type: array
items:
type: object
properties:
name:
type: string
description: "The name of the attribute."
confidence:
type: number
description: "The confidence score for the attribute."
value:
type: any
description: "Value."
elapsedTime:
type: number
description: "The elapsed time for attribute detection."
landmarks:
description: "Absolute coordinates (x,y) of five points of each detected face: left eye, right eye, nose, left point of lips, right point of lips."
type: array
Expand Down

0 comments on commit ab6a730

Please sign in to comment.