From fdc7962f628c27de0d6e2ba0e6977222c12187b6 Mon Sep 17 00:00:00 2001 From: Iryna Haroshka Date: Fri, 22 Sep 2023 17:19:24 +0300 Subject: [PATCH] Revert "SP-11596: Add outputImageParams" (#67) --- matching.yml | 50 ++------------------------------------------------ 1 file changed, 2 insertions(+), 48 deletions(-) diff --git a/matching.yml b/matching.yml index 4f91331..811849e 100755 --- a/matching.yml +++ b/matching.yml @@ -25,12 +25,9 @@ paths: 403: $ref: "./common.yml#/components/responses/BadLicense" -info: - title: Regula FaceSDK Web API - version: 5.2.0 - components: schemas: + MatchRequest: type: object required: @@ -48,46 +45,6 @@ components: description: "The array of all images included in the comparison." items: $ref: "#/components/schemas/MatchImage" - outputImageParams: - type: object - description: "Whether to process the uploaded image according to the indicated settings." - properties: - backgroundColor: - type: array - description: "The RGB value of a color for filling background behind a person's silhouette and for aligning the image." - default: null - items: - type: integer - crop: - type: object - description: "Whether to return the Base64 of an aligned and cropped portrait in the crop field." - properties: - padColor: - type: array - description: "The RGB value of a color for filling background behind a person's silhouette and for aligning the image." - default: null - items: - type: integer - returnOriginalRect: - type: boolean - description: "Whether to return the coordinates of the rectangle with the face in the original image prepared for the face crop." - default: null - size: - type: array - description: "The resize value in case type matches this value. If it doesn't, no resize is done." - default: null - items: - type: integer - type: - type: integer - description: "The aspect ratio according to which face alignment is performed during face detection." - default: null - enum: - - 0 - - 1 - - 2 - - 3 - - 4 MatchImageIndex: type: integer @@ -185,14 +142,11 @@ components: example: [ [ x, y ] ] rotationAngle: description: "Angle of rotation of the face from the vertical axis, degrees." - type: number + type: float roi: $ref: "./common.yml#/components/schemas/FaceRectangular" thumbnail: $ref: "./common.yml#/components/schemas/Thumbnail" - crop: - type: string - format: byte ImageSource: description: "The type of the image, defines the way the comparison is performed. See the enum: https://docs.regulaforensics.com/develop/face-sdk/web-service/development/enums/image-source/"