Skip to content

Commit

Permalink
Revert "SP-11596: Add outputImageParams" (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
irynaharoshka authored Sep 22, 2023
1 parent 1538436 commit fdc7962
Showing 1 changed file with 2 additions and 48 deletions.
50 changes: 2 additions & 48 deletions matching.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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/"
Expand Down

0 comments on commit fdc7962

Please sign in to comment.