From 11bfa3b1db4245a3d2f7e70a9042e3e376c54250 Mon Sep 17 00:00:00 2001 From: irynaharoshka <93273494+irynaharoshka@users.noreply.github.com> Date: Thu, 11 May 2023 17:15:03 +0700 Subject: [PATCH 01/13] fix --- detect.yml | 4 ++-- groups.yml | 2 +- index.yml | 4 ++-- persons.yml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/detect.yml b/detect.yml index 65e23fa..f91b18b 100644 --- a/detect.yml +++ b/detect.yml @@ -7,8 +7,8 @@ paths: - $ref: './common.yml#/components/parameters/x-request' post: tags: - - matching - summary: "Detect facial coordinates" + - detection + summary: "Find a face in the image, evaluate its attributes, and assess the portrait quality." operationId: detect requestBody: required: true diff --git a/groups.yml b/groups.yml index 0bc9036..750898a 100644 --- a/groups.yml +++ b/groups.yml @@ -7,7 +7,7 @@ paths: - $ref: './common.yml#/components/parameters/x-request' get: tags: - - group + - search summary: Get groups operationId: get_all_groups parameters: diff --git a/index.yml b/index.yml index 215f597..02091b0 100755 --- a/index.yml +++ b/index.yml @@ -32,6 +32,8 @@ paths: $ref: './match_and_search.yml#/paths/~1match_and_search' /api/detect: $ref: './detect.yml#/paths/~1detect' + /api/search: + $ref: './search.yml#/paths/~1search' /api/persons: $ref: './persons.yml#/paths/~1persons' /api/persons/{person_id}: @@ -48,7 +50,5 @@ paths: $ref: './groups.yml#/paths/~1groups~1{group_id}' /api/groups/{group_id}/persons: $ref: './groups.yml#/paths/~1groups~1{group_id}~1persons' - /api/search: - $ref: './search.yml#/paths/~1search' /api/v2/liveness: $ref: './liveness.yml#/paths/~1v2~1liveness' diff --git a/persons.yml b/persons.yml index 5bf54bc..0945a50 100644 --- a/persons.yml +++ b/persons.yml @@ -7,7 +7,7 @@ paths: - $ref: './common.yml#/components/parameters/x-request' get: tags: - - person + - search summary: Get persons operationId: get_all_persons parameters: From 8437956bd8af1eec8d0be4e3d1b6f3ac40b5ecc0 Mon Sep 17 00:00:00 2001 From: irynaharoshka <93273494+irynaharoshka@users.noreply.github.com> Date: Thu, 11 May 2023 19:53:26 +0700 Subject: [PATCH 02/13] fixed tags --- detect.yml | 2 +- groups.yml | 2 +- liveness.yml | 2 +- matching.yml | 2 +- persons.yml | 2 +- search.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/detect.yml b/detect.yml index f91b18b..ab433f3 100644 --- a/detect.yml +++ b/detect.yml @@ -7,7 +7,7 @@ paths: - $ref: './common.yml#/components/parameters/x-request' post: tags: - - detection + - Face Detection summary: "Find a face in the image, evaluate its attributes, and assess the portrait quality." operationId: detect requestBody: diff --git a/groups.yml b/groups.yml index 750898a..03e0bb7 100644 --- a/groups.yml +++ b/groups.yml @@ -7,7 +7,7 @@ paths: - $ref: './common.yml#/components/parameters/x-request' get: tags: - - search + - Face Identification/Groups summary: Get groups operationId: get_all_groups parameters: diff --git a/liveness.yml b/liveness.yml index a1537f5..8714081 100644 --- a/liveness.yml +++ b/liveness.yml @@ -6,7 +6,7 @@ paths: - $ref: './common.yml#/components/parameters/transactionId' get: tags: - - liveness 2.0 + - Liveness assessment summary: liveness operationId: get_liveness_transaction_info responses: diff --git a/matching.yml b/matching.yml index ef5cc47..e91215d 100755 --- a/matching.yml +++ b/matching.yml @@ -6,7 +6,7 @@ paths: - $ref: './common.yml#/components/parameters/x-request' post: tags: - - matching + - Face Comparison summary: "Compare provided face images in all combinations and return the similarity score for each pair." operationId: match requestBody: diff --git a/persons.yml b/persons.yml index 0945a50..2cbfa03 100644 --- a/persons.yml +++ b/persons.yml @@ -7,7 +7,7 @@ paths: - $ref: './common.yml#/components/parameters/x-request' get: tags: - - search + - Face Identification/Persons summary: Get persons operationId: get_all_persons parameters: diff --git a/search.yml b/search.yml index 0a98428..f78eb34 100644 --- a/search.yml +++ b/search.yml @@ -7,7 +7,7 @@ paths: - $ref: './common.yml#/components/parameters/x-request' post: tags: - - search + - Face Identification summary: Find person by image in groups. operationId: search requestBody: From 18c0ceeefb4b22f4cf7357c083da780992eba632 Mon Sep 17 00:00:00 2001 From: irynaharoshka <93273494+irynaharoshka@users.noreply.github.com> Date: Fri, 12 May 2023 14:02:25 +0700 Subject: [PATCH 03/13] fixing --- detect.yml | 2 +- groups.yml | 14 +++++++------- liveness.yml | 2 +- match_and_search.yml | 2 +- matching.yml | 2 +- persons.yml | 20 ++++++++++---------- search.yml | 2 +- 7 files changed, 22 insertions(+), 22 deletions(-) diff --git a/detect.yml b/detect.yml index ab433f3..e911911 100644 --- a/detect.yml +++ b/detect.yml @@ -7,7 +7,7 @@ paths: - $ref: './common.yml#/components/parameters/x-request' post: tags: - - Face Detection + - face detection summary: "Find a face in the image, evaluate its attributes, and assess the portrait quality." operationId: detect requestBody: diff --git a/groups.yml b/groups.yml index 03e0bb7..dc77374 100644 --- a/groups.yml +++ b/groups.yml @@ -7,7 +7,7 @@ paths: - $ref: './common.yml#/components/parameters/x-request' get: tags: - - Face Identification/Groups + - face identification summary: Get groups operationId: get_all_groups parameters: @@ -24,7 +24,7 @@ paths: $ref: "./common.yml#/components/responses/BadRequest" post: tags: - - group + - face identification./group summary: Create group operationId: create_group requestBody: @@ -45,7 +45,7 @@ paths: - $ref: './common.yml#/components/parameters/x-request' get: tags: - - group + - face identification./group summary: Get group operationId: get_group responses: @@ -57,7 +57,7 @@ paths: $ref: "#/components/responses/GroupNotFound" put: tags: - - group + - face identification./group summary: Update group operationId: update_group requestBody: @@ -76,7 +76,7 @@ paths: $ref: "#/components/responses/GroupNotFound" delete: tags: - - group + - face identification./group summary: Delete group operationId: delete_group responses: @@ -90,7 +90,7 @@ paths: - $ref: './common.yml#/components/parameters/x-request' get: tags: - - group + - face identification./group summary: Get group persons operationId: get_all_persons_by_group_id parameters: @@ -113,7 +113,7 @@ paths: $ref: "./common.yml#/components/schemas/OperationLog" put: tags: - - group + - face identification./group summary: Add/remove persons to group operationId: update_persons_in_group requestBody: diff --git a/liveness.yml b/liveness.yml index 8714081..617c593 100644 --- a/liveness.yml +++ b/liveness.yml @@ -6,7 +6,7 @@ paths: - $ref: './common.yml#/components/parameters/transactionId' get: tags: - - Liveness assessment + - liveness assessment summary: liveness operationId: get_liveness_transaction_info responses: diff --git a/match_and_search.yml b/match_and_search.yml index 707b0e3..851920a 100644 --- a/match_and_search.yml +++ b/match_and_search.yml @@ -5,7 +5,7 @@ paths: - $ref: './common.yml#/components/parameters/x-request' post: tags: - - matching + - face comparison summary: 'Match and Search in one request' operationId: match_and_search requestBody: diff --git a/matching.yml b/matching.yml index e91215d..cdb09e2 100755 --- a/matching.yml +++ b/matching.yml @@ -6,7 +6,7 @@ paths: - $ref: './common.yml#/components/parameters/x-request' post: tags: - - Face Comparison + - face comparison summary: "Compare provided face images in all combinations and return the similarity score for each pair." operationId: match requestBody: diff --git a/persons.yml b/persons.yml index 2cbfa03..311f738 100644 --- a/persons.yml +++ b/persons.yml @@ -7,7 +7,7 @@ paths: - $ref: './common.yml#/components/parameters/x-request' get: tags: - - Face Identification/Persons + - face identification summary: Get persons operationId: get_all_persons parameters: @@ -25,7 +25,7 @@ paths: $ref: "./common.yml#/components/responses/BadRequest" post: tags: - - person + - face identification summary: Create person operationId: create_person requestBody: @@ -45,7 +45,7 @@ paths: - $ref: './common.yml#/components/parameters/x-request' get: tags: - - person + - face identification summary: Get person operationId: get_person responses: @@ -57,7 +57,7 @@ paths: $ref: '#/components/responses/PersonNotFound' put: tags: - - person + - face identification summary: Update person operationId: update_person requestBody: @@ -76,7 +76,7 @@ paths: $ref: '#/components/responses/PersonNotFound' delete: tags: - - person + - face identification summary: Delete person operationId: delete_person responses: @@ -92,7 +92,7 @@ paths: - $ref: './common.yml#/components/parameters/x-request' get: tags: - - person + - face identification summary: Get person images operationId: get_all_images_by_person_id parameters: @@ -111,7 +111,7 @@ paths: $ref: '#/components/responses/PersonNotFound' post: tags: - - person + - face identification summary: Add person image operationId: add_image_to_person requestBody: @@ -138,7 +138,7 @@ paths: - $ref: './common.yml#/components/parameters/x-request' get: tags: - - person + - face identification summary: Get person image by id operationId: get_image_of_person parameters: @@ -159,7 +159,7 @@ paths: format: binary delete: tags: - - person + - face identification summary: Delete image of person operationId: delete_image_of_person parameters: @@ -181,7 +181,7 @@ paths: - $ref: './common.yml#/components/parameters/x-request' get: tags: - - person + - face identification summary: Get person groups operationId: get_all_groups_by_person_id parameters: diff --git a/search.yml b/search.yml index f78eb34..daeb7e1 100644 --- a/search.yml +++ b/search.yml @@ -7,7 +7,7 @@ paths: - $ref: './common.yml#/components/parameters/x-request' post: tags: - - Face Identification + - face identification summary: Find person by image in groups. operationId: search requestBody: From e19fd0f2f6d1073737ff3d6725cc90f2ad0823f7 Mon Sep 17 00:00:00 2001 From: irynaharoshka <93273494+irynaharoshka@users.noreply.github.com> Date: Mon, 15 May 2023 15:56:46 +0700 Subject: [PATCH 04/13] Fix --- common.yml | 8 +++++++- detect.yml | 6 +----- groups.yml | 12 ++++++------ match_and_search.yml | 2 +- matching.yml | 4 ++-- search.yml | 2 +- 6 files changed, 18 insertions(+), 16 deletions(-) diff --git a/common.yml b/common.yml index 7bc460f..8eed724 100755 --- a/common.yml +++ b/common.yml @@ -61,6 +61,12 @@ components: description: "Whether to evaluate attributes, such as age and emotions." type: boolean default: false + properties: + config: + description: "The configuration that defines the list of returned attributes." + properties: + name: + description: "The name of the attribute.." OutputImageParams: type: object @@ -199,7 +205,7 @@ components: FaceQualityScenarios: type: string - description: "Face detection scenarios." + description: "Face detection scenario." enum: - "OldMode" - "QualityFull" diff --git a/detect.yml b/detect.yml index e911911..76ffee7 100644 --- a/detect.yml +++ b/detect.yml @@ -8,7 +8,7 @@ paths: post: tags: - face detection - summary: "Find a face in the image, evaluate its attributes, and assess the portrait quality." + summary: "Find a face in the image, evaluate attributes, and assess the portrait quality" operationId: detect requestBody: required: true @@ -42,10 +42,6 @@ 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: boolean - default: false DetectResponse: allOf: diff --git a/groups.yml b/groups.yml index dc77374..c204d39 100644 --- a/groups.yml +++ b/groups.yml @@ -24,7 +24,7 @@ paths: $ref: "./common.yml#/components/responses/BadRequest" post: tags: - - face identification./group + - face identification summary: Create group operationId: create_group requestBody: @@ -45,7 +45,7 @@ paths: - $ref: './common.yml#/components/parameters/x-request' get: tags: - - face identification./group + - face identification summary: Get group operationId: get_group responses: @@ -57,7 +57,7 @@ paths: $ref: "#/components/responses/GroupNotFound" put: tags: - - face identification./group + - face identification summary: Update group operationId: update_group requestBody: @@ -76,7 +76,7 @@ paths: $ref: "#/components/responses/GroupNotFound" delete: tags: - - face identification./group + - face identification summary: Delete group operationId: delete_group responses: @@ -90,7 +90,7 @@ paths: - $ref: './common.yml#/components/parameters/x-request' get: tags: - - face identification./group + - face identification summary: Get group persons operationId: get_all_persons_by_group_id parameters: @@ -113,7 +113,7 @@ paths: $ref: "./common.yml#/components/schemas/OperationLog" put: tags: - - face identification./group + - face identification summary: Add/remove persons to group operationId: update_persons_in_group requestBody: diff --git a/match_and_search.yml b/match_and_search.yml index 851920a..70367a5 100644 --- a/match_and_search.yml +++ b/match_and_search.yml @@ -6,7 +6,7 @@ paths: post: tags: - face comparison - summary: 'Match and Search in one request' + summary: 'Compare faces and look up a person in a database in one request' operationId: match_and_search requestBody: required: true diff --git a/matching.yml b/matching.yml index cdb09e2..f001c95 100755 --- a/matching.yml +++ b/matching.yml @@ -7,7 +7,7 @@ paths: post: tags: - face comparison - summary: "Compare provided face images in all combinations and return the similarity score for each pair." + summary: "Compare faces in all combinations and return similarity score for each pair" operationId: match requestBody: required: true @@ -168,5 +168,5 @@ components: detectAll: type: boolean - description: "Whether to detect all faces in the image. If set to false, only one face is detected: the most central one." + description: "Whether to detect all faces in the image. If set to false, only the most central face is detected." default: true \ No newline at end of file diff --git a/search.yml b/search.yml index daeb7e1..35fce4e 100644 --- a/search.yml +++ b/search.yml @@ -8,7 +8,7 @@ paths: post: tags: - face identification - summary: Find person by image in groups. + summary: Find person by image in groups operationId: search requestBody: required: true From 6bf7a17281244ed552476a511fdfc757a9aec79a Mon Sep 17 00:00:00 2001 From: irynaharoshka <93273494+irynaharoshka@users.noreply.github.com> Date: Mon, 15 May 2023 16:02:44 +0700 Subject: [PATCH 05/13] fix --- common.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.yml b/common.yml index 8eed724..d2328ad 100755 --- a/common.yml +++ b/common.yml @@ -66,7 +66,7 @@ components: description: "The configuration that defines the list of returned attributes." properties: name: - description: "The name of the attribute.." + description: "The name of the attribute." OutputImageParams: type: object From d75cdf5581ff237e97ea1e4270722352a740e3e8 Mon Sep 17 00:00:00 2001 From: irynaharoshka <93273494+irynaharoshka@users.noreply.github.com> Date: Fri, 19 May 2023 13:29:32 +0700 Subject: [PATCH 06/13] fix --- common.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common.yml b/common.yml index d2328ad..df91e39 100755 --- a/common.yml +++ b/common.yml @@ -91,6 +91,7 @@ components: Crop: type: object + description: "Whether to return the Base64 of an aligned and cropped portrait in the crop field." properties: type: $ref: "#/components/schemas/FaceImageQualityAlignType" @@ -185,6 +186,7 @@ components: RGB: type: array + description: "The RGB value of a color for filling the background color behind a person's silhouette and for aligning the image." items: type: integer minItems: 3 From e224b7f6cdda78a7b4102fdec551d26ea0ddf95e Mon Sep 17 00:00:00 2001 From: irynaharoshka <93273494+irynaharoshka@users.noreply.github.com> Date: Fri, 19 May 2023 15:59:26 +0700 Subject: [PATCH 07/13] fix --- common.yml | 38 +++++++++++++++++++++++++++++++++++--- 1 file changed, 35 insertions(+), 3 deletions(-) diff --git a/common.yml b/common.yml index df91e39..0a47937 100755 --- a/common.yml +++ b/common.yml @@ -66,7 +66,7 @@ components: description: "The configuration that defines the list of returned attributes." properties: name: - description: "The name of the attribute." + $ref: "#/components/schemas/FaceAttribute" OutputImageParams: type: object @@ -115,13 +115,13 @@ components: QualityConfigList: type: array + description: "The configuration that defines the list of returned quality check characteristics." items: $ref: "#/components/schemas/QualityConfig" QualityConfig: type: object - description: "The configuration that defines the list of returned quality check characteristics. - For every characteristic, includes name, range, unit." + description: "The configuration that defines the list of returned quality check characteristics." properties: name: description: "The name of the characteristic." @@ -488,3 +488,35 @@ components: items: type: number example: [x, y, width, height] + + FaceAttribute: + type: string + description: "All face characteristics that can be assessed during attributes evaluation." + enum: + - "Age" + - "Emotion" + - "EyeLeft" + - "EyeRight" + - "Smile" + - "Glasses" + - "HeadCovering" + - "ForeheadCovering" + - "Mouth" + - "MedicalMask" + - "Occlusion" + - "StrongMakeup" + - "Headphones" + x-enum-varnames: + - AGE + - EMOTION + - EYE_LEFT + - EYE_RIGHT + - SMILE + - GLASSES + - HEAD_COVERING + - FOREHEAD_COVERING + - MOUTH + - MEDICAL_MASK + - OCCLUSION + - STRONG_MAKEUP + - HEADPHONES \ No newline at end of file From e89c28dbbbbb783944f69f6803fce439df0284c3 Mon Sep 17 00:00:00 2001 From: irynaharoshka <93273494+irynaharoshka@users.noreply.github.com> Date: Fri, 19 May 2023 16:16:52 +0700 Subject: [PATCH 08/13] fix --- common.yml | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/common.yml b/common.yml index 0a47937..bfb34c5 100755 --- a/common.yml +++ b/common.yml @@ -58,15 +58,7 @@ components: quality: $ref: "#/components/schemas/QualityRequest" attributes: - description: "Whether to evaluate attributes, such as age and emotions." - type: boolean - default: false - properties: - config: - description: "The configuration that defines the list of returned attributes." - properties: - name: - $ref: "#/components/schemas/FaceAttribute" + $ref: "#/components/schemas/Attributes" OutputImageParams: type: object @@ -186,7 +178,7 @@ components: RGB: type: array - description: "The RGB value of a color for filling the background color behind a person's silhouette and for aligning the image." + description: "The RGB value of a color for filling background behind a person's silhouette and for aligning the image." items: type: integer minItems: 3 @@ -489,6 +481,17 @@ components: type: number example: [x, y, width, height] + Attributes: + description: "Whether to evaluate attributes, such as age and emotions." + type: boolean + default: false + properties: + config: + description: "The configuration that defines the list of returned attributes." + properties: + name: + $ref: "#/components/schemas/FaceAttribute" + FaceAttribute: type: string description: "All face characteristics that can be assessed during attributes evaluation." From 4e3526a2c3535a417bfb5af44f81bdf42e6d66c5 Mon Sep 17 00:00:00 2001 From: irynaharoshka <93273494+irynaharoshka@users.noreply.github.com> Date: Fri, 19 May 2023 16:20:34 +0700 Subject: [PATCH 09/13] fix --- common.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/common.yml b/common.yml index bfb34c5..4c2209a 100755 --- a/common.yml +++ b/common.yml @@ -482,15 +482,16 @@ components: example: [x, y, width, height] Attributes: - description: "Whether to evaluate attributes, such as age and emotions." - type: boolean - default: false - properties: - config: - description: "The configuration that defines the list of returned attributes." - properties: - name: - $ref: "#/components/schemas/FaceAttribute" + description: "Whether to evaluate attributes, such as age and emotions." + type: boolean + default: false + properties: + config: + type: array + description: "The configuration that defines the list of returned attributes." + properties: + name: + $ref: "#/components/schemas/FaceAttribute" FaceAttribute: type: string From 1646d015640762abd6cafa13eecb1cccd1fff409 Mon Sep 17 00:00:00 2001 From: irynaharoshka <93273494+irynaharoshka@users.noreply.github.com> Date: Fri, 19 May 2023 16:32:54 +0700 Subject: [PATCH 10/13] fix --- common.yml | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/common.yml b/common.yml index 4c2209a..462b253 100755 --- a/common.yml +++ b/common.yml @@ -57,8 +57,17 @@ components: $ref: "#/components/schemas/OutputImageParams" quality: $ref: "#/components/schemas/QualityRequest" - attributes: - $ref: "#/components/schemas/Attributes" + attributes: + description: "Whether to evaluate attributes, such as age and emotions." + type: boolean + default: false + properties: + config: + type: array + description: "The configuration that defines the list of returned attributes." + properties: + name: + $ref: "#/components/schemas/FaceAttribute" OutputImageParams: type: object @@ -481,18 +490,6 @@ components: type: number example: [x, y, width, height] - Attributes: - description: "Whether to evaluate attributes, such as age and emotions." - type: boolean - default: false - properties: - config: - type: array - description: "The configuration that defines the list of returned attributes." - properties: - name: - $ref: "#/components/schemas/FaceAttribute" - FaceAttribute: type: string description: "All face characteristics that can be assessed during attributes evaluation." From 63a213f2eab2099e3025a56afcf384ae23b5ec18 Mon Sep 17 00:00:00 2001 From: irynaharoshka <93273494+irynaharoshka@users.noreply.github.com> Date: Fri, 19 May 2023 16:34:52 +0700 Subject: [PATCH 11/13] fix --- common.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/common.yml b/common.yml index 462b253..50bf496 100755 --- a/common.yml +++ b/common.yml @@ -58,16 +58,16 @@ components: quality: $ref: "#/components/schemas/QualityRequest" attributes: - description: "Whether to evaluate attributes, such as age and emotions." - type: boolean - default: false - properties: - config: - type: array - description: "The configuration that defines the list of returned attributes." - properties: - name: - $ref: "#/components/schemas/FaceAttribute" + description: "Whether to evaluate attributes, such as age and emotions." + type: boolean + default: false + properties: + config: + type: array + description: "The configuration that defines the list of returned attributes." + properties: + name: + $ref: "#/components/schemas/FaceAttribute" OutputImageParams: type: object From 0c19f8dc606b8e6cbb920c757cf7b8bb41163dae Mon Sep 17 00:00:00 2001 From: irynaharoshka <93273494+irynaharoshka@users.noreply.github.com> Date: Fri, 19 May 2023 20:29:38 +0700 Subject: [PATCH 12/13] fix --- common.yml | 36 ++---------------------------------- 1 file changed, 2 insertions(+), 34 deletions(-) diff --git a/common.yml b/common.yml index 50bf496..b48b78d 100755 --- a/common.yml +++ b/common.yml @@ -67,7 +67,7 @@ components: description: "The configuration that defines the list of returned attributes." properties: name: - $ref: "#/components/schemas/FaceAttribute" + $ref: "detect.yml#/components/schemas/FaceAttribute" OutputImageParams: type: object @@ -488,36 +488,4 @@ components: type: array items: type: number - example: [x, y, width, height] - - FaceAttribute: - type: string - description: "All face characteristics that can be assessed during attributes evaluation." - enum: - - "Age" - - "Emotion" - - "EyeLeft" - - "EyeRight" - - "Smile" - - "Glasses" - - "HeadCovering" - - "ForeheadCovering" - - "Mouth" - - "MedicalMask" - - "Occlusion" - - "StrongMakeup" - - "Headphones" - x-enum-varnames: - - AGE - - EMOTION - - EYE_LEFT - - EYE_RIGHT - - SMILE - - GLASSES - - HEAD_COVERING - - FOREHEAD_COVERING - - MOUTH - - MEDICAL_MASK - - OCCLUSION - - STRONG_MAKEUP - - HEADPHONES \ No newline at end of file + example: [x, y, width, height] \ No newline at end of file From 6c289942f4b772583ef7e02cea99b0a66db6759d Mon Sep 17 00:00:00 2001 From: irynaharoshka <93273494+irynaharoshka@users.noreply.github.com> Date: Fri, 19 May 2023 20:39:10 +0700 Subject: [PATCH 13/13] fix --- common.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/common.yml b/common.yml index b48b78d..01a10f9 100755 --- a/common.yml +++ b/common.yml @@ -61,13 +61,6 @@ components: description: "Whether to evaluate attributes, such as age and emotions." type: boolean default: false - properties: - config: - type: array - description: "The configuration that defines the list of returned attributes." - properties: - name: - $ref: "detect.yml#/components/schemas/FaceAttribute" OutputImageParams: type: object