@idscan/idvc2 2.9.0 → 2.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/README.md +15 -4
  2. package/dist/css/idvc.css +1 -1
  3. package/dist/idvc.js +1 -1
  4. package/dist/idvc.js.gzip +0 -0
  5. package/dist/index.html +41 -45
  6. package/dist/js/defaultConfig.ts +3 -20
  7. package/dist/js/environment/langs.js +1 -1
  8. package/dist/js/environment/networkNames.json +1 -2
  9. package/dist/js/environment/stepsDescription.ts +5 -4
  10. package/dist/langs.js.gzip +0 -0
  11. package/dist/networks/Face-chunk.js +1 -1
  12. package/dist/networks/MRZ-chunk.js +1 -1
  13. package/dist/networks/blurWorker.js.gzip +0 -0
  14. package/dist/networks/generalTypeDetectionYolo29052024.onnx.gzip +0 -0
  15. package/dist/networks/mrzWorker.js.gzip +0 -0
  16. package/dist/types/bl.d.ts +2 -2
  17. package/dist/types/constatnts/animations.d.ts +1 -0
  18. package/dist/types/constatnts/stepMode.d.ts +4 -0
  19. package/dist/types/context.d.ts +1 -129
  20. package/dist/types/controllers/ModuleController.d.ts +26 -7
  21. package/dist/types/defaultConfig.d.ts +1 -1
  22. package/dist/types/environment/langs.d.ts +69 -8
  23. package/dist/types/environment/stepsDescription.d.ts +1 -0
  24. package/dist/types/eventListeners/eventListeners.d.ts +1 -1
  25. package/dist/types/eventListeners/selectDocumentType/selectHandler.d.ts +1 -3
  26. package/dist/types/helpers/cameraConstraints.d.ts +6 -0
  27. package/dist/types/helpers/canvas.d.ts +3 -3
  28. package/dist/types/helpers/detectLanguage.d.ts +1 -0
  29. package/dist/types/helpers/image.d.ts +6 -7
  30. package/dist/types/helpers/layoutBreakpoints.d.ts +10 -0
  31. package/dist/types/helpers/step-background.d.ts +2 -2
  32. package/dist/types/idvc.d.ts +1 -1
  33. package/dist/types/loop.d.ts +2 -2
  34. package/dist/types/{modules/manualUpload.d.ts → manualUpload.d.ts} +3 -3
  35. package/dist/types/modules/App/UI-Types.d.ts +9 -0
  36. package/dist/types/modules/App/UI.d.ts +52 -0
  37. package/dist/types/modules/App/WebLibManualUploader.d.ts +13 -0
  38. package/dist/types/modules/Config.d.ts +2 -6
  39. package/dist/types/modules/MrzModule.d.ts +3 -3
  40. package/dist/types/modules/PdfModule.d.ts +3 -3
  41. package/dist/types/modules/Slider.d.ts +10 -0
  42. package/dist/types/modules/Spinner/Spinner.d.ts +22 -0
  43. package/dist/types/modules/Step.d.ts +7 -3
  44. package/dist/types/modules/camera/camera.d.ts +2 -2
  45. package/dist/types/modules/camera/cameraManager.d.ts +6 -2
  46. package/dist/types/modules/manualUploadProcessing.d.ts +8 -8
  47. package/dist/types/modules/ui/CardStep/Card.d.ts +33 -0
  48. package/dist/types/modules/ui/CardStep/CardStep.d.ts +10 -0
  49. package/dist/types/modules/ui/Component.d.ts +32 -0
  50. package/dist/types/modules/ui/ControlButton/ControlButton.d.ts +22 -0
  51. package/dist/types/modules/ui/DesktopNotification/DesktopNotification.d.ts +17 -0
  52. package/dist/types/modules/ui/DocumentsList/DocumentsList.d.ts +21 -0
  53. package/dist/types/modules/ui/IDVCVersionPlank/IDVCVersionPlank.d.ts +10 -0
  54. package/dist/types/modules/ui/InitialLoader/initialLoader.d.ts +12 -0
  55. package/dist/types/modules/ui/MainScreen/MainScreen.d.ts +75 -0
  56. package/dist/types/modules/ui/MessageBox/MessageBox.d.ts +30 -0
  57. package/dist/types/modules/ui/Modal.d.ts +5 -7
  58. package/dist/types/modules/ui/ModeSwitch/ModeSwitch.d.ts +20 -0
  59. package/dist/types/modules/ui/Notification/Notification.d.ts +24 -0
  60. package/dist/types/modules/ui/SelectDocumentType.d.ts +8 -11
  61. package/dist/types/modules/ui/Spinner/SpinnerUI.d.ts +11 -0
  62. package/dist/types/modules/ui/StepsList/StepsList.d.ts +48 -0
  63. package/dist/types/modules/ui/Uploader/UploaderUI.d.ts +39 -0
  64. package/dist/types/modules/ui/VideoWrapper/CanvasWrapper.d.ts +46 -0
  65. package/dist/types/modules/ui/{Flashlight.d.ts → VideoWrapper/Flashlight.d.ts} +8 -8
  66. package/dist/types/modules/ui/VideoWrapper/MaskCapture.d.ts +45 -0
  67. package/dist/types/modules/ui/VideoWrapper/StepPreview/StepPreview.d.ts +16 -0
  68. package/dist/types/modules/ui/VideoWrapper/UIHints.d.ts +27 -0
  69. package/dist/types/modules/ui/VideoWrapper/VideoWrapper.d.ts +44 -0
  70. package/dist/types/modules/ui/selectDocumentType/documentSelectedEvent.d.ts +2 -2
  71. package/dist/types/neural models/generalTypeDetectionYoloModel.d.ts +1 -1
  72. package/dist/types/stepProcessing.d.ts +3 -3
  73. package/dist/types/types/context.d.ts +121 -0
  74. package/dist/types/util.d.ts +1 -1
  75. package/package.json +5 -1
  76. package/dist/networks/ClassLocal-chunk.js +0 -1
  77. package/dist/networks/classLocal03032023.onnx.gzip +0 -0
  78. package/dist/types/loader/loaderClassLocal.d.ts +0 -3
  79. package/dist/types/modules/heic.d.ts +0 -11
  80. package/dist/types/modules/ui/MaskCapture.d.ts +0 -76
  81. package/dist/types/modules/ui/MessageBox.d.ts +0 -21
  82. package/dist/types/modules/ui/canvas.d.ts +0 -49
  83. package/dist/types/modules/ui/forceCaptruringBtn.d.ts +0 -12
  84. package/dist/types/modules/ui/hints.d.ts +0 -17
  85. package/dist/types/modules/ui/limitations.d.ts +0 -2
  86. package/dist/types/modules/ui/manualSwitchBtn.d.ts +0 -30
  87. package/dist/types/modules/ui/spinner.d.ts +0 -13
  88. package/dist/types/modules/uploader.d.ts +0 -58
  89. package/dist/types/neural models/classLocal/exits.d.ts +0 -4
  90. package/dist/types/neural models/classLocalModel.d.ts +0 -29
  91. package/dist/types/ui.d.ts +0 -93
