File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,9 +25,12 @@ paths:
2525 403 :
2626 $ref : " ./common.yml#/components/responses/BadLicense"
2727
28+ info :
29+ title : Regula FaceSDK Web API
30+ version : 5.2.0
31+
2832components :
2933 schemas :
30-
3134 MatchRequest :
3235 type : object
3336 required :
@@ -45,6 +48,46 @@ components:
4548 description : " The array of all images included in the comparison."
4649 items :
4750 $ref : " #/components/schemas/MatchImage"
51+ outputImageParams :
52+ type : object
53+ description : " Whether to process the uploaded image according to the indicated settings."
54+ properties :
55+ backgroundColor :
56+ type : array
57+ description : " The RGB value of a color for filling background behind a person's silhouette and for aligning the image."
58+ default : null
59+ items :
60+ type : integer
61+ crop :
62+ type : object
63+ description : " Whether to return the Base64 of an aligned and cropped portrait in the crop field."
64+ properties :
65+ padColor :
66+ type : array
67+ description : " The RGB value of a color for filling background behind a person's silhouette and for aligning the image."
68+ default : null
69+ items :
70+ type : integer
71+ returnOriginalRect :
72+ type : boolean
73+ description : " Whether to return the coordinates of the rectangle with the face in the original image prepared for the face crop."
74+ default : null
75+ size :
76+ type : array
77+ description : " The resize value in case type matches this value. If it doesn't, no resize is done."
78+ default : null
79+ items :
80+ type : integer
81+ type :
82+ type : integer
83+ description : " The aspect ratio according to which face alignment is performed during face detection."
84+ default : null
85+ enum :
86+ - 0
87+ - 1
88+ - 2
89+ - 3
90+ - 4
4891
4992 MatchImageIndex :
5093 type : integer
@@ -142,11 +185,15 @@ components:
142185 example : [ [ x, y ] ]
143186 rotationAngle :
144187 description : " Angle of rotation of the face from the vertical axis, degrees."
145- type : float
188+ type : number
146189 roi :
147190 $ref : " ./common.yml#/components/schemas/FaceRectangular"
148191 thumbnail :
149192 $ref : " ./common.yml#/components/schemas/Thumbnail"
193+ crop :
194+ type : string
195+ format : byte
196+ description : " Base64 of the cropped portrait."
150197
151198 ImageSource :
152199 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/"
You can’t perform that action at this time.
0 commit comments