Skip to content

Commit dd51913

Browse files
irynaharoshkaGubinAlexander
authored andcommitted
marked thumbnails deprecated + minor fixes (#70)
1 parent fb773e1 commit dd51913

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

common.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ components:
7373
description: "The RGB value for the background color: the silhouette of a person is cut out and the background is filled with this color."
7474
$ref: "#/components/schemas/RGB"
7575
crop:
76-
description: "Whether to return the Base64 of an aligned and cropped portrait in the crop field."
76+
description: "Whether to return the Base64 of an aligned and cropped portrait in the `crop` field."
7777
$ref: "#/components/schemas/Crop"
7878

7979
QualityRequest:
@@ -88,11 +88,11 @@ components:
8888

8989
Crop:
9090
type: object
91-
description: "Whether to return the Base64 of an aligned and cropped portrait in the crop field."
91+
description: "Whether to return the Base64 image of an aligned and cropped portrait in the `crop` field."
9292
properties:
9393
type:
9494
$ref: "#/components/schemas/FaceImageQualityAlignType"
95-
description: "The dimensions ratio to the height of the required pattern."
95+
description: "The aspect ratio according to which face alignment is performed during face detection."
9696
example: 1
9797
padColor:
9898
$ref: "#/components/schemas/RGB"
@@ -103,7 +103,7 @@ components:
103103
type: integer
104104
minItems: 2
105105
maxItems: 2
106-
description: "The resize value in case type matches this value. If it doesn't, no resize is done."
106+
description: "The resize value in case `type` matches this value. If it doesn't, no resize is performed."
107107
example: [300, 400]
108108
returnOriginalRect:
109109
type: boolean

detect.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ components:
3939
image:
4040
$ref: "./common.yml#/components/schemas/ImageData"
4141
thumbnails:
42-
description: "Whether to return the cropped portrains with the detected faces."
42+
description: "Deprecated, use the `crop` field in `processParam` instead."
4343
type: boolean
4444
default: false
4545

matching.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ components:
4242
description: "Session identificator."
4343
thumbnails:
4444
type: boolean
45-
description: "Whether to return thumbnails: Base64 cropped images that contain vertically aligned faces."
45+
description: "Deprecated, use the `crop` field in `outputImageParams` instead."
4646
default: false
4747
images:
4848
type: array
@@ -61,7 +61,7 @@ components:
6161
type: integer
6262
crop:
6363
type: object
64-
description: "Whether to return the Base64 of an aligned and cropped portrait in the crop field."
64+
description: "Whether to return the Base64 of an aligned and cropped portrait in the `crop` field."
6565
properties:
6666
padColor:
6767
type: array
@@ -75,7 +75,7 @@ components:
7575
default: null
7676
size:
7777
type: array
78-
description: "The resize value in case type matches this value. If it doesn't, no resize is done."
78+
description: "The resize value in case `type` matches this value. If it doesn't, no resize is performed."
7979
default: null
8080
items:
8181
type: integer

0 commit comments

Comments
 (0)