package/dist/idvc.js.gzip CHANGED
Binary file
package/dist/index.html CHANGED
@@ -1,11 +1,20 @@
1
1
  <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta charset="utf-8"><title>Demo Pages</title><link href="css/idvc.css" rel="stylesheet"><style>body {
2
- background: #eff3fc;
2
+ /*background: #eff3fc;*/
3
+ background: #ffe4c4;
3
4
  margin: 0;
4
5
  }
5
- .container {
6
- max-width: 480px;
7
- margin: 0 auto;
8
- }</style></head><body><div class="container"><div id="videoCapturingEl"></div></div><button id="btn">Show Spinner</button> <button id="btn-reload">Reload component</button> <button id="btn-remount">Remount component</button> <button id="new-spinner">New spinner</button> <button id="btn-redocs">Change docTypes</button> <button id="btn-unmount">Unmount IDVC</button> <button id="btn-change-en">En</button> <button id="btn-change-es">Es</button><script src="idvc.js"></script><script src="langs.js"></script><script type="module">import IDVC from './idvc.js'
6
+ .container * {
7
+ box-sizing: border-box;
8
+ font-family: Inter, sans-serif;
9
+ }
10
+ #control-buttons-container {
11
+ margin-top: 25px;
12
+ height: 100px;
13
+ }
14
+ #control-buttons-container button {
15
+ padding: 8px;
16
+ font-size: 14px;
17
+ }</style></head><body><div><div id="videoCapturingEl" class="container"></div></div><div id="control-buttons-container"><button id="btn">Show Spinner</button> <button id="btn-loader">Show Loader</button> <button id="btn-reload">Reload component</button> <button id="btn-remount">Remount component</button> <button id="btn-reconfig">Change config</button> <button id="btn-redocs">Change docTypes</button> <button id="btn-unmount">Unmount IDVC</button> <button id="btn-change-en">En</button> <button id="btn-change-es">Es</button></div><script src="idvc.js"></script><script src="langs.js"></script><script type="module">import IDVC from './idvc.js'
9
18
  // 10.105.74.121: 'eyJwZGY0MTdrZXkiOiJXYkZZY2RrdTJOMWdlVXJIb1hZL2RhQW1QUERKZ2NGRTRDODJqazhzYkczaWJoekM0dXV3SnJ4dWZtOE5YcFNBWDJoREhYRXQvMVl4SVhPRGNhOUVHQ0w1cUFPdllQemp2T2hhTzZzcXAvc1lHWGxBTytnZ0NVSkthRm04MTFnQThpajE0RXhrY013NzNLMEwzcEhwMTlvYjdsUUpFSE9xbG83dTNvTjRNczQ9IiwiaW1hZ2VQcm9jZXNzaW5nS2V5Ijoiam1EWWVVMkhq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YVmhRUWdua0k4N0hXMFVCUzBBVHROTkNoR0k9In0='
@@ -19,8 +28,7 @@
19
28
  fixFrontOrientAfterUpload: false,
20
29
  realFaceMode: 'all', // none, auto, all
21
30
  useCDN: false,
22
- // hideDocumentTitle: true,
23
- useHeic: false,
31
+ useHeic: true,
24
32
  resizeUploadedImage: 2000,
25
33
  isShowDocumentTypeSelect: false,
26
34
  isShowGuidelinesButton: true,
@@ -32,9 +40,21 @@
32
40
  {
33
41
  type: 'ID',
34
42
  steps: [
35
- { type: 'front', name: 'Document Front', mode: { uploader: true, video: false }, enableDesktopNotification: true, autocaptureDelay: 3000 },
36
- { type: 'back', name: 'Document Back', enableDesktopNotification: true, mode: { uploader: true, video: false }, autocaptureDelay: 0 },
37
- // { type: 'face', name: 'Face', mode: { uploader: true, video: false } },
43
+ { type: 'front', name: 'Document\'s Front Image', mode: { uploader: true, video: true }, enableDesktopNotification: true, autocaptureDelay: 3000 },
44
+ { type: 'pdf', name: 'Document\'s Back Image', enableDesktopNotification: true, mode: { uploader: true, video: true }, autocaptureDelay: 0 },
45
+ { type: 'face', name: 'User\ Selfie', mode: { uploader: true, video: true } },
46
+ ],
47
+ },
48
+ {
49
+ type: 'VIN',
50
+ steps:[
51
+ { type: 'photo', name: 'VIN' },
52
+ ],
53
+ },
54
+ {
55
+ type: 'Barcode',
56
+ steps:[
57
+ { type: 'barcode', name: 'Barcode detection' },
38
58
  ],
39
59
  },
