From 2ee34a9a456e1cb2bf80c3538a1bcf91a3751e77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Sopc=CC=8Cic=CC=81?= Date: Mon, 30 Aug 2021 11:43:07 +0200 Subject: [PATCH 1/6] Regenerated binding files. Bumped version to v5.13.0. Added noHistory to BlinkID activities in plugin.xml --- BlinkID/plugin.xml | 4 + BlinkID/src/android/libBlinkID.gradle | 2 +- BlinkID/www/blinkIdScanner.js | 487 +++++++------------------- 3 files changed, 133 insertions(+), 360 deletions(-) diff --git a/BlinkID/plugin.xml b/BlinkID/plugin.xml index 1b28fd4..83e6004 100644 --- a/BlinkID/plugin.xml +++ b/BlinkID/plugin.xml @@ -51,6 +51,10 @@ android:configChanges="orientation|screenSize" android:screenOrientation="portrait" > + + + + diff --git a/BlinkID/src/android/libBlinkID.gradle b/BlinkID/src/android/libBlinkID.gradle index 4744cbe..8504220 100644 --- a/BlinkID/src/android/libBlinkID.gradle +++ b/BlinkID/src/android/libBlinkID.gradle @@ -6,7 +6,7 @@ repositories { } dependencies { - implementation('com.microblink:blinkid:5.12.0@aar') { + implementation('com.microblink:blinkid:5.13.0@aar') { transitive = true } } diff --git a/BlinkID/www/blinkIdScanner.js b/BlinkID/www/blinkIdScanner.js index 1616eb2..8ba07f0 100644 --- a/BlinkID/www/blinkIdScanner.js +++ b/BlinkID/www/blinkIdScanner.js @@ -634,7 +634,7 @@ BlinkID.prototype.Country = Object.freeze( Sudan: 230, Suriname: 231, SvalbardAndJanMayen: 232, - Swaziland: 233, + Eswatini: 233, Syria: 234, Tajikistan: 235, Tanzania: 236, @@ -2363,7 +2363,7 @@ function BlinkIdCombinedRecognizerResult(nativeResult) { RecognizerResult.call(this, nativeResult.resultState); /** - * The additional address information of the document owner. + * The additional name information of the document owner. */ this.additionalAddressInformation = nativeResult.additionalAddressInformation; @@ -2379,13 +2379,11 @@ function BlinkIdCombinedRecognizerResult(nativeResult) { /** * The current age of the document owner in years. It is calculated difference - * between now and date of birth. Now is current time on the device. - * @return current age of the document owner in years or -1 if date of birth is unknown. */ this.age = nativeResult.age; /** - * Defines possible color and moire statuses determined from scanned back image. + * Image analysis result for the scanned document back side image */ this.backImageAnalysisResult = nativeResult.backImageAnalysisResult; @@ -2395,17 +2393,17 @@ function BlinkIdCombinedRecognizerResult(nativeResult) { this.backProcessingStatus = nativeResult.backProcessingStatus; /** - * Defines the data extracted from the back side visual inspection zone. + * The data extracted from the back side visual inspection zone. */ this.backVizResult = nativeResult.backVizResult; /** - * Defines the data extracted from the barcode. + * The data extracted from the barcode. */ this.barcodeResult = nativeResult.barcodeResult; /** - * The classification information. + * The document class information. */ this.classInfo = nativeResult.classInfo; @@ -2430,12 +2428,12 @@ function BlinkIdCombinedRecognizerResult(nativeResult) { this.dateOfIssue = nativeResult.dateOfIssue != null ? new Date(nativeResult.dateOfIssue) : null; /** - * Digital signature of the recognition result. Available only if enabled with signResult property. + * Defines digital signature of recognition results. */ this.digitalSignature = nativeResult.digitalSignature; /** - * Version of the digital signature. Available only if enabled with signResult property. + * Defines digital signature version. */ this.digitalSignatureVersion = nativeResult.digitalSignatureVersion; @@ -2445,10 +2443,7 @@ function BlinkIdCombinedRecognizerResult(nativeResult) { this.documentAdditionalNumber = nativeResult.documentAdditionalNumber; /** - * Returns DataMatchResultSuccess if data from scanned parts/sides of the document match, - * DataMatchResultFailed otherwise. For example if date of expiry is scanned from the front and back side - * of the document and values do not match, this method will return DataMatchResultFailed. Result will - * be DataMatchResultSuccess only if scanned values for all fields that are compared are the same. + * Defines result of the data matching algorithm for scanned parts/sides of the document. */ this.documentDataMatch = nativeResult.documentDataMatch; @@ -2474,17 +2469,11 @@ function BlinkIdCombinedRecognizerResult(nativeResult) { /** * Checks whether the document has expired or not by comparing the current - * time on the device with the date of expiry. - * - * @return true if the document has expired, false in following cases: - * document does not expire (date of expiry is permanent) - * date of expiry has passed - * date of expiry is unknown and it is not permanent */ this.expired = nativeResult.expired; /** - * face image from the document if enabled with returnFaceImage property. + * Face image from the document */ this.faceImage = nativeResult.faceImage; @@ -2494,7 +2483,7 @@ function BlinkIdCombinedRecognizerResult(nativeResult) { this.firstName = nativeResult.firstName; /** - * Defines possible color and moire statuses determined from scanned front image. + * Image analysis result for the scanned document front side image */ this.frontImageAnalysisResult = nativeResult.frontImageAnalysisResult; @@ -2504,17 +2493,17 @@ function BlinkIdCombinedRecognizerResult(nativeResult) { this.frontProcessingStatus = nativeResult.frontProcessingStatus; /** - * Defines the data extracted from the front side visual inspection zone. + * The data extracted from the front side visual inspection zone. */ this.frontVizResult = nativeResult.frontVizResult; /** - * back side image of the document if enabled with returnFullDocumentImage property. + * Back side image of the document */ this.fullDocumentBackImage = nativeResult.fullDocumentBackImage; /** - * front side image of the document if enabled with returnFullDocumentImage property. + * Front side image of the document */ this.fullDocumentFrontImage = nativeResult.fullDocumentFrontImage; @@ -2544,7 +2533,7 @@ function BlinkIdCombinedRecognizerResult(nativeResult) { this.maritalStatus = nativeResult.maritalStatus; /** - * The data extracted from the machine readable zone + * The data extracted from the machine readable zone. */ this.mrzResult = nativeResult.mrzResult != null ? new MrzResult(nativeResult.mrzResult) : null; @@ -2564,7 +2553,7 @@ function BlinkIdCombinedRecognizerResult(nativeResult) { this.placeOfBirth = nativeResult.placeOfBirth; /** - * Defines status of the last recognition process. + * Status of the last recognition process. */ this.processingStatus = nativeResult.processingStatus; @@ -2594,8 +2583,7 @@ function BlinkIdCombinedRecognizerResult(nativeResult) { this.residentialStatus = nativeResult.residentialStatus; /** - * Returns true if recognizer has finished scanning first side and is now scanning back side, - * false if it's still scanning first side. + * {true} if recognizer has finished scanning first side and is now scanning back side, */ this.scanningFirstSideDone = nativeResult.scanningFirstSideDone; @@ -2605,7 +2593,7 @@ function BlinkIdCombinedRecognizerResult(nativeResult) { this.sex = nativeResult.sex; /** - * image of the signature if enabled with returnSignatureImage property. + * Signature image from the document */ this.signatureImage = nativeResult.signatureImage; @@ -2616,152 +2604,103 @@ BlinkIdCombinedRecognizerResult.prototype = new RecognizerResult(RecognizerResul BlinkID.prototype.BlinkIdCombinedRecognizerResult = BlinkIdCombinedRecognizerResult; /** - * Recognizer which can scan front and back side of the United States driver license. + * A generic recognizer which can scan front and back side of the document. */ function BlinkIdCombinedRecognizer() { Recognizer.call(this, 'BlinkIdCombinedRecognizer'); /** - * Defines whether blured frames filtering is allowed - * - * + * Defines whether blured frames filtering is allowed. */ this.allowBlurFilter = true; /** * Proceed with scanning the back side even if the front side result is uncertain. - * This only works for still images - video feeds will ignore this setting. - * - * */ this.allowUncertainFrontSideScan = false; /** - * Defines whether returning of unparsed MRZ (Machine Readable Zone) results is allowed - * - * + * Defines whether returning of unparsed MRZ (Machine Readable Zone) results is allowed. */ this.allowUnparsedMrzResults = false; /** - * Defines whether returning unverified MRZ (Machine Readable Zone) results is allowed - * Unverified MRZ is parsed, but check digits are incorrect - * - * + * Defines whether returning unverified MRZ (Machine Readable Zone) results is allowed. */ this.allowUnverifiedMrzResults = true; /** - * Defines whether sensitive data should be removed from images, result fields or both. - * The setting only applies to certain documents - * - * + * Whether sensitive data should be removed from images, result fields or both. */ this.anonymizationMode = AnonymizationMode.FullResult; /** - * Property for setting DPI for face images - * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception - * - * + * The DPI (Dots Per Inch) for face image that should be returned. */ this.faceImageDpi = 250; /** - * Property for setting DPI for full document images - * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception - * - * + * The DPI (Dots Per Inch) for full document image that should be returned. */ this.fullDocumentImageDpi = 250; /** - * Image extension factors for full document image. - * - * @see ImageExtensionFactors - * + * The extension factors for full document image. */ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors(); /** * Configure the number of characters per field that are allowed to be inconsistent in data match. - * - * */ this.maxAllowedMismatchesPerField = 0; /** - * Pading is a minimum distance from the edge of the frame and is defined as a percentage of the frame width. Default value is 0.0f and in that case - * padding edge and image edge are the same. - * Recommended value is 0.02f. - * - * + * Padding is a minimum distance from the edge of the frame and it is defined */ this.paddingEdge = 0.0; /** - * Enable or disable recognition of specific document groups supported by the current license. - * - * + * Currently set recognition mode filter. */ this.recognitionModeFilter = new RecognitionModeFilter(); /** - * Sets whether face image from ID card should be extracted - * - * + * Defines whether face image will be available in result. */ this.returnFaceImage = false; /** - * Sets whether full document image of ID card should be extracted. - * - * + * Defines whether full document image will be available in */ this.returnFullDocumentImage = false; /** - * Sets whether signature image from ID card should be extracted. - * - * + * Defines whether signature image will be available in result. */ this.returnSignatureImage = false; /** * Configure the recognizer to only work on already cropped and dewarped images. - * This only works for still images - video feeds will ignore this setting. - * - * */ this.scanCroppedDocumentImage = false; /** - * Whether or not recognition result should be signed. - * - * + * Defines whether or not recognition result should be signed. */ this.signResult = false; /** - * Property for setting DPI for signature images - * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception - * - * + * The DPI (Dots Per Inch) for signature image that should be returned. */ this.signatureImageDpi = 250; /** - * Skip back side capture and processing step when back side of the document is not supported - * - * + * Skip back side capture and processing step when back side of the document is not supported. */ this.skipUnsupportedBack = false; /** - * Defines whether result characters validatation is performed. - * If a result member contains invalid character, the result state cannot be valid - * - * + * Whether result characters validatation is performed. */ this.validateResultCharacters = true; @@ -2780,7 +2719,7 @@ function BlinkIdRecognizerResult(nativeResult) { RecognizerResult.call(this, nativeResult.resultState); /** - * The additional address information of the document owner. + * The additional name information of the document owner. */ this.additionalAddressInformation = nativeResult.additionalAddressInformation; @@ -2796,18 +2735,16 @@ function BlinkIdRecognizerResult(nativeResult) { /** * The current age of the document owner in years. It is calculated difference - * between now and date of birth. Now is current time on the device. - * @return current age of the document owner in years or -1 if date of birth is unknown. */ this.age = nativeResult.age; /** - * Defines the data extracted from the barcode. + * The data extracted from the barcode. */ this.barcodeResult = nativeResult.barcodeResult; /** - * The classification information. + * The document class information. */ this.classInfo = nativeResult.classInfo; @@ -2858,17 +2795,11 @@ function BlinkIdRecognizerResult(nativeResult) { /** * Checks whether the document has expired or not by comparing the current - * time on the device with the date of expiry. - * - * @return true if the document has expired, false in following cases: - * document does not expire (date of expiry is permanent) - * date of expiry has passed - * date of expiry is unknown and it is not permanent */ this.expired = nativeResult.expired; /** - * face image from the document if enabled with returnFaceImage property. + * Face image from the document */ this.faceImage = nativeResult.faceImage; @@ -2878,7 +2809,7 @@ function BlinkIdRecognizerResult(nativeResult) { this.firstName = nativeResult.firstName; /** - * full document image if enabled with returnFullDocumentImage property. + * Image of the full document */ this.fullDocumentImage = nativeResult.fullDocumentImage; @@ -2888,7 +2819,7 @@ function BlinkIdRecognizerResult(nativeResult) { this.fullName = nativeResult.fullName; /** - * Defines possible color and moire statuses determined from scanned image. + * Image analysis result for the scanned document image */ this.imageAnalysisResult = nativeResult.imageAnalysisResult; @@ -2913,7 +2844,7 @@ function BlinkIdRecognizerResult(nativeResult) { this.maritalStatus = nativeResult.maritalStatus; /** - * The data extracted from the machine readable zone + * The data extracted from the machine readable zone. */ this.mrzResult = nativeResult.mrzResult != null ? new MrzResult(nativeResult.mrzResult) : null; @@ -2933,7 +2864,7 @@ function BlinkIdRecognizerResult(nativeResult) { this.placeOfBirth = nativeResult.placeOfBirth; /** - * Defines status of the last recognition process. + * Status of the last recognition process. */ this.processingStatus = nativeResult.processingStatus; @@ -2968,12 +2899,12 @@ function BlinkIdRecognizerResult(nativeResult) { this.sex = nativeResult.sex; /** - * image of the signature if enabled with returnSignatureImage property. + * Signature image from the document */ this.signatureImage = nativeResult.signatureImage; /** - * Defines the data extracted from the visual inspection zone + * The data extracted from the visual inspection zone. */ this.vizResult = nativeResult.vizResult; @@ -2984,123 +2915,83 @@ BlinkIdRecognizerResult.prototype = new RecognizerResult(RecognizerResultState.e BlinkID.prototype.BlinkIdRecognizerResult = BlinkIdRecognizerResult; /** - * The Blink ID Recognizer is used for scanning Blink ID. + * Generic BlinkID recognizer. */ function BlinkIdRecognizer() { Recognizer.call(this, 'BlinkIdRecognizer'); /** - * Defines whether blured frames filtering is allowed - * - * + * Defines whether blured frames filtering is allowed" */ this.allowBlurFilter = true; /** - * Defines whether returning of unparsed MRZ (Machine Readable Zone) results is allowed - * - * + * Defines whether returning of unparsed MRZ (Machine Readable Zone) results is allowed. */ this.allowUnparsedMrzResults = false; /** - * Defines whether returning unverified MRZ (Machine Readable Zone) results is allowed - * Unverified MRZ is parsed, but check digits are incorrect - * - * + * Defines whether returning unverified MRZ (Machine Readable Zone) results is allowed. */ this.allowUnverifiedMrzResults = true; /** - * Defines whether sensitive data should be removed from images, result fields or both. - * The setting only applies to certain documents - * - * + * Whether sensitive data should be removed from images, result fields or both. */ this.anonymizationMode = AnonymizationMode.FullResult; /** - * Property for setting DPI for face images - * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception - * - * + * The DPI (Dots Per Inch) for face image that should be returned. */ this.faceImageDpi = 250; /** - * Property for setting DPI for full document images - * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception - * - * + * The DPI (Dots Per Inch) for full document image that should be returned. */ this.fullDocumentImageDpi = 250; /** - * Image extension factors for full document image. - * - * @see ImageExtensionFactors - * + * The extension factors for full document image. */ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors(); /** - * Pading is a minimum distance from the edge of the frame and is defined as a percentage of the frame width. Default value is 0.0f and in that case - * padding edge and image edge are the same. - * Recommended value is 0.02f. - * - * + * Padding is a minimum distance from the edge of the frame and it is defined */ this.paddingEdge = 0.0; /** - * Enable or disable recognition of specific document groups supported by the current license. - * - * + * Currently set recognition mode filter. */ this.recognitionModeFilter = new RecognitionModeFilter(); /** - * Sets whether face image from ID card should be extracted - * - * + * Defines whether face image will be available in result. */ this.returnFaceImage = false; /** - * Sets whether full document image of ID card should be extracted. - * - * + * Defines whether full document image will be available in */ this.returnFullDocumentImage = false; /** - * Sets whether signature image from ID card should be extracted. - * - * + * Defines whether signature image will be available in result. */ this.returnSignatureImage = false; /** * Configure the recognizer to only work on already cropped and dewarped images. - * This only works for still images - video feeds will ignore this setting. - * - * */ this.scanCroppedDocumentImage = false; /** - * Property for setting DPI for signature images - * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception - * - * + * The DPI (Dots Per Inch) for signature image that should be returned. */ this.signatureImageDpi = 250; /** - * Defines whether result characters validatation is performed. - * If a result member contains invalid character, the result state cannot be valid - * - * + * Whether result characters validatation is performed. */ this.validateResultCharacters = true; @@ -3119,22 +3010,22 @@ function DocumentFaceRecognizerResult(nativeResult) { RecognizerResult.call(this, nativeResult.resultState); /** - * Quadrangle represeting corner points of the document within the input image. + * The location of document detection in coordinate system of full input frame. */ this.documentLocation = nativeResult.documentLocation != null ? new Quadrilateral(nativeResult.documentLocation) : null; /** - * face image from the document if enabled with returnFaceImage property. + * Face image from the document */ this.faceImage = nativeResult.faceImage; /** - * Quadrangle represeting corner points of the face image within the input image. + * The location of face detection in coordinate system of cropped full document image. */ this.faceLocation = nativeResult.faceLocation != null ? new Quadrilateral(nativeResult.faceLocation) : null; /** - * full document image if enabled with returnFullDocumentImage property. + * Image of the full document */ this.fullDocumentImage = nativeResult.fullDocumentImage; @@ -3145,65 +3036,43 @@ DocumentFaceRecognizerResult.prototype = new RecognizerResult(RecognizerResultSt BlinkID.prototype.DocumentFaceRecognizerResult = DocumentFaceRecognizerResult; /** - * Class for configuring Document Face Recognizer Recognizer. - * - * Document Face Recognizer recognizer is used for scanning documents containing face images. + * Recognizer for detecting holder's photo on documents containing image. */ function DocumentFaceRecognizer() { Recognizer.call(this, 'DocumentFaceRecognizer'); /** - * Type of docment this recognizer will scan. - * - * + * Currently used detector type. */ this.detectorType = DocumentFaceDetectorType.TD1; /** - * Property for setting DPI for face images - * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception - * - * + * The DPI (Dots Per Inch) for face image that should be returned. */ this.faceImageDpi = 250; /** - * Property for setting DPI for full document images - * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception - * - * + * The DPI (Dots Per Inch) for full document image that should be returned. */ this.fullDocumentImageDpi = 250; /** - * Image extension factors for full document image. - * - * @see ImageExtensionFactors - * + * The extension factors for full document image. */ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors(); /** - * Defines how many times the same document should be detected before the detector - * returns this document as a result of the deteciton - * - * Higher number means more reliable detection, but slower processing - * - * + * Minimum number of stable detections required for detection to be successful. */ this.numStableDetectionsThreshold = 6; /** - * Sets whether face image from ID card should be extracted - * - * + * Defines whether face image will be available in result. */ this.returnFaceImage = false; /** - * Sets whether full document image of ID card should be extracted. - * - * + * Defines whether full document image will be available in */ this.returnFullDocumentImage = false; @@ -3233,15 +3102,11 @@ function IdBarcodeRecognizerResult(nativeResult) { /** * The current age of the document owner in years. It is calculated difference - * between now and date of birth. Now is current time on the device. - * @return current age of the document owner in years or -1 if date of birth is unknown. */ this.age = nativeResult.age; /** - * Type of the barcode scanned - * - * @return Type of the barcode + * The format of the scanned barcode. */ this.barcodeType = nativeResult.barcodeType; @@ -3277,8 +3142,6 @@ function IdBarcodeRecognizerResult(nativeResult) { /** * The document type deduced from the recognized barcode - * - * @return Type of the document */ this.documentType = nativeResult.documentType; @@ -3294,19 +3157,11 @@ function IdBarcodeRecognizerResult(nativeResult) { /** * Checks whether the document has expired or not by comparing the current - * time on the device with the date of expiry. - * - * @return true if the document has expired, false in following cases: - * document does not expire (date of expiry is permanent) - * date of expiry has passed - * date of expiry is unknown and it is not permanent */ this.expired = nativeResult.expired; /** * Document specific extended elements that contain all barcode fields in their original form. - * - * Currently this is only filled for AAMVACompliant documents. */ this.extendedElements = nativeResult.extendedElements; @@ -3376,7 +3231,7 @@ function IdBarcodeRecognizerResult(nativeResult) { this.race = nativeResult.race; /** - * Byte array with result of the scan + * The raw bytes contained inside barcode. */ this.rawData = nativeResult.rawData; @@ -3386,7 +3241,7 @@ function IdBarcodeRecognizerResult(nativeResult) { this.religion = nativeResult.religion; /** - * The residential stauts of the document owner. + * The residential status of the document owner. */ this.residentialStatus = nativeResult.residentialStatus; @@ -3406,13 +3261,12 @@ function IdBarcodeRecognizerResult(nativeResult) { this.street = nativeResult.street; /** - * Retrieves string content of scanned data + * String representation of data inside barcode. */ this.stringData = nativeResult.stringData; /** - * Flag indicating uncertain scanning data - * E.g obtained from damaged barcode. + * True if returned result is uncertain, i.e. if scanned barcode was incomplete (i.e. */ this.uncertain = nativeResult.uncertain; @@ -3448,46 +3302,42 @@ function MrtdCombinedRecognizerResult(nativeResult) { RecognizerResult.call(this, nativeResult.resultState); /** - * Digital signature of the recognition result. Available only if enabled with signResult property. + * Defines digital signature of recognition results. */ this.digitalSignature = nativeResult.digitalSignature; /** - * Version of the digital signature. Available only if enabled with signResult property. + * Defines digital signature version. */ this.digitalSignatureVersion = nativeResult.digitalSignatureVersion; /** - * Returns DataMatchResultSuccess if data from scanned parts/sides of the document match, - * DataMatchResultFailed otherwise. For example if date of expiry is scanned from the front and back side - * of the document and values do not match, this method will return DataMatchResultFailed. Result will - * be DataMatchResultSuccess only if scanned values for all fields that are compared are the same. + * Defines result of the data matching algorithm for scanned parts/sides of the document. */ this.documentDataMatch = nativeResult.documentDataMatch; /** - * face image from the document if enabled with returnFaceImage property. + * Face image from the document */ this.faceImage = nativeResult.faceImage; /** - * back side image of the document if enabled with returnFullDocumentImage property. + * Back side image of the document */ this.fullDocumentBackImage = nativeResult.fullDocumentBackImage; /** - * front side image of the document if enabled with returnFullDocumentImage property. + * Front side image of the document */ this.fullDocumentFrontImage = nativeResult.fullDocumentFrontImage; /** - * Returns the Data extracted from the machine readable zone. + * The data extracted from the machine readable zone. */ this.mrzResult = nativeResult.mrzResult != null ? new MrzResult(nativeResult.mrzResult) : null; /** - * Returns true if recognizer has finished scanning first side and is now scanning back side, - * false if it's still scanning first side. + * {true} if recognizer has finished scanning first side and is now scanning back side, */ this.scanningFirstSideDone = nativeResult.scanningFirstSideDone; @@ -3498,94 +3348,64 @@ MrtdCombinedRecognizerResult.prototype = new RecognizerResult(RecognizerResultSt BlinkID.prototype.MrtdCombinedRecognizerResult = MrtdCombinedRecognizerResult; /** - * MRTD Combined recognizer - * - * MRTD Combined recognizer is used for scanning both front and back side of generic IDs. + * Recognizer for combined reading of face from front side of documents and MRZ from back side of + * * Machine Readable Travel Document. */ function MrtdCombinedRecognizer() { Recognizer.call(this, 'MrtdCombinedRecognizer'); /** - * Whether special characters are allowed - * - * + * Whether special characters are allowed. */ this.allowSpecialCharacters = false; /** - * Whether returning of unparsed results is allowed - * - * + * Whether returning of unparsed results is allowed. */ this.allowUnparsedResults = false; /** - * Whether returning of unverified results is allowed - * Unverified result is result that is parsed, but check digits are incorrect. - * - * + * Whether returning of unverified results is allowed. */ this.allowUnverifiedResults = false; /** - * Type of document this recognizer will scan. - * - * + * Currently used detector type. */ this.detectorType = DocumentFaceDetectorType.TD1; /** - * Property for setting DPI for face images - * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception - * - * + * The DPI (Dots Per Inch) for face image that should be returned. */ this.faceImageDpi = 250; /** - * Property for setting DPI for full document images - * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception - * - * + * The DPI (Dots Per Inch) for full document image that should be returned. */ this.fullDocumentImageDpi = 250; /** - * Image extension factors for full document image. - * - * @see ImageExtensionFactors - * + * The extension factors for full document image. */ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors(); /** - * Defines how many times the same document should be detected before the detector - * returns this document as a result of the deteciton - * - * Higher number means more reliable detection, but slower processing - * - * + * Minimum number of stable detections required for detection to be successful. */ this.numStableDetectionsThreshold = 6; /** - * Sets whether face image from ID card should be extracted - * - * + * Defines whether face image will be available in result. */ this.returnFaceImage = false; /** - * Sets whether full document image of ID card should be extracted. - * - * + * Defines whether full document image will be available in */ this.returnFullDocumentImage = false; /** - * Whether or not recognition result should be signed. - * - * + * Defines whether or not recognition result should be signed. */ this.signResult = false; @@ -3604,12 +3424,12 @@ function MrtdRecognizerResult(nativeResult) { RecognizerResult.call(this, nativeResult.resultState); /** - * full document image if enabled with returnFullDocumentImage property. + * Image of the full document */ this.fullDocumentImage = nativeResult.fullDocumentImage; /** - * Returns the Data extracted from the machine readable zone. + * The Data extracted from the machine readable zone. */ this.mrzResult = nativeResult.mrzResult != null ? new MrzResult(nativeResult.mrzResult) : null; @@ -3620,60 +3440,43 @@ MrtdRecognizerResult.prototype = new RecognizerResult(RecognizerResultState.empt BlinkID.prototype.MrtdRecognizerResult = MrtdRecognizerResult; /** - * Recognizer that can recognizer Machine Readable Zone (MRZ) of the Machine Readable Travel Document (MRTD) + * Recognizer that can recognize Machine Readable Zone (MRZ) of the Machine Readable Travel Document (MRTD) */ function MrtdRecognizer() { Recognizer.call(this, 'MrtdRecognizer'); /** - * Whether special characters are allowed - * - * + * Whether special characters are allowed. */ this.allowSpecialCharacters = false; /** - * Whether returning of unparsed results is allowed - * - * + * Whether returning of unparsed results is allowed. */ this.allowUnparsedResults = false; /** - * Whether returning of unverified results is allowed - * Unverified result is result that is parsed, but check digits are incorrect. - * - * + * Whether returning of unverified results is allowed. */ this.allowUnverifiedResults = false; /** - * Defines if glare detection should be turned on/off. - * - * + * Defines whether glare detector is enabled. */ this.detectGlare = true; /** - * Property for setting DPI for full document images - * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception - * - * + * The DPI (Dots Per Inch) for full document image that should be returned. */ this.fullDocumentImageDpi = 250; /** - * Image extension factors for full document image. - * - * @see ImageExtensionFactors - * + * The extension factors for full document image. */ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors(); /** - * Sets whether full document image of ID card should be extracted. - * - * + * Defines whether full document image will be available in */ this.returnFullDocumentImage = false; @@ -3692,22 +3495,22 @@ function PassportRecognizerResult(nativeResult) { RecognizerResult.call(this, nativeResult.resultState); /** - * Digital signature of the recognition result. Available only if enabled with signResult property. + * Defines digital signature of recognition results. */ this.digitalSignature = nativeResult.digitalSignature; /** - * Version of the digital signature. Available only if enabled with signResult property. + * Defines digital signature version. */ this.digitalSignatureVersion = nativeResult.digitalSignatureVersion; /** - * face image from the document if enabled with returnFaceImage property. + * Face image from the document */ this.faceImage = nativeResult.faceImage; /** - * full document image if enabled with returnFullDocumentImage property. + * Image of the full document */ this.fullDocumentImage = nativeResult.fullDocumentImage; @@ -3729,61 +3532,42 @@ function PassportRecognizer() { Recognizer.call(this, 'PassportRecognizer'); /** - * Defines whether to anonymize Netherlands MRZ - * - * + * Defines whether the Netherlands MRZ should be anonymized. */ this.anonymizeNetherlandsMrz = true; /** - * Defines if glare detection should be turned on/off. - * - * + * Defines whether glare detector is enabled. */ this.detectGlare = true; /** - * Property for setting DPI for face images - * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception - * - * + * The DPI (Dots Per Inch) for face image that should be returned. */ this.faceImageDpi = 250; /** - * Property for setting DPI for full document images - * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception - * - * + * The DPI (Dots Per Inch) for full document image that should be returned. */ this.fullDocumentImageDpi = 250; /** - * Image extension factors for full document image. - * - * @see ImageExtensionFactors - * + * The extension factors for full document image. */ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors(); /** - * Sets whether face image from ID card should be extracted - * - * + * Defines whether face image will be available in result. */ this.returnFaceImage = false; /** - * Sets whether full document image of ID card should be extracted. - * - * + * Defines whether full document image will be available in */ this.returnFullDocumentImage = false; /** - * Whether or not recognition result should be signed. - * - * + * Defines whether or not recognition result should be signed. */ this.signResult = false; @@ -3802,12 +3586,12 @@ function VisaRecognizerResult(nativeResult) { RecognizerResult.call(this, nativeResult.resultState); /** - * face image from the document if enabled with returnFaceImage property. + * Face image from the document */ this.faceImage = nativeResult.faceImage; /** - * full document image if enabled with returnFullDocumentImage property. + * Image of the full document */ this.fullDocumentImage = nativeResult.fullDocumentImage; @@ -3829,47 +3613,32 @@ function VisaRecognizer() { Recognizer.call(this, 'VisaRecognizer'); /** - * Defines if glare detection should be turned on/off. - * - * + * Defines whether glare detector is enabled. */ this.detectGlare = true; /** - * Property for setting DPI for face images - * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception - * - * + * The DPI (Dots Per Inch) for face image that should be returned. */ this.faceImageDpi = 250; /** - * Property for setting DPI for full document images - * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception - * - * + * The DPI (Dots Per Inch) for full document image that should be returned. */ this.fullDocumentImageDpi = 250; /** - * Image extension factors for full document image. - * - * @see ImageExtensionFactors - * + * The extension factors for full document image. */ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors(); /** - * Sets whether face image from ID card should be extracted - * - * + * Defines whether face image will be available in result. */ this.returnFaceImage = false; /** - * Sets whether full document image of ID card should be extracted. - * - * + * Defines whether full document image will be available in */ this.returnFullDocumentImage = false; From 3c5ed77eb07bee143bed3d5bfd9e62932162d4c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Sopc=CC=8Cic=CC=81?= Date: Mon, 30 Aug 2021 11:45:48 +0200 Subject: [PATCH 2/6] Updated cordova and ioslibrary version to v5.13.0 --- BlinkID/package.json | 2 +- BlinkID/scripts/initIOSFramework.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BlinkID/package.json b/BlinkID/package.json index 300767e..b86590f 100644 --- a/BlinkID/package.json +++ b/BlinkID/package.json @@ -1,6 +1,6 @@ { "name": "blinkid-cordova", - "version": "5.12.0", + "version": "5.13.0", "description": "A small and powerful ID card scanning library", "cordova": { "id": "blinkid-cordova", diff --git a/BlinkID/scripts/initIOSFramework.sh b/BlinkID/scripts/initIOSFramework.sh index 9cca877..d53f70a 100755 --- a/BlinkID/scripts/initIOSFramework.sh +++ b/BlinkID/scripts/initIOSFramework.sh @@ -4,7 +4,7 @@ HERE="$(dirname "$(test -L "$0" && readlink "$0" || echo "$0")")" pushd "${HERE}/../src/ios/" > /dev/null -LINK='https://github.com/BlinkID/blinkid-ios/releases/download/v5.12.0/Microblink.xcframework.zip' +LINK='https://github.com/BlinkID/blinkid-ios/releases/download/v5.13.0/Microblink.xcframework.zip' FILENAME='Microblink.xcframework.zip' # check if Microblink framework and bundle already exist From c4e0c5450af32ee232ef214dac1824203c720863 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Sopc=CC=8Cic=CC=81?= Date: Mon, 30 Aug 2021 13:11:51 +0200 Subject: [PATCH 3/6] Regenerated licence keys for v5.13.0 --- sample_files/www/js/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sample_files/www/js/index.js b/sample_files/www/js/index.js index 2c435a1..5438569 100644 --- a/sample_files/www/js/index.js +++ b/sample_files/www/js/index.js @@ -77,8 +77,8 @@ var app = { // package name/bundleID com.microblink.sample var licenseKeys = { - android: 'sRwAAAAVY29tLm1pY3JvYmxpbmsuc2FtcGxlU9kJdZhZkGlTu9U3Potlw+N+WELcAfo3ZNjCGrjwPbX72/Lj68v4Wsf9m+5MlNQBduVAB4w8aalo+BzHOMQomzhSX//WJlF+gsu8YbPc7YiWkKgmlubu9m4LOLM6yAaUWSoHauvy6imEIN0XB9ZOLRv/lN9+3zro2jbDglRX6TXDbLNjkYIUAZfmXEBW+smfQ0606630P6TBTps2nV8Dr/ZQcQ8H18tQOsG6nzFEbJoddztEOcWCp1pzNP8wHf3W848HxYiOqjTcXoA6GxzAJKyv6U2JUFZqlkiLNWok/qY6++srGoDsh0LXCu8xVwi/2MM8/DZ3Qqa9HkHIdJ6amkeifQ==', - ios: 'sRwAAAEVY29tLm1pY3JvYmxpbmsuc2FtcGxl1BIcP4FpSuS/38JVPpankFQ/Bcr7WvDAxkCq8h6GBBsKnan7jmJz5oRDF0VOwEv8zcz2tsAexgAWBzhWNxEvz2I2UYi7CSHjlbw0ppsdoL5WCQPrg6i+aiCRIxht1V8ObYlBvqTi69Pk0HXXwmpcIt7r01khjOlXdS7Mdn89IcW2R6bcYVIjID87iTpDG+SNFZ6ITQQsyv/c7VfkyEQ/2zl2J0Yln6a1OYGNCIDhfZjlTxK4H8ovNrrwvgR66jsKv0WBx2LLajjYOVdsMLueajw8caSpUlRtSpzCMAQB3FgD5OYEhDugRChfESwa4C8tAv7h9QUzU8TMpJeg7paXnee6MA==' + android: 'sRwAAAAVY29tLm1pY3JvYmxpbmsuc2FtcGxlU9kJdZhZkGlTu9U3Oitiw6TT2FGkiyJFlAhM8pExgH/ZF5IuOoC/DbKHoiR382JaMb+r7NDBTzi88CBCEGTbXlCknk+hJObhf+9SOOJyV9scpqUqGgudxZCbR7Ao8QVhwb7XavkyHr+6j1COdVVFlV105JVZF2y7TTB/c6qKl1YLlEPsHcgQJIR15cWeLaSrM9SDq3cW66fdVqjrmXTlZOpo3r6Kzc5LWa+B/kFt7oEJGC3+E8RVD0L/BM6W0vQvCFrgz2XMss7AmHyHugG2t7xId3TBcx9Jct+EcEjICkuJ3KnzdNj8OlVIHcVAlEcLcqx90wxL', + ios: 'sRwAAAEVY29tLm1pY3JvYmxpbmsuc2FtcGxl1BIcP4FpSuS/38JVOjaokGTnHzh0+jPiIF6FmxB6HbydyJKQLtbxqEvE9p31fa1hJ86+UO6QExw84dLWRh8VzN06qa5DEymbZROqdYfnenaDfKi9+t9fqFOKuiurMo6HRoUV/CN0ZhVTZAgUExnslLULEfxd+OVy7l7jTJIgNbP8BQbrlaFtwSti2Ree1z6Kk1muQd8Hj4X301oXfQnIWcMTshJqAk7SOJeE8oIXyKVmqrerKir+5x1Oz9IbzfRCWkby2GlyjkVoyGgWj2e9WGhqnP8lijgkfpkpZ8YTZosjY1cyCXhH08SNZjOrGAtASKDjkbjb' }; function buildResult(result, key) { From 38f11aab962b74b171dcf9608eafab42c6b39720 Mon Sep 17 00:00:00 2001 From: Jura Skrlec Date: Mon, 30 Aug 2021 15:50:21 +0200 Subject: [PATCH 4/6] [iOS] Update Bindings v5.13.0 --- BlinkID/plugin.xml | 4 +- ...icroblinkScanner.h => CDVBlinkIDScanner.h} | 2 +- ...icroblinkScanner.m => CDVBlinkIDScanner.m} | 31 +- BlinkID/www/blinkIdScanner.js | 485 +++++++++++++----- 4 files changed, 382 insertions(+), 140 deletions(-) rename BlinkID/src/ios/sources/{CDVMicroblinkScanner.h => CDVBlinkIDScanner.h} (96%) rename BlinkID/src/ios/sources/{CDVMicroblinkScanner.m => CDVBlinkIDScanner.m} (90%) diff --git a/BlinkID/plugin.xml b/BlinkID/plugin.xml index 83e6004..a43bb71 100644 --- a/BlinkID/plugin.xml +++ b/BlinkID/plugin.xml @@ -94,13 +94,13 @@ + - + - diff --git a/BlinkID/src/ios/sources/CDVMicroblinkScanner.h b/BlinkID/src/ios/sources/CDVBlinkIDScanner.h similarity index 96% rename from BlinkID/src/ios/sources/CDVMicroblinkScanner.h rename to BlinkID/src/ios/sources/CDVBlinkIDScanner.h index 26a5e81..bc4ed87 100644 --- a/BlinkID/src/ios/sources/CDVMicroblinkScanner.h +++ b/BlinkID/src/ios/sources/CDVBlinkIDScanner.h @@ -12,7 +12,7 @@ #import /** - * pdf417 plugin class. + * BlinkID plugin class. * Responds to JS calls */ @interface CDVMicroblinkScanner : CDVPlugin diff --git a/BlinkID/src/ios/sources/CDVMicroblinkScanner.m b/BlinkID/src/ios/sources/CDVBlinkIDScanner.m similarity index 90% rename from BlinkID/src/ios/sources/CDVMicroblinkScanner.m rename to BlinkID/src/ios/sources/CDVBlinkIDScanner.m index 8f8409b..423a6c6 100644 --- a/BlinkID/src/ios/sources/CDVMicroblinkScanner.m +++ b/BlinkID/src/ios/sources/CDVBlinkIDScanner.m @@ -27,13 +27,6 @@ #import -const NSString *RESULT_LIST = @"resultList"; - -const NSString *CANCELLED = @"cancelled"; - -const int COMPRESSED_IMAGE_QUALITY = 90; - - @interface CDVPlugin () @property (nonatomic, retain) CDVInvokedUrlCommand *lastCommand; @@ -44,6 +37,11 @@ @interface CDVMicroblinkScanner () @property (nonatomic, strong) MBRecognizerCollection *recognizerCollection; @property (nonatomic) id scanningViewController; + +@property (class, nonatomic, readonly) NSString *RESULT_LIST; +@property (class, nonatomic, readonly) NSString *CANCELLED; +@property (class, nonatomic, readonly) int COMPRESSED_IMAGE_QUALITY; + @end @implementation CDVMicroblinkScanner @@ -122,8 +120,8 @@ - (void)overlayViewControllerDidFinishScanning:(MBOverlayViewController *)overla NSDictionary *resultDict; resultDict = @{ - CANCELLED: [NSNumber numberWithBool:NO], - RESULT_LIST: jsonResults + CDVMicroblinkScanner.CANCELLED: [NSNumber numberWithBool:NO], + CDVMicroblinkScanner.RESULT_LIST: jsonResults }; CDVPluginResult *result = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsDictionary:resultDict]; @@ -143,9 +141,22 @@ - (void)overlayDidTapClose:(MBOverlayViewController *)overlayViewController { self.recognizerCollection = nil; self.scanningViewController = nil; NSDictionary *resultDict = @{ - CANCELLED : [NSNumber numberWithBool:YES] + CDVMicroblinkScanner.CANCELLED : [NSNumber numberWithBool:YES] }; CDVPluginResult *result = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsDictionary:resultDict]; [self.commandDelegate sendPluginResult:result callbackId:self.lastCommand.callbackId]; } + ++ (NSString *)RESULT_LIST { + return @"resultList"; +} + ++ (NSString *)CANCELLED { + return @"cancelled"; +} + ++ (int)COMPRESSED_IMAGE_QUALITY { + return 90; +} + @end \ No newline at end of file diff --git a/BlinkID/www/blinkIdScanner.js b/BlinkID/www/blinkIdScanner.js index 8ba07f0..0087536 100644 --- a/BlinkID/www/blinkIdScanner.js +++ b/BlinkID/www/blinkIdScanner.js @@ -2363,7 +2363,7 @@ function BlinkIdCombinedRecognizerResult(nativeResult) { RecognizerResult.call(this, nativeResult.resultState); /** - * The additional name information of the document owner. + * The additional address information of the document owner. */ this.additionalAddressInformation = nativeResult.additionalAddressInformation; @@ -2379,11 +2379,13 @@ function BlinkIdCombinedRecognizerResult(nativeResult) { /** * The current age of the document owner in years. It is calculated difference + * between now and date of birth. Now is current time on the device. + * @return current age of the document owner in years or -1 if date of birth is unknown. */ this.age = nativeResult.age; /** - * Image analysis result for the scanned document back side image + * Defines possible color and moire statuses determined from scanned back image. */ this.backImageAnalysisResult = nativeResult.backImageAnalysisResult; @@ -2393,17 +2395,17 @@ function BlinkIdCombinedRecognizerResult(nativeResult) { this.backProcessingStatus = nativeResult.backProcessingStatus; /** - * The data extracted from the back side visual inspection zone. + * Defines the data extracted from the back side visual inspection zone. */ this.backVizResult = nativeResult.backVizResult; /** - * The data extracted from the barcode. + * Defines the data extracted from the barcode. */ this.barcodeResult = nativeResult.barcodeResult; /** - * The document class information. + * The classification information. */ this.classInfo = nativeResult.classInfo; @@ -2428,12 +2430,12 @@ function BlinkIdCombinedRecognizerResult(nativeResult) { this.dateOfIssue = nativeResult.dateOfIssue != null ? new Date(nativeResult.dateOfIssue) : null; /** - * Defines digital signature of recognition results. + * Digital signature of the recognition result. Available only if enabled with signResult property. */ this.digitalSignature = nativeResult.digitalSignature; /** - * Defines digital signature version. + * Version of the digital signature. Available only if enabled with signResult property. */ this.digitalSignatureVersion = nativeResult.digitalSignatureVersion; @@ -2443,7 +2445,10 @@ function BlinkIdCombinedRecognizerResult(nativeResult) { this.documentAdditionalNumber = nativeResult.documentAdditionalNumber; /** - * Defines result of the data matching algorithm for scanned parts/sides of the document. + * Returns DataMatchResultSuccess if data from scanned parts/sides of the document match, + * DataMatchResultFailed otherwise. For example if date of expiry is scanned from the front and back side + * of the document and values do not match, this method will return DataMatchResultFailed. Result will + * be DataMatchResultSuccess only if scanned values for all fields that are compared are the same. */ this.documentDataMatch = nativeResult.documentDataMatch; @@ -2469,11 +2474,17 @@ function BlinkIdCombinedRecognizerResult(nativeResult) { /** * Checks whether the document has expired or not by comparing the current + * time on the device with the date of expiry. + * + * @return true if the document has expired, false in following cases: + * document does not expire (date of expiry is permanent) + * date of expiry has passed + * date of expiry is unknown and it is not permanent */ this.expired = nativeResult.expired; /** - * Face image from the document + * face image from the document if enabled with returnFaceImage property. */ this.faceImage = nativeResult.faceImage; @@ -2483,7 +2494,7 @@ function BlinkIdCombinedRecognizerResult(nativeResult) { this.firstName = nativeResult.firstName; /** - * Image analysis result for the scanned document front side image + * Defines possible color and moire statuses determined from scanned front image. */ this.frontImageAnalysisResult = nativeResult.frontImageAnalysisResult; @@ -2493,17 +2504,17 @@ function BlinkIdCombinedRecognizerResult(nativeResult) { this.frontProcessingStatus = nativeResult.frontProcessingStatus; /** - * The data extracted from the front side visual inspection zone. + * Defines the data extracted from the front side visual inspection zone. */ this.frontVizResult = nativeResult.frontVizResult; /** - * Back side image of the document + * back side image of the document if enabled with returnFullDocumentImage property. */ this.fullDocumentBackImage = nativeResult.fullDocumentBackImage; /** - * Front side image of the document + * front side image of the document if enabled with returnFullDocumentImage property. */ this.fullDocumentFrontImage = nativeResult.fullDocumentFrontImage; @@ -2533,7 +2544,7 @@ function BlinkIdCombinedRecognizerResult(nativeResult) { this.maritalStatus = nativeResult.maritalStatus; /** - * The data extracted from the machine readable zone. + * The data extracted from the machine readable zone */ this.mrzResult = nativeResult.mrzResult != null ? new MrzResult(nativeResult.mrzResult) : null; @@ -2553,7 +2564,7 @@ function BlinkIdCombinedRecognizerResult(nativeResult) { this.placeOfBirth = nativeResult.placeOfBirth; /** - * Status of the last recognition process. + * Defines status of the last recognition process. */ this.processingStatus = nativeResult.processingStatus; @@ -2583,7 +2594,8 @@ function BlinkIdCombinedRecognizerResult(nativeResult) { this.residentialStatus = nativeResult.residentialStatus; /** - * {true} if recognizer has finished scanning first side and is now scanning back side, + * Returns true if recognizer has finished scanning first side and is now scanning back side, + * false if it's still scanning first side. */ this.scanningFirstSideDone = nativeResult.scanningFirstSideDone; @@ -2593,7 +2605,7 @@ function BlinkIdCombinedRecognizerResult(nativeResult) { this.sex = nativeResult.sex; /** - * Signature image from the document + * image of the signature if enabled with returnSignatureImage property. */ this.signatureImage = nativeResult.signatureImage; @@ -2604,103 +2616,152 @@ BlinkIdCombinedRecognizerResult.prototype = new RecognizerResult(RecognizerResul BlinkID.prototype.BlinkIdCombinedRecognizerResult = BlinkIdCombinedRecognizerResult; /** - * A generic recognizer which can scan front and back side of the document. + * Recognizer which can scan front and back side of the United States driver license. */ function BlinkIdCombinedRecognizer() { Recognizer.call(this, 'BlinkIdCombinedRecognizer'); /** - * Defines whether blured frames filtering is allowed. + * Defines whether blured frames filtering is allowed + * + * */ this.allowBlurFilter = true; /** * Proceed with scanning the back side even if the front side result is uncertain. + * This only works for still images - video feeds will ignore this setting. + * + * */ this.allowUncertainFrontSideScan = false; /** - * Defines whether returning of unparsed MRZ (Machine Readable Zone) results is allowed. + * Defines whether returning of unparsed MRZ (Machine Readable Zone) results is allowed + * + * */ this.allowUnparsedMrzResults = false; /** - * Defines whether returning unverified MRZ (Machine Readable Zone) results is allowed. + * Defines whether returning unverified MRZ (Machine Readable Zone) results is allowed + * Unverified MRZ is parsed, but check digits are incorrect + * + * */ this.allowUnverifiedMrzResults = true; /** - * Whether sensitive data should be removed from images, result fields or both. + * Defines whether sensitive data should be removed from images, result fields or both. + * The setting only applies to certain documents + * + * */ this.anonymizationMode = AnonymizationMode.FullResult; /** - * The DPI (Dots Per Inch) for face image that should be returned. + * Property for setting DPI for face images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.faceImageDpi = 250; /** - * The DPI (Dots Per Inch) for full document image that should be returned. + * Property for setting DPI for full document images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.fullDocumentImageDpi = 250; /** - * The extension factors for full document image. + * Image extension factors for full document image. + * + * @see ImageExtensionFactors + * */ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors(); /** * Configure the number of characters per field that are allowed to be inconsistent in data match. + * + * */ this.maxAllowedMismatchesPerField = 0; /** - * Padding is a minimum distance from the edge of the frame and it is defined + * Pading is a minimum distance from the edge of the frame and is defined as a percentage of the frame width. Default value is 0.0f and in that case + * padding edge and image edge are the same. + * Recommended value is 0.02f. + * + * */ this.paddingEdge = 0.0; /** - * Currently set recognition mode filter. + * Enable or disable recognition of specific document groups supported by the current license. + * + * */ this.recognitionModeFilter = new RecognitionModeFilter(); /** - * Defines whether face image will be available in result. + * Sets whether face image from ID card should be extracted + * + * */ this.returnFaceImage = false; /** - * Defines whether full document image will be available in + * Sets whether full document image of ID card should be extracted. + * + * */ this.returnFullDocumentImage = false; /** - * Defines whether signature image will be available in result. + * Sets whether signature image from ID card should be extracted. + * + * */ this.returnSignatureImage = false; /** * Configure the recognizer to only work on already cropped and dewarped images. + * This only works for still images - video feeds will ignore this setting. + * + * */ this.scanCroppedDocumentImage = false; /** - * Defines whether or not recognition result should be signed. + * Whether or not recognition result should be signed. + * + * */ this.signResult = false; /** - * The DPI (Dots Per Inch) for signature image that should be returned. + * Property for setting DPI for signature images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.signatureImageDpi = 250; /** - * Skip back side capture and processing step when back side of the document is not supported. + * Skip back side capture and processing step when back side of the document is not supported + * + * */ this.skipUnsupportedBack = false; /** - * Whether result characters validatation is performed. + * Defines whether result characters validatation is performed. + * If a result member contains invalid character, the result state cannot be valid + * + * */ this.validateResultCharacters = true; @@ -2719,7 +2780,7 @@ function BlinkIdRecognizerResult(nativeResult) { RecognizerResult.call(this, nativeResult.resultState); /** - * The additional name information of the document owner. + * The additional address information of the document owner. */ this.additionalAddressInformation = nativeResult.additionalAddressInformation; @@ -2735,16 +2796,18 @@ function BlinkIdRecognizerResult(nativeResult) { /** * The current age of the document owner in years. It is calculated difference + * between now and date of birth. Now is current time on the device. + * @return current age of the document owner in years or -1 if date of birth is unknown. */ this.age = nativeResult.age; /** - * The data extracted from the barcode. + * Defines the data extracted from the barcode. */ this.barcodeResult = nativeResult.barcodeResult; /** - * The document class information. + * The classification information. */ this.classInfo = nativeResult.classInfo; @@ -2795,11 +2858,17 @@ function BlinkIdRecognizerResult(nativeResult) { /** * Checks whether the document has expired or not by comparing the current + * time on the device with the date of expiry. + * + * @return true if the document has expired, false in following cases: + * document does not expire (date of expiry is permanent) + * date of expiry has passed + * date of expiry is unknown and it is not permanent */ this.expired = nativeResult.expired; /** - * Face image from the document + * face image from the document if enabled with returnFaceImage property. */ this.faceImage = nativeResult.faceImage; @@ -2809,7 +2878,7 @@ function BlinkIdRecognizerResult(nativeResult) { this.firstName = nativeResult.firstName; /** - * Image of the full document + * full document image if enabled with returnFullDocumentImage property. */ this.fullDocumentImage = nativeResult.fullDocumentImage; @@ -2819,7 +2888,7 @@ function BlinkIdRecognizerResult(nativeResult) { this.fullName = nativeResult.fullName; /** - * Image analysis result for the scanned document image + * Defines possible color and moire statuses determined from scanned image. */ this.imageAnalysisResult = nativeResult.imageAnalysisResult; @@ -2844,7 +2913,7 @@ function BlinkIdRecognizerResult(nativeResult) { this.maritalStatus = nativeResult.maritalStatus; /** - * The data extracted from the machine readable zone. + * The data extracted from the machine readable zone */ this.mrzResult = nativeResult.mrzResult != null ? new MrzResult(nativeResult.mrzResult) : null; @@ -2864,7 +2933,7 @@ function BlinkIdRecognizerResult(nativeResult) { this.placeOfBirth = nativeResult.placeOfBirth; /** - * Status of the last recognition process. + * Defines status of the last recognition process. */ this.processingStatus = nativeResult.processingStatus; @@ -2899,12 +2968,12 @@ function BlinkIdRecognizerResult(nativeResult) { this.sex = nativeResult.sex; /** - * Signature image from the document + * image of the signature if enabled with returnSignatureImage property. */ this.signatureImage = nativeResult.signatureImage; /** - * The data extracted from the visual inspection zone. + * Defines the data extracted from the visual inspection zone */ this.vizResult = nativeResult.vizResult; @@ -2915,83 +2984,123 @@ BlinkIdRecognizerResult.prototype = new RecognizerResult(RecognizerResultState.e BlinkID.prototype.BlinkIdRecognizerResult = BlinkIdRecognizerResult; /** - * Generic BlinkID recognizer. + * The Blink ID Recognizer is used for scanning Blink ID. */ function BlinkIdRecognizer() { Recognizer.call(this, 'BlinkIdRecognizer'); /** - * Defines whether blured frames filtering is allowed" + * Defines whether blured frames filtering is allowed + * + * */ this.allowBlurFilter = true; /** - * Defines whether returning of unparsed MRZ (Machine Readable Zone) results is allowed. + * Defines whether returning of unparsed MRZ (Machine Readable Zone) results is allowed + * + * */ this.allowUnparsedMrzResults = false; /** - * Defines whether returning unverified MRZ (Machine Readable Zone) results is allowed. + * Defines whether returning unverified MRZ (Machine Readable Zone) results is allowed + * Unverified MRZ is parsed, but check digits are incorrect + * + * */ this.allowUnverifiedMrzResults = true; /** - * Whether sensitive data should be removed from images, result fields or both. + * Defines whether sensitive data should be removed from images, result fields or both. + * The setting only applies to certain documents + * + * */ this.anonymizationMode = AnonymizationMode.FullResult; /** - * The DPI (Dots Per Inch) for face image that should be returned. + * Property for setting DPI for face images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.faceImageDpi = 250; /** - * The DPI (Dots Per Inch) for full document image that should be returned. + * Property for setting DPI for full document images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.fullDocumentImageDpi = 250; /** - * The extension factors for full document image. + * Image extension factors for full document image. + * + * @see ImageExtensionFactors + * */ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors(); /** - * Padding is a minimum distance from the edge of the frame and it is defined + * Pading is a minimum distance from the edge of the frame and is defined as a percentage of the frame width. Default value is 0.0f and in that case + * padding edge and image edge are the same. + * Recommended value is 0.02f. + * + * */ this.paddingEdge = 0.0; /** - * Currently set recognition mode filter. + * Enable or disable recognition of specific document groups supported by the current license. + * + * */ this.recognitionModeFilter = new RecognitionModeFilter(); /** - * Defines whether face image will be available in result. + * Sets whether face image from ID card should be extracted + * + * */ this.returnFaceImage = false; /** - * Defines whether full document image will be available in + * Sets whether full document image of ID card should be extracted. + * + * */ this.returnFullDocumentImage = false; /** - * Defines whether signature image will be available in result. + * Sets whether signature image from ID card should be extracted. + * + * */ this.returnSignatureImage = false; /** * Configure the recognizer to only work on already cropped and dewarped images. + * This only works for still images - video feeds will ignore this setting. + * + * */ this.scanCroppedDocumentImage = false; /** - * The DPI (Dots Per Inch) for signature image that should be returned. + * Property for setting DPI for signature images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.signatureImageDpi = 250; /** - * Whether result characters validatation is performed. + * Defines whether result characters validatation is performed. + * If a result member contains invalid character, the result state cannot be valid + * + * */ this.validateResultCharacters = true; @@ -3010,22 +3119,22 @@ function DocumentFaceRecognizerResult(nativeResult) { RecognizerResult.call(this, nativeResult.resultState); /** - * The location of document detection in coordinate system of full input frame. + * Quadrangle represeting corner points of the document within the input image. */ this.documentLocation = nativeResult.documentLocation != null ? new Quadrilateral(nativeResult.documentLocation) : null; /** - * Face image from the document + * face image from the document if enabled with returnFaceImage property. */ this.faceImage = nativeResult.faceImage; /** - * The location of face detection in coordinate system of cropped full document image. + * Quadrangle represeting corner points of the face image within the input image. */ this.faceLocation = nativeResult.faceLocation != null ? new Quadrilateral(nativeResult.faceLocation) : null; /** - * Image of the full document + * full document image if enabled with returnFullDocumentImage property. */ this.fullDocumentImage = nativeResult.fullDocumentImage; @@ -3036,43 +3145,65 @@ DocumentFaceRecognizerResult.prototype = new RecognizerResult(RecognizerResultSt BlinkID.prototype.DocumentFaceRecognizerResult = DocumentFaceRecognizerResult; /** - * Recognizer for detecting holder's photo on documents containing image. + * Class for configuring Document Face Recognizer Recognizer. + * + * Document Face Recognizer recognizer is used for scanning documents containing face images. */ function DocumentFaceRecognizer() { Recognizer.call(this, 'DocumentFaceRecognizer'); /** - * Currently used detector type. + * Type of docment this recognizer will scan. + * + * */ this.detectorType = DocumentFaceDetectorType.TD1; /** - * The DPI (Dots Per Inch) for face image that should be returned. + * Property for setting DPI for face images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.faceImageDpi = 250; /** - * The DPI (Dots Per Inch) for full document image that should be returned. + * Property for setting DPI for full document images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.fullDocumentImageDpi = 250; /** - * The extension factors for full document image. + * Image extension factors for full document image. + * + * @see ImageExtensionFactors + * */ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors(); /** - * Minimum number of stable detections required for detection to be successful. + * Defines how many times the same document should be detected before the detector + * returns this document as a result of the deteciton + * + * Higher number means more reliable detection, but slower processing + * + * */ this.numStableDetectionsThreshold = 6; /** - * Defines whether face image will be available in result. + * Sets whether face image from ID card should be extracted + * + * */ this.returnFaceImage = false; /** - * Defines whether full document image will be available in + * Sets whether full document image of ID card should be extracted. + * + * */ this.returnFullDocumentImage = false; @@ -3102,11 +3233,15 @@ function IdBarcodeRecognizerResult(nativeResult) { /** * The current age of the document owner in years. It is calculated difference + * between now and date of birth. Now is current time on the device. + * @return current age of the document owner in years or -1 if date of birth is unknown. */ this.age = nativeResult.age; /** - * The format of the scanned barcode. + * Type of the barcode scanned + * + * @return Type of the barcode */ this.barcodeType = nativeResult.barcodeType; @@ -3142,6 +3277,8 @@ function IdBarcodeRecognizerResult(nativeResult) { /** * The document type deduced from the recognized barcode + * + * @return Type of the document */ this.documentType = nativeResult.documentType; @@ -3157,11 +3294,19 @@ function IdBarcodeRecognizerResult(nativeResult) { /** * Checks whether the document has expired or not by comparing the current + * time on the device with the date of expiry. + * + * @return true if the document has expired, false in following cases: + * document does not expire (date of expiry is permanent) + * date of expiry has passed + * date of expiry is unknown and it is not permanent */ this.expired = nativeResult.expired; /** * Document specific extended elements that contain all barcode fields in their original form. + * + * Currently this is only filled for AAMVACompliant documents. */ this.extendedElements = nativeResult.extendedElements; @@ -3231,7 +3376,7 @@ function IdBarcodeRecognizerResult(nativeResult) { this.race = nativeResult.race; /** - * The raw bytes contained inside barcode. + * Byte array with result of the scan */ this.rawData = nativeResult.rawData; @@ -3241,7 +3386,7 @@ function IdBarcodeRecognizerResult(nativeResult) { this.religion = nativeResult.religion; /** - * The residential status of the document owner. + * The residential stauts of the document owner. */ this.residentialStatus = nativeResult.residentialStatus; @@ -3261,12 +3406,13 @@ function IdBarcodeRecognizerResult(nativeResult) { this.street = nativeResult.street; /** - * String representation of data inside barcode. + * Retrieves string content of scanned data */ this.stringData = nativeResult.stringData; /** - * True if returned result is uncertain, i.e. if scanned barcode was incomplete (i.e. + * Flag indicating uncertain scanning data + * E.g obtained from damaged barcode. */ this.uncertain = nativeResult.uncertain; @@ -3302,42 +3448,46 @@ function MrtdCombinedRecognizerResult(nativeResult) { RecognizerResult.call(this, nativeResult.resultState); /** - * Defines digital signature of recognition results. + * Digital signature of the recognition result. Available only if enabled with signResult property. */ this.digitalSignature = nativeResult.digitalSignature; /** - * Defines digital signature version. + * Version of the digital signature. Available only if enabled with signResult property. */ this.digitalSignatureVersion = nativeResult.digitalSignatureVersion; /** - * Defines result of the data matching algorithm for scanned parts/sides of the document. + * Returns DataMatchResultSuccess if data from scanned parts/sides of the document match, + * DataMatchResultFailed otherwise. For example if date of expiry is scanned from the front and back side + * of the document and values do not match, this method will return DataMatchResultFailed. Result will + * be DataMatchResultSuccess only if scanned values for all fields that are compared are the same. */ this.documentDataMatch = nativeResult.documentDataMatch; /** - * Face image from the document + * face image from the document if enabled with returnFaceImage property. */ this.faceImage = nativeResult.faceImage; /** - * Back side image of the document + * back side image of the document if enabled with returnFullDocumentImage property. */ this.fullDocumentBackImage = nativeResult.fullDocumentBackImage; /** - * Front side image of the document + * front side image of the document if enabled with returnFullDocumentImage property. */ this.fullDocumentFrontImage = nativeResult.fullDocumentFrontImage; /** - * The data extracted from the machine readable zone. + * Returns the Data extracted from the machine readable zone. */ this.mrzResult = nativeResult.mrzResult != null ? new MrzResult(nativeResult.mrzResult) : null; /** - * {true} if recognizer has finished scanning first side and is now scanning back side, + * Returns true if recognizer has finished scanning first side and is now scanning back side, + * false if it's still scanning first side. */ this.scanningFirstSideDone = nativeResult.scanningFirstSideDone; @@ -3348,64 +3498,94 @@ MrtdCombinedRecognizerResult.prototype = new RecognizerResult(RecognizerResultSt BlinkID.prototype.MrtdCombinedRecognizerResult = MrtdCombinedRecognizerResult; /** - * Recognizer for combined reading of face from front side of documents and MRZ from back side of - * * Machine Readable Travel Document. + * MRTD Combined recognizer + * + * MRTD Combined recognizer is used for scanning both front and back side of generic IDs. */ function MrtdCombinedRecognizer() { Recognizer.call(this, 'MrtdCombinedRecognizer'); /** - * Whether special characters are allowed. + * Whether special characters are allowed + * + * */ this.allowSpecialCharacters = false; /** - * Whether returning of unparsed results is allowed. + * Whether returning of unparsed results is allowed + * + * */ this.allowUnparsedResults = false; /** - * Whether returning of unverified results is allowed. + * Whether returning of unverified results is allowed + * Unverified result is result that is parsed, but check digits are incorrect. + * + * */ this.allowUnverifiedResults = false; /** - * Currently used detector type. + * Type of document this recognizer will scan. + * + * */ this.detectorType = DocumentFaceDetectorType.TD1; /** - * The DPI (Dots Per Inch) for face image that should be returned. + * Property for setting DPI for face images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.faceImageDpi = 250; /** - * The DPI (Dots Per Inch) for full document image that should be returned. + * Property for setting DPI for full document images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.fullDocumentImageDpi = 250; /** - * The extension factors for full document image. + * Image extension factors for full document image. + * + * @see ImageExtensionFactors + * */ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors(); /** - * Minimum number of stable detections required for detection to be successful. + * Defines how many times the same document should be detected before the detector + * returns this document as a result of the deteciton + * + * Higher number means more reliable detection, but slower processing + * + * */ this.numStableDetectionsThreshold = 6; /** - * Defines whether face image will be available in result. + * Sets whether face image from ID card should be extracted + * + * */ this.returnFaceImage = false; /** - * Defines whether full document image will be available in + * Sets whether full document image of ID card should be extracted. + * + * */ this.returnFullDocumentImage = false; /** - * Defines whether or not recognition result should be signed. + * Whether or not recognition result should be signed. + * + * */ this.signResult = false; @@ -3424,12 +3604,12 @@ function MrtdRecognizerResult(nativeResult) { RecognizerResult.call(this, nativeResult.resultState); /** - * Image of the full document + * full document image if enabled with returnFullDocumentImage property. */ this.fullDocumentImage = nativeResult.fullDocumentImage; /** - * The Data extracted from the machine readable zone. + * Returns the Data extracted from the machine readable zone. */ this.mrzResult = nativeResult.mrzResult != null ? new MrzResult(nativeResult.mrzResult) : null; @@ -3440,43 +3620,60 @@ MrtdRecognizerResult.prototype = new RecognizerResult(RecognizerResultState.empt BlinkID.prototype.MrtdRecognizerResult = MrtdRecognizerResult; /** - * Recognizer that can recognize Machine Readable Zone (MRZ) of the Machine Readable Travel Document (MRTD) + * Recognizer that can recognizer Machine Readable Zone (MRZ) of the Machine Readable Travel Document (MRTD) */ function MrtdRecognizer() { Recognizer.call(this, 'MrtdRecognizer'); /** - * Whether special characters are allowed. + * Whether special characters are allowed + * + * */ this.allowSpecialCharacters = false; /** - * Whether returning of unparsed results is allowed. + * Whether returning of unparsed results is allowed + * + * */ this.allowUnparsedResults = false; /** - * Whether returning of unverified results is allowed. + * Whether returning of unverified results is allowed + * Unverified result is result that is parsed, but check digits are incorrect. + * + * */ this.allowUnverifiedResults = false; /** - * Defines whether glare detector is enabled. + * Defines if glare detection should be turned on/off. + * + * */ this.detectGlare = true; /** - * The DPI (Dots Per Inch) for full document image that should be returned. + * Property for setting DPI for full document images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.fullDocumentImageDpi = 250; /** - * The extension factors for full document image. + * Image extension factors for full document image. + * + * @see ImageExtensionFactors + * */ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors(); /** - * Defines whether full document image will be available in + * Sets whether full document image of ID card should be extracted. + * + * */ this.returnFullDocumentImage = false; @@ -3495,22 +3692,22 @@ function PassportRecognizerResult(nativeResult) { RecognizerResult.call(this, nativeResult.resultState); /** - * Defines digital signature of recognition results. + * Digital signature of the recognition result. Available only if enabled with signResult property. */ this.digitalSignature = nativeResult.digitalSignature; /** - * Defines digital signature version. + * Version of the digital signature. Available only if enabled with signResult property. */ this.digitalSignatureVersion = nativeResult.digitalSignatureVersion; /** - * Face image from the document + * face image from the document if enabled with returnFaceImage property. */ this.faceImage = nativeResult.faceImage; /** - * Image of the full document + * full document image if enabled with returnFullDocumentImage property. */ this.fullDocumentImage = nativeResult.fullDocumentImage; @@ -3532,42 +3729,61 @@ function PassportRecognizer() { Recognizer.call(this, 'PassportRecognizer'); /** - * Defines whether the Netherlands MRZ should be anonymized. + * Defines whether to anonymize Netherlands MRZ + * + * */ this.anonymizeNetherlandsMrz = true; /** - * Defines whether glare detector is enabled. + * Defines if glare detection should be turned on/off. + * + * */ this.detectGlare = true; /** - * The DPI (Dots Per Inch) for face image that should be returned. + * Property for setting DPI for face images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.faceImageDpi = 250; /** - * The DPI (Dots Per Inch) for full document image that should be returned. + * Property for setting DPI for full document images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.fullDocumentImageDpi = 250; /** - * The extension factors for full document image. + * Image extension factors for full document image. + * + * @see ImageExtensionFactors + * */ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors(); /** - * Defines whether face image will be available in result. + * Sets whether face image from ID card should be extracted + * + * */ this.returnFaceImage = false; /** - * Defines whether full document image will be available in + * Sets whether full document image of ID card should be extracted. + * + * */ this.returnFullDocumentImage = false; /** - * Defines whether or not recognition result should be signed. + * Whether or not recognition result should be signed. + * + * */ this.signResult = false; @@ -3586,12 +3802,12 @@ function VisaRecognizerResult(nativeResult) { RecognizerResult.call(this, nativeResult.resultState); /** - * Face image from the document + * face image from the document if enabled with returnFaceImage property. */ this.faceImage = nativeResult.faceImage; /** - * Image of the full document + * full document image if enabled with returnFullDocumentImage property. */ this.fullDocumentImage = nativeResult.fullDocumentImage; @@ -3613,32 +3829,47 @@ function VisaRecognizer() { Recognizer.call(this, 'VisaRecognizer'); /** - * Defines whether glare detector is enabled. + * Defines if glare detection should be turned on/off. + * + * */ this.detectGlare = true; /** - * The DPI (Dots Per Inch) for face image that should be returned. + * Property for setting DPI for face images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.faceImageDpi = 250; /** - * The DPI (Dots Per Inch) for full document image that should be returned. + * Property for setting DPI for full document images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.fullDocumentImageDpi = 250; /** - * The extension factors for full document image. + * Image extension factors for full document image. + * + * @see ImageExtensionFactors + * */ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors(); /** - * Defines whether face image will be available in result. + * Sets whether face image from ID card should be extracted + * + * */ this.returnFaceImage = false; /** - * Defines whether full document image will be available in + * Sets whether full document image of ID card should be extracted. + * + * */ this.returnFullDocumentImage = false; From 1ac99fca722f201d859fc209b4cb736b06d31f8d Mon Sep 17 00:00:00 2001 From: Jura Skrlec Date: Mon, 30 Aug 2021 15:50:30 +0200 Subject: [PATCH 5/6] [iOS] Update Sample v5.13.0 --- sample_files/www/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample_files/www/js/index.js b/sample_files/www/js/index.js index 5438569..1df21fe 100644 --- a/sample_files/www/js/index.js +++ b/sample_files/www/js/index.js @@ -78,7 +78,7 @@ var app = { // package name/bundleID com.microblink.sample var licenseKeys = { android: 'sRwAAAAVY29tLm1pY3JvYmxpbmsuc2FtcGxlU9kJdZhZkGlTu9U3Oitiw6TT2FGkiyJFlAhM8pExgH/ZF5IuOoC/DbKHoiR382JaMb+r7NDBTzi88CBCEGTbXlCknk+hJObhf+9SOOJyV9scpqUqGgudxZCbR7Ao8QVhwb7XavkyHr+6j1COdVVFlV105JVZF2y7TTB/c6qKl1YLlEPsHcgQJIR15cWeLaSrM9SDq3cW66fdVqjrmXTlZOpo3r6Kzc5LWa+B/kFt7oEJGC3+E8RVD0L/BM6W0vQvCFrgz2XMss7AmHyHugG2t7xId3TBcx9Jct+EcEjICkuJ3KnzdNj8OlVIHcVAlEcLcqx90wxL', - ios: 'sRwAAAEVY29tLm1pY3JvYmxpbmsuc2FtcGxl1BIcP4FpSuS/38JVOjaokGTnHzh0+jPiIF6FmxB6HbydyJKQLtbxqEvE9p31fa1hJ86+UO6QExw84dLWRh8VzN06qa5DEymbZROqdYfnenaDfKi9+t9fqFOKuiurMo6HRoUV/CN0ZhVTZAgUExnslLULEfxd+OVy7l7jTJIgNbP8BQbrlaFtwSti2Ree1z6Kk1muQd8Hj4X301oXfQnIWcMTshJqAk7SOJeE8oIXyKVmqrerKir+5x1Oz9IbzfRCWkby2GlyjkVoyGgWj2e9WGhqnP8lijgkfpkpZ8YTZosjY1cyCXhH08SNZjOrGAtASKDjkbjb' + ios: 'sRwAAAEVY29tLm1pY3JvYmxpbmsuc2FtcGxl1BIcP4FpSuS/38JVOjalnIUAO6GSoXBJSnE8F0QDNJHKEMH7o9ipBUa6gs9JVUn1xhlm+gU+CE8M5dfpDJ5dThQAwhdat7lEBlhqCWhhVnaFAwhRPzmGoBT5DPJH+/j0bMsP52KFNDIQyjJ56+N/rtC1NQc0A/5weRzGQ0mJCESXhL1iCYi/ewtO8VmzBIMsPHcbtNKVqSabeqBOvjKVdwCDodUHYD4gxp+Z5QGjWEUTqqubZcRckHLEq+55y3IRpBev7y2ZfrwTPTBvkg6icvXZzpYl9G7UQnJfsx90JCFnGbFwkzgtCyG0D4EgWxpW2TRBZU9REHXXGZqh9BdHGCmv' }; function buildResult(result, key) { From ec77af9d5d515fc38a00a8e52a7aa3a23bd6aa92 Mon Sep 17 00:00:00 2001 From: Jura Skrlec Date: Mon, 30 Aug 2021 15:50:37 +0200 Subject: [PATCH 6/6] Update release notes v5.13.0 --- Release notes.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Release notes.md b/Release notes.md index b7f59d8..45ee459 100644 --- a/Release notes.md +++ b/Release notes.md @@ -1,3 +1,6 @@ +## 5.13.0 +- Updated to [Android SDK v5.13.0](https://github.com/BlinkID/blinkid-android/releases/tag/v5.13.0) and [iOS SDK v5.13.0](https://github.com/BlinkID/blinkid-ios/releases/tag/v5.13.0) + ## 5.12.0 - Updated to [Android SDK v5.12.0](https://github.com/BlinkID/blinkid-android/releases/tag/v5.12.0) and [iOS SDK v5.12.0](https://github.com/BlinkID/blinkid-ios/releases/tag/v5.12.0)