version |
String
|
SDK version |
libsPath |
String
|
Libs folder path. By default it is empty. If we need to pass the Libs folder path explicitly then we need to update this property value. This value can include the domain path where we will host the application. For example http://example.com/Libs. |
resourcesPath |
String
|
Resources folder path. By default it is empty. If we need to pass the Resources folder path then we need to update this property value. This value can include the domain path where we will host the application. For example http://example.com/Resources. |
modelsPath |
String
|
Models folder path. By default it is empty. If we need to pass the Models folder path then we need to update this property value. This value can include the domain path where we will host the application. For example http://example.com/Models. |
imagesPath |
String
|
Images folder path. By default it is empty. If we need to pass the Images folder path then we need to update this property value. This value can include the domain path where we will host the application. For example http://example.com/Images. |
openCVCDNRepository |
String
|
Used to set the OpenCV CDN Repository. By default it is empty and it will consider Kofax Provided OpenCV library which is available in libs path. If the user wants to use his preferred OpenCV library he can input the same here. For example https://docs.opencv.org/3.4.0/opencv.js. |
document |
Object
|
Document types |
resolution |
Object
|
Supported resolution types |
ERROR_CODE_STATE |
Number
|
Error due to incorrect API calls order |
ERROR_CODE_VALIDATION |
Number
|
Error due to incorrect input parameters |
ERROR_CODE_RUNTIME |
Number
|
Error due to any unexpected runtime reason |
ERROR_CODE_MEDIA |
Number
|
Error due to video camera initialization failure |
ERROR_CODE_CAPTURE |
Number
|
Error due to capture related failure |
ERROR_CODE_PROCESS |
Number
|
Error due to image process failure |
ERROR_CODE_SELFIECAPTURE |
Number
|
Error due to selfie capture related failure |