Skip to content

Commit ab6a730

Browse files
Merge pull request #73 from regulaforensics/fix/sp-12266-detection-types
Update detect.yml
2 parents 853c9c9 + 1106247 commit ab6a730

1 file changed

Lines changed: 18 additions & 4 deletions

File tree

detect.yml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,24 @@ components:
9191
$ref: "./common.yml#/components/schemas/ImageData"
9292
attributes:
9393
type: object
94-
additionalProperties: true
95-
example:
96-
age: adult
97-
emotion: smile
94+
properties:
95+
details:
96+
type: array
97+
items:
98+
type: object
99+
properties:
100+
name:
101+
type: string
102+
description: "The name of the attribute."
103+
confidence:
104+
type: number
105+
description: "The confidence score for the attribute."
106+
value:
107+
type: any
108+
description: "Value."
109+
elapsedTime:
110+
type: number
111+
description: "The elapsed time for attribute detection."
98112
landmarks:
99113
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."
100114
type: array

0 commit comments

Comments
 (0)