40
60
  // {
@@ -53,16 +73,16 @@
53
73
  type: 'Passport',
54
74
  steps:[
55
75
  // { type: 'front', name: 'Passport Front' },
56
- { type: 'mrz', name: 'Passport MRZ', enableDesktopNotification: true, mode: { uploader: true, video: true } },
76
+ { type: 'mrz', name: 'Passport MRZ', mode: { uploader: true, video: true } },
57
77
  { type: 'face', name: 'Face', mode: { uploader: true, video: true } }
58
78
  ],
59
79
  },
60
80
  {
61
81
  type: 'PassportCard',
62
82
  steps:[
63
- { type: 'front', name: 'document front', },
64
- { type: 'mrz', name: 'passport back', enableDesktopNotification: true, mode: { uploader: true, video: true }, autocaptureDelay: 3000 },
65
- { type: 'face', name: 'Face', mode: { uploader: true, video: true }, autocaptureDelay: 2000 }
83
+ { type: 'front', name: 'Document Card Front' },
84
+ { type: 'mrz', name: 'Passport Card Back', mode: { uploader: true, video: true } },
85
+ { type: 'face', name: 'User Selfie', mode: { uploader: true, video: true } }
66
86
  ],
67
87
  },
68
88
  {
@@ -76,8 +96,8 @@
76
96
  {
77
97
  type: 'InternationalId',
78
98
  steps: [
79
- { type: 'front', name: 'Document Front', mode: { uploader: true, video: true } },
80
- { type: 'back', name: 'Passport Back', mode: { uploader: true, video: true } },
99
+ { type: 'front', name: 'Document Front', mode: { uploader: true, video: true }, enableDesktopNotification: true, autocaptureDelay: 3000 },
100
+ { type: 'back', name: 'International Back', mode: { uploader: true, video: true } },
81
101
  { type: 'face', name: 'Face', mode: { uploader: true, video: true } }
82
102
  ]
83
103
  },
@@ -97,31 +117,7 @@
97
117
  console.log('CAMERA_ERR', JSON.stringify(data))
98
118
  },
99
119
  submit (data) {
100
- console.log('submit')
101
- console.log(data)
102
- /* return new Promise((resolve, reject) => {
103
- fetch(
104
- "https://us-central1-web-library-test-app-proxy.cloudfunctions.net/api/Verify",
105
- {
106
- method: "POST",
107
- headers: {
108
- "Content-Type": "application/json;charset=utf-8",
109
- },
110
- body: JSON.stringify(data),
111
- }
112
- )
113
- .then((response) => response.json())
114
- .then((data1) => {
115
- console.log('config submit');
116
- console.log(data1);
117
- resolve();
118
- })
119
- .catch((err) => {
120
- console.log('config submit');
121
- console.log(err);
122
- reject();
123
- });
124
- }); */
120
+ console.log('submit', data);
125
121
  },
126
122
  onRetakeHook(data) {
127
123
  console.log('retake');
@@ -141,6 +137,10 @@
141
137
  k = !k
142
138
  videoCapturingComponent.showSpinner(k)
143
139
  })
140
+ document.getElementById('btn-loader').addEventListener('click', () => {
141
+ c = !c
142
+ videoCapturingComponent.showLoader(c, '<div>lupa <br> pupa</div>', 'peepo pepe')
143
+ })
144
144
  document.getElementById('btn-reload').addEventListener('click', () => {
145
145
  videoCapturingComponent.reloadComponent(config);
146
146
  })
@@ -149,10 +149,6 @@
149
149
  el.innerHTML = '';
150
150
  videoCapturingComponent = new IDVC(config)
151
151
  })
