File tree Expand file tree Collapse file tree 3 files changed +51
-1
lines changed
Expand file tree Collapse file tree 3 files changed +51
-1
lines changed Original file line number Diff line number Diff line change @@ -186,3 +186,26 @@ components:
186186 type : string
187187 format : byte
188188 example : " Base64 encoded data"
189+
190+ GlaresCheckParams :
191+ type : object
192+ properties :
193+ imgMarginPart :
194+ type : number
195+ format : float
196+ description : " Margin from the edges of the image. 0.35 = 35%"
197+ example : 0.35
198+ maxGlaringPart :
199+ type : number
200+ format : float
201+ description : " The maximum allowable part of the area occupied by the glare.
202+ The same: 0.06 = 6%"
203+ example : 0.0
204+
205+ # ExpectedPass:
206+ # type: array
207+ # description: "List of checks from the imageQA section that must be accepted
208+ # to complete the capture of a document in a series"
209+ # items:
210+ # type: string
211+ # example: ["dpiThreshold", "glaresCheck"]
Original file line number Diff line number Diff line change 11openapi : 3.0.3
22info :
3- version : 6.1 .0
3+ version : 6.3 .0
44 title : Regula Document Reader Web API
55 x-logo :
66 url : ' https://regulaforensics.com/bitrix/media/img/elements/logo.png'
Original file line number Diff line number Diff line change @@ -317,6 +317,31 @@ components:
317317 convertCase :
318318 description : " This option allows output text case transformation. No changes applied by default to original values."
319319 $ref : " #/components/schemas/TextPostProcessing"
320+ splitNames :
321+ type : boolean
322+ description : " If it is set to true,
323+ the Surname and GivenNames fields from the MRZ will be divided
324+ into the ft_First_Name, ft_Second_Name, ft_Third_Name,
325+ ft_Fourth_Name, ft_Last_Name fields"
326+ # default false
327+ disablePerforationOCR :
328+ type : boolean
329+ description : " Disables reading perforated fields"
330+ # default ?
331+ processAuth :
332+ type : boolean
333+ description : " Checks filter"
334+ # default true
335+ documentGroupFilter :
336+ description : " Filter documents by group"
337+ type : array
338+ items :
339+ $ref : " ./e-document-type.yml#/components/schemas/DocumentType"
340+ example : [1,214,12]
341+ respectImageQuality :
342+ type : boolean
343+ description : " When it true ImageQuality can affect on Optical Status"
344+ example : true
320345 required :
321346 - scenario
322347
@@ -422,6 +447,8 @@ components:
422447 description : " This option enables moire patterns check while performing image quality validation."
423448 type : boolean
424449 # default: false
450+ glaresCheckParams :
451+ $ref : ' ./common.yml#/components/schemas/GlaresCheckParams'
425452
426453 ProcessRequestImage :
427454 type : object
You can’t perform that action at this time.
0 commit comments