152
- document.getElementById('new-spinner').addEventListener('click', () => {
153
- c = !c
154
- videoCapturingComponent.showLoader(c, '<div>lupa <br> pupa</div>', 'peepo pepe')
155
- })
156
152
  document.getElementById('btn-redocs').addEventListener('click', () => {
157
153
  videoCapturingComponent.updateDocumentTypes([{
158
154
  type: 'Passport',
@@ -43,12 +43,10 @@ export type DefaultConfigName = 'el'
43
43
  | 'modalPosition'
44
44
  | 'resizeUploadedImage'
45
45
  | 'showSubmitBtn'
46
- | 'h_stepMode'
47
46
  | 'isShowDocumentTypeSelect'
48
47
  | 'useCDN'
49
- | 'useHeic'
50
48
  | 'processingImageFormat'
51
- | 'hideDocumentTitle'
49
+ | 'allowSubmitWithWarnings'
52
50
  | 'autoContinue'
53
51
  | 'autocaptureDelay'
54
52
  | 'isShowGuidelinesButton'
@@ -187,14 +185,6 @@ const defaultConfig: IDefaultConfig[] = [
187
185
  hidden: true,
188
186
  validationFn: 'validateBool',
189
187
  },
190
- {
191
- name: 'h_stepMode',
192
- type: 'Object',
193
- description: 'Default value for step mode (video/uploader)',
194
- defaultValue: { uploader: true, video: true },
195
- hidden: true,
196
- validationFn: null,
197
- },
198
188
  {
199
189
  name: 'isShowDocumentTypeSelect',
200
190
  type: 'Boolean',
@@ -210,16 +200,9 @@ const defaultConfig: IDefaultConfig[] = [
210
200
  validationFn: 'validateBool',
211
201
  },
212
202
  {
213
- name: 'hideDocumentTitle',
214
- type: 'Boolean',
215
- description: 'This option switches on/off the displaying document titles',
216
- defaultValue: false,
217
- validationFn: 'validateBool',
218
- },
219
- {
220
- name: 'useHeic',
203
+ name: 'allowSubmitWithWarnings',
221
204
  type: 'Boolean',
222
- description: 'This option switches on/off the HEIC images processing (HEIC is Apple’s proprietary version of the Image File format). It’s possible to upload only via a Mac/MacBook.',
205
+ description: 'This option allows the user to perform a \'submit\' even if there are warnings',
223
206
  defaultValue: false,
224
207
  validationFn: 'validateBool',
225
208
  },
@@ -1 +1 @@
1
- var e={d:(a,o)=>{for(var r in o)e.o(o,r)&&!e.o(a,r)&&Object.defineProperty(a,r,{enumerable:!0,get:o[r]})},o:(e,a)=>Object.prototype.hasOwnProperty.call(e,a)},a={};e.d(a,{J3:()=>o,_2:()=>n,i0:()=>i});var o=["en","es"],r={es:{errorCodes:{mrzNotFound:"Advertencia: <br/>No se ha encontrado MRZ.",mrzNotRecognized:"Advertencia: <br/>No se han podido leer los datos MRZ.<br/>Intente tomar una imagen de mayor calidad.",barcodeNotFound:"Warning: <br/>Código de barras no encontrado.",barcodeNotRecognized:"Advertencia: <br/>No se pudieron leer los datos del código de barras.<br/>Intente tomar una imagen de mayor calidad.",heic:"El archivo HEIC está dañado",fileTypeHeic:"Error de tipo de archivo: Sólo se admiten imágenes jpeg, png y heic.",fileType:"Error de tipo de archivo: Sólo se admiten imágenes jpeg y png.",disableStepFileUpload:"Se debe utilizar un dispositivo con una cámara para capturar esta imagen",notAllowedDocument:"Este tipo de documento no está permitido",documentSideLowPerimeter:"Advertencia: <br/>El documento de la foto es demasiado pequeño, acércalo más",frontSideNotDetected:"Advertencia: <br/>La imagen no se reconoce como el anverso del tipo de documento elegido",backSideNotDetected:"Advertencia: <br/>La imagen no se reconoce como el reverso del tipo de documento elegido",faceNotFound:"Advertencia: <br/>No se ha encontrado la cara de una persona en la imagen capturada",default:"Lo sentimos, <br/>pero hubo un problema al capturar y enviar las imágenes de su documento. Por favor, inténtelo de nuevo.",CameraNotFound:"No se encontró ninguna cámara en su dispositivo",CameraNotFoundInVerification:"No se ha encontrado ninguna cámara en su dispositivo.<br/> Por favor, utilice un dispositivo diferente o permitir el acceso a la cámara para la verificación",CameraNotAllowed:"Has denegado el acceso a la cámara de tu dispositivo",CameraNotAvailable:"La cámara no está disponible en este momento",CameraInUse:"La cámara ya está en uso",MediaDevicesNotSupported:"Tu navegador no es compatible",lowImageResolution:"La resolución de la imagen cargada es demasiado baja",imageIsBlurred:"La imagen es demasiado borrosa para ser utilizada",faceLowArea:"El área de la cara en la foto ocupa muy poco espacio"},hintTexts:{front:"Coloque el anverso del documento",frontMRZ:"Haga zoom para capturar el código en la parte inferior",mrz:"Haga zoom para capturar el código en la parte posterior",capturing:"Coloque el anverso del documento",pdf:"Coloque el código de barras dentro del marco",switchToUploader:"No se puede leer el código de barras. <br/>Cambie al modo de carga manual de fotos para la validación.",back:"Da la vuelta a tu documento",barcode:"Coloque el código de barras dentro del marco",hold:"Coloca el **placeholder** dentro de la caja",dontSee:"No te veo",dontMove:"No te muevas",turnFaceLeft:"Gira la cara a la izquierda",turnFaceRight:"Gira la cara a la derecha",turnFaceUp:"Levanta tu cara",turnFaceDown:"Bajar la cara",faceCam:"Enfréntate a la cámara",camAway:"Mover la cámara más lejos",moveCenter:"Mover al centro",comeCloser:"Acércate",documentCloser:"Acerque el documento",holdCamera:"Manténgase firme, analizando el documento <br>"},keyErrors:["La clave de licencia ha caducado","La Clave de Licencia no es Válida","La URL Configurada De La Clave De Licencia No Coincide"],camera:{loading:"Carga",awaiting:"A la espera de la respuesta de la cámara"},general:{documentType:"Su Tipo de Documento es",selectDocumentTypeText:"Seleccionar Tipo de Documento",changeBtn:"Cambiar",correctBtn:"Corregir",cancelBtn:"Cancelar",doneBtn:"Hecho",closeBtn:"Cerrar",retakeBtn:"VOLVER",continueBtn:"CONTINUAR",submitBtn:"ENVIAR",resetAllStepsBtn:"Restablecer todos los pasos",desktopNotification:{barcode:"Es posible que el proceso de captura del código de barras con su dispositivo no funcione muy bien<br>Pruebe a utilizar su dispositivo móvil",mrz:"Es posible que el proceso de captura de MRZ mediante su dispositivo no funcione muy bien<br>Pruebe a utilizar su dispositivo móvil",other:"Es posible que el proceso de captura de imágenes con tu dispositivo no funcione muy bien<br>Pruebe a utilizar su dispositivo móvil"},btnUploader:"Cambiar a cargador manual",btnCamera:"Cambiar al modo de cámara",pressToUpdateText:"Pulse para actualizar",pressToUpdateTextSuccess:"Pulse para actualizar"},uploaderDescription:{textFront:"Haga clic aquí para cargar el frente de su identificación",textBack:"Haga clic aquí para cargar el reverso de una identificación",textFace:"Haga clic aquí para cargar una foto de su rostro",textPdf:"Haga clic aquí para cargar el reverso de una identificación",textMrz:"Haga clic aquí para cargar una foto de su documento'",textFrontBack:"Asegúrese de que su identificación llene toda la pantalla de la cámara con poco o ningún fondo.",textPass:"Asegúrese de que su identificación llene toda la pantalla de la cámara <br> con poco o ningún fondo, y que se incluya el código MRZ completo",textFacePosition:"Coloque su rostro para ocupar toda la pantalla de la cámara con poco o ningún fondo."},documentsTypes:{ID:"Licencia de Conducir",Passport:"Pasaporte",PassportCard:"Tarjeta de Pasaporte",GreenCard:"Tarjeta Verde o Autorización de Empleo",InternationalId:"Identificación Internacional"},spinnerText:{warmup:{top:"La red neuronal se está calentando",bottom:"La captura de documentos estará lista para su uso en breve..."}}},en:{errorCodes:{mrzNotFound:"Warning: <br/>MRZ was not found.",mrzNotRecognized:"Warning: <br/>MRZ data could not be read.<br/>Try taking a higher quality image.",barcodeNotFound:"Warning: <br/>Barcode not found.",barcodeNotRecognized:"Warning: <br/>Barcode data could not be read.<br/>Try taking a higher quality image.",heic:"HEIC file incorrupted",fileType:"File Type Error: Only jpeg and png images are supported.",fileTypeHeic:"File Type Error: Only jpeg, png and heic images are supported.",disableStepFileUpload:"A device with a camera must be used to capture this image",notAllowedDocument:"This document type is not allowed",documentSideLowPerimeter:"Warning: <br/>The document in the photo is too small, bring it closer",frontSideNotDetected:"Warning: <br/>The image isn't recognized as the front side of the chosen document type",backSideNotDetected:"Warning: <br/>The document's side isn't recognized as the back side of the chosen document type",faceNotFound:"Warning: <br/>A person's face was not found in captured image",default:"We're sorry, <br/>but there was an issue capturing and submitting the images of your document. Please try again",CameraNotFound:"No camera was found on your device",CameraNotFoundInVerification:"No camera was found on your device. <br/>Please use a different device or allow access to the camera for verification",CameraNotAllowed:"You have denied access to your device's camera",CameraNotAvailable:"Camera is not available at the moment",CameraInUse:"Camera is already in use",MediaDevicesNotSupported:"Your browser is not supported",lowImageResolution:"The resolution of the uploaded image is too low",imageIsBlurred:"The image is too blurry to be used",faceLowArea:"Face area in the photo takes up too little space"},hintTexts:{front:"Position the front of the document",frontMRZ:"Zoom in to capture code at bottom",mrz:"Zoom in to capture code on back side",capturing:"Position the front of the document",pdf:"Position the barcode inside the frame",switchToUploader:"The barcode cannot be read. <br/>Please switch to manual photo upload mode",back:"Turn around your document",barcode:"Position the barcode inside the frame",hold:"Position the **placeholder** inside the box",dontSee:"I don't see you",dontMove:"Don't move",turnFaceLeft:"Turn your face left",turnFaceRight:"Turn your face right",turnFaceUp:"Turn your face up",turnFaceDown:"Turn your face down",faceCam:"Face the camera",camAway:"Move camera further away",moveCenter:"Move to the center",comeCloser:"Come closer",documentCloser:"Bring the document closer",holdCamera:"Hold steady, analyzing document <br>"},keyErrors:["License Key has Expired","License Key is Not Valid","License Key's Configured URL Does Not Match"],camera:{loading:"Loading",awaiting:"Awaiting camera response"},general:{documentType:"Your document type is",selectDocumentTypeText:"Select Document Type",changeBtn:"Change",correctBtn:"Correct",cancelBtn:"Cancel",doneBtn:"Done",closeBtn:"CLOSE",retakeBtn:"Retake",continueBtn:"CONTINUE",submitBtn:"SUBMIT",resetAllStepsBtn:"Reset all steps",desktopNotification:{barcode:"The barcode capturing process using your device may not work very well<br>Try using your mobile device instead",mrz:"The MRZ capturing process using your device may not work very well<br>Try using your mobile device instead",other:"The image capturing process using your device may not work very well<br>Try using your mobile device instead"},btnUploader:"Switch to manual uploader",btnCamera:"Switch to camera mode",pressToUpdateText:"Press to update",pressToUpdateTextSuccess:"Press to update"},documentsTypes:{ID:"Driver's License or State Identification Card",Passport:"Passport",PassportCard:"US Passport Card",GreenCard:"Green Card or Employment Authorization",InternationalId:"International ID"},uploaderDescription:{textFront:"Click here to upload the front of your ID",textBack:"Click here to upload the back of your ID",textFace:"Click here to upload a photo of your face",textPdf:"Click here to upload the back of a ID",textMrz:"Click here to upload a photo of your document",textFrontBack:"Please make sure your ID fills up the entire <br> camera screen with little to no background.",textPass:"Please make sure your ID fills up the entire camera screen <br> with little to no background, and the full MRZ code is included.",textFacePosition:"Please position your face to take up <br> the full camera screen with little to no background."},spinnerText:{warmup:{top:"Neural network is warming up",bottom:"Document capture will be ready to use shortly..."}}}},t=r.en,n=function(e){if(e){var a=e.toLowerCase(),o=Object.keys(r).includes(a)?a:"en";t=r[o]}else t=r.en},i=function(e){return e?t[e]:t},c=a.i0,d=a._2,s=a.J3;export{c as getTranslation,d as setTranslation,s as supportedLanguages};
1
+ var e={d:(a,o)=>{for(var t in o)e.o(o,t)&&!e.o(a,t)&&Object.defineProperty(a,t,{enumerable:!0,get:o[t]})},o:(e,a)=>Object.prototype.hasOwnProperty.call(e,a)},a={};e.d(a,{J3:()=>o,_2:()=>n,i0:()=>i});var o=["en","es"],t={es:{errorCodes:{mrzNotFound:"Advertencia: <br/>No se ha encontrado MRZ.",mrzNotRecognized:"Advertencia: <br/>No se han podido leer los datos MRZ.<br/>Intente tomar una imagen de mayor calidad.",barcodeNotFound:"Warning: <br/>Código de barras no encontrado.",barcodeNotRecognized:"Advertencia: <br/>No se pudieron leer los datos del código de barras.<br/>Intente tomar una imagen de mayor calidad.",heic:"El archivo HEIC está dañado",fileTypeHeic:"Error de tipo de archivo: Sólo se admiten imágenes jpeg, png y heic.",fileType:"Error de tipo de archivo: Sólo se admiten imágenes jpeg y png.",disableStepFileUpload:"Se debe utilizar un dispositivo con una cámara para capturar esta imagen",notAllowedDocument:"Este tipo de documento no está permitido",documentSideLowPerimeter:"Advertencia: <br/>El documento de la foto es demasiado pequeño, acércalo más",frontSideNotDetected:"Advertencia: <br/>La imagen no se reconoce como el anverso del tipo de documento elegido",backSideNotDetected:"Advertencia: <br/>La imagen no se reconoce como el reverso del tipo de documento elegido",faceNotFound:"Advertencia: <br/>No se ha encontrado la cara de una persona en la imagen capturada",disabledManualUpload:{header:"La carga manual está deshabilitada",text:"La captura de documentos mediante carga manual está deshabilitada en la configuración"},default:{header:"Por favor, inténtelo de nuevo",text:"Lo sentimos, <br/>pero hubo un problema al capturar y enviar las imágenes de su documento. Por favor, inténtelo de nuevo."},CameraNotFound:{header:"No se ha encontrado",text:"No se encontró ninguna cámara en su dispositivo"},CameraNotFoundInVerification:{header:"No se ha encontrado",text:"No se ha encontrado ninguna cámara en su dispositivo.<br/> Por favor, utilice un dispositivo diferente o permitir el acceso a la cámara para la verificación"},CameraNotAllowed:{header:"No autorizado",text:"Concede permiso para que el navegador acceda a la cámara del dispositivo <br/>o elige la opción Carga manual."},CameraNotAvailable:{header:"No disponible",text:"La cámara no está disponible en este momento"},CameraInUse:{header:"En uso",text:"La cámara ya está en uso"},MediaDevicesNotSupported:{header:"No se admite",text:"Tu navegador no es compatible"},lowImageResolution:"La resolución de la imagen cargada es demasiado baja",imageIsBlurred:"La imagen es demasiado borrosa para ser utilizada",faceLowArea:"El área de la cara en la foto ocupa muy poco espacio"},hintTexts:{front:"Coloque el anverso del documento",frontMRZ:"Haga zoom para capturar el código en la parte inferior",mrz:"Haga zoom para capturar el código en la parte posterior",capturing:"Coloque el anverso del documento",pdf:"Coloque el código de barras dentro del marco",switchToUploader:"No se puede leer el código de barras. <br/>Cambie al modo de carga manual de fotos para la validación.",back:"Da la vuelta a tu documento",barcode:"Coloque el código de barras dentro del marco",hold:{front:"Coloque la cara frontal del documento dentro del cuadro delimitador.",pdf:"Alinee el código de barras de su documento con el código de barras de la pantalla.",mrz:"Alinee el MRZ de su documento con el MRZ de la pantalla",back:"Coloque el reverso del documento dentro del cuadro delimitador.",barcode:"Posicionar el código de barras dentro del cuadro delimitador"},dontSee:"No te veo",dontMove:"No te muevas",turnFaceLeft:"Gira la cara a la izquierda",turnFaceRight:"Gira la cara a la derecha",turnFaceUp:"Levanta tu cara",turnFaceDown:"Bajar la cara",faceCam:"Enfréntate a la cámara",camAway:"Mover la cámara más lejos",moveCenter:"Mover al centro",comeCloser:"Acércate",documentCloser:"Acerque el documento",holdCamera:"Manténgase firme, analizando el documento <br>"},keyErrors:["La clave de licencia ha caducado","La Clave de Licencia no es Válida","La URL Configurada De La Clave De Licencia No Coincide"],camera:{loading:"Carga",awaiting:"A la espera de la respuesta de la cámara"},general:{step:"Paso",scan:"Escanear",front:"Frontal",mrz:"MRZ",mrzFront:"MRZ",pdf:"PDF",face:"Selfie",barcode:"Código de barras",back:"Atrás",photo:"Foto",notificationStepSuccess:"añadido con éxito",notificationStepWarning:"No se reconoce la imagen",notificationDocumentTypeChangedInfo:"Se ha modificado el tipo de documento",notificationStepsResetInfo:"Se han restablecido todos los pasos",notificationStepMinSize:"La resolución es demasiado baja",notificationSubmit:"Enviado",initialLoader:{top:"La red neuronal se está calentando",bottom:"La captura de documentos estará lista para su uso en breve..."},card:{edit:"Editar",complete:"Completo"},modeSwitch:{video:"Escaneado de cámara",uploader:"Carga manual"},uploader:{dragHint:"Haga clic o arrastre y suelte <br> para cargar el archivo",dividerHint:"o",fileHint:"Buscar archivo",successUpload:"subido exitosamente",warningUpload:"resultado incorrecto",mainHint:"Asegúrese de que su identificación llena toda la pantalla <br> con poco o ningún fondo.",complete:"Completo"},messageBox:{default:"Escanee su documento"},controlButtons:{upload:"Cargar",reset:"Restablecer todos los pasos",submit:"Enviar",start:"Inicio",back:"Volver",edit:"Cambiar foto",continue:"Continuar",capture:"Captura",retake:"Retomar"},desktopNotification:{barcode:"Es posible que el proceso de captura del código de barras con su dispositivo no funcione muy bien. Pruebe a utilizar su dispositivo móvil.",mrz:"Es posible que el proceso de captura de MRZ mediante su dispositivo no funcione muy bien. Pruebe a utilizar su dispositivo móvil.",other:"Es posible que el proceso de captura de imágenes con tu dispositivo no funcione muy bien. Pruebe a utilizar su dispositivo móvil."},documentType:"Su Tipo de Documento es",selectDocumentTypeText:"Cambiar el tipo de documento",changeDocumentTypeText:"Cambiar el tipo de documento",changeBtn:"Cambiar",correctBtn:"Corregir",cancelBtn:"Cancelar",doneBtn:"Hecho",closeBtn:"Cerrar",retakeBtn:"VOLVER",continueBtn:"CONTINUAR",submitBtn:"ENVIAR",resetAllStepsBtn:"Restablecer todos los pasos",btnUploader:"Cambiar a cargador manual",btnCamera:"Cambiar al modo de cámara",pressToUpdateText:"Pulse para actualizar",pressToUpdateTextSuccess:"Pulse para actualizar"},uploaderDescription:{textFront:"Haga clic aquí para cargar el frente de su identificación",textBack:"Haga clic aquí para cargar el reverso de una identificación",textFace:"Haga clic aquí para cargar una foto de su rostro",textPdf:"Haga clic aquí para cargar el reverso de una identificación",textMrz:"Haga clic aquí para cargar una foto de su documento'",textFrontBack:"Asegúrese de que su identificación llene toda la pantalla de la cámara con poco o ningún fondo.",textPass:"Asegúrese de que su identificación llene toda la pantalla de la cámara <br> con poco o ningún fondo, y que se incluya el código MRZ completo",textFacePosition:"Coloque su rostro para ocupar toda la pantalla de la cámara con poco o ningún fondo."},documentsTypes:{ID:"Licencia de Conducir",Passport:"Pasaporte",PassportCard:"Tarjeta de Pasaporte",GreenCard:"Tarjeta Verde o Autorización de Empleo",InternationalId:"Identificación Internacional",VIN:"Número de identificación del vehículo",Barcode:"Códigos de barras 1-D y 2-D"},spinnerText:{warmup:{top:"La red neuronal se está calentando",bottom:"La captura de documentos estará lista para su uso en breve..."}}},en:{errorCodes:{mrzNotFound:"Warning: MRZ was not found.",mrzNotRecognized:"Warning: MRZ data could not be read. Try taking a higher quality image.",barcodeNotFound:"Warning: Barcode not found.",barcodeNotRecognized:"Warning: Barcode data could not be read. Try taking a higher quality image.",heic:"HEIC file incorrupted",fileType:"File Type Error: Only jpeg and png images are supported.",fileTypeHeic:"File Type Error: Only jpeg, png and heic images are supported.",disableStepFileUpload:"A device with a camera must be used to capture this image",notAllowedDocument:"This document type is not allowed",documentSideLowPerimeter:"Warning: The document in the photo is too small, bring it closer",frontSideNotDetected:"Warning: The image isn't recognized as the front side of the chosen document type",backSideNotDetected:"Warning: The document's side isn't recognized as the back side of the chosen document type",faceNotFound:"Warning: A person's face was not found in captured image",disabledManualUpload:{header:"Manual upload is disabled",text:"Document capture via manual upload is disabled in the configuration"},default:{header:"Please try again",text:"We're sorry, but there was an issue capturing and submitting the images of your document. Please try again"},CameraNotFound:{header:"Not found",text:"No camera was found on your device"},CameraNotFoundInVerification:{header:"Not found",text:"No camera was found on your device. <br/>Please use a different device or allow access to the camera for verification"},CameraNotAllowed:{header:"Not allowed",text:"Grant permission for the browser to access the device camera <br/> or choose the Manual Upload option"},CameraNotAvailable:{header:"Not available",text:"Camera is not available at the moment"},CameraInUse:{header:"In use",text:"Camera is already in use"},MediaDevicesNotSupported:{header:"Not supported",text:"Your browser is not supported"},lowImageResolution:"The resolution of the uploaded image is too low",imageIsBlurred:"The image is too blurry to be used",faceLowArea:"Face area in the photo takes up too little space"},hintTexts:{front:"Position the front of the document",frontMRZ:"Zoom in to capture code at bottom",mrz:"Zoom in to capture code on back side",capturing:"Position the front of the document",pdf:"Position the barcode inside the frame",switchToUploader:"The barcode cannot be read. <br/>Please switch to manual photo upload mode",back:"Turn around your document",barcode:"Position the barcode inside the frame",hold:{front:"Position the front side of your document inside the bounding box",pdf:"Line up the barcode on your document with the barcode on the screen",mrz:"Line up the MRZ on your document with the MRZ on the screen",back:"Position the back side of your document inside the bounding box",barcode:"Position the barcode inside the bounding box"},dontSee:"I don't see you",dontMove:"Don't move",turnFaceLeft:"Turn your face left",turnFaceRight:"Turn your face right",turnFaceUp:"Turn your face up",turnFaceDown:"Turn your face down",faceCam:"Face the camera",camAway:"Move camera further away",moveCenter:"Move to the center",comeCloser:"Come closer",documentCloser:"Bring the document closer",holdCamera:"Hold steady, analyzing document <br>"},keyErrors:["License Key has Expired","License Key is Not Valid","License Key's Configured URL Does Not Match"],camera:{loading:"Loading",awaiting:"Awaiting camera response"},general:{step:"Step",scan:"Scan",front:"Front",mrz:"MRZ",mrzFront:"MRZ",pdf:"PDF",face:"Selfie",barcode:"Barcode",back:"Back",photo:"Photo",notificationStepSuccess:"successfully added",notificationStepWarning:"Image is not recognized",notificationDocumentTypeChangedInfo:"Document type has been changed",notificationStepsResetInfo:"All steps have been reset",notificationStepMinSize:"The resolution is too low",notificationSubmit:"Submitted",initialLoader:{top:"Neural network is warming up",bottom:"Document capture will be ready to use shortly..."},card:{edit:"Edit",complete:"Complete"},modeSwitch:{video:"Camera Scan",uploader:"Manual Upload"},uploader:{dragHint:"Click or Drag and Drop <br> to Upload File",dividerHint:"or",fileHint:"Browse File",successUpload:"uploaded successfully",warningUpload:"incorrect result",mainHint:"Ensure that your ID fills the entire screen <br> with little to no background",complete:"Complete"},messageBox:{default:"Scan your Document"},desktopNotification:{barcode:"The barcode capturing process using your device may not work very well. Try using your mobile device instead.",mrz:"The MRZ capturing process using your device may not work very well. Try using your mobile device instead.",other:"The image capturing process using your device may not work very well. Try using your mobile device instead."},controlButtons:{upload:"Upload",reset:"Reset all steps",submit:"Submit",start:"Start",back:"Back",edit:"Change Photo",continue:"Continue",capture:"Capture",retake:"Retake"},documentType:"Your document type is",selectDocumentTypeText:"Select Document Type",changeDocumentTypeText:"Change Document Type",changeBtn:"Change",correctBtn:"Correct",cancelBtn:"Cancel",doneBtn:"Done",closeBtn:"CLOSE",retakeBtn:"Retake",continueBtn:"CONTINUE",submitBtn:"SUBMIT",resetAllStepsBtn:"Reset all steps",btnUploader:"Switch to manual uploader",btnCamera:"Switch to camera mode",pressToUpdateText:"Press to update",pressToUpdateTextSuccess:"Press to update"},documentsTypes:{ID:"Driver's License or State Identification Card",Passport:"Passport",PassportCard:"US Passport Card",GreenCard:"Green Card or Employment Authorization",InternationalId:"International ID",VIN:"Vehicle Identification Number",Barcode:"1-D and 2-D Barcodes"},uploaderDescription:{textFront:"Click here to upload the front of your ID",textBack:"Click here to upload the back of your ID",textFace:"Click here to upload a photo of your face",textPdf:"Click here to upload the back of a ID",textMrz:"Click here to upload a photo of your document",textFrontBack:"Please make sure your ID fills up the entire <br> camera screen with little to no background.",textPass:"Please make sure your ID fills up the entire camera screen <br> with little to no background, and the full MRZ code is included.",textFacePosition:"Please position your face to take up <br> the full camera screen with little to no background."},spinnerText:{warmup:{top:"Neural network is warming up",bottom:"Document capture will be ready to use shortly..."}}}},r=t.en,n=function(e){if(e){var a=e.toLowerCase(),o=Object.keys(t).includes(a)?a:"en";r=t[o]}else r=t.en},i=function(e){return e?r[e]:r},d=a.i0,c=a._2,s=a.J3;export{d as getTranslation,c as setTranslation,s as supportedLanguages};
@@ -2,9 +2,8 @@
2
2
  "neurons": {
3
3
  "angles": "angle03032023.onnx",
4
4
  "mrz": "mrz03032023.onnx",
5
- "classLocalModel": "classLocal03032023.onnx",
6
5
  "landmarkModel": "faceLandmark03032023.onnx",
7
6
  "detectorModel": "faceDetection03032023.onnx",
8
- "generalTypeDetectionYoloModel": "generalTypeDetectionYolo.onnx"
7
+ "generalTypeDetectionYoloModel": "generalTypeDetectionYolo29052024.onnx"
9
8
  }
10
9
  }
@@ -1,4 +1,5 @@
1
1
  export type StepType = 'mrz' | 'front' | 'pdf' | 'face' | 'barcode' | 'photo' | 'back';
2
+ export type StepTypeImageName = StepType | 'mrzFront';
2
3
 
3
4
  export default {
4
5
  mrz: {
@@ -7,7 +8,7 @@ export default {
7
8
  name: 'MRZ',
8
9
  time: 5,
9
10
  core: [
10
- 'mrz', 'blur', 'classLocal', 'generalTypeDetectionYolo',
11
+ 'mrz', 'blur', 'generalTypeDetectionYolo',
11
12
  ],
12
13
  description: 'detection, capture and parsing of the mrz-code of a document.',
13
14
  },
@@ -18,7 +19,7 @@ export default {
18
19
  time: 5,
19
20
  max: 0.15,
20
21
  core: [
21
- 'front', 'classLocal', 'blur', 'bubble', 'generalTypeDetectionYolo',
22
+ 'front', 'blur', 'bubble', 'generalTypeDetectionYolo',
22
23
  ],
23
24
  description: 'capture front of a document without analysis.',
24
25
  },
@@ -28,7 +29,7 @@ export default {
28
29
  name: 'PDF',
29
30
  time: 5,
30
31
  core: [
31
- 'pdf', 'blur', 'classLocal', 'generalTypeDetectionYolo',
32
+ 'pdf', 'blur', 'generalTypeDetectionYolo',
32
33
  ],
33
34
  description: 'detection and capture of pdf417 of a document.',
34
35
  },
@@ -67,7 +68,7 @@ export default {
67
68
  name: 'Document Back',
68
69
  time: 5,
69
70
  core: [
70
- 'mrz', 'pdf', 'classLocal', 'blur', 'generalTypeDetectionYolo',
71
+ 'mrz', 'pdf', 'blur', 'generalTypeDetectionYolo',
71
72
  ],
72
73
  description: 'detection and capture information from back side of the document',
73
74
  },
Binary file