From 6fc468f9ec6da28d2a7b43e4ecf794de5a3c092c Mon Sep 17 00:00:00 2001 From: Ivan Grce Date: Thu, 6 Feb 2020 09:49:37 +0100 Subject: [PATCH 1/5] [android] updated bindings for v5.2.0 --- .../recognizers/blinkIdCombinedRecognizer.js | 62 ++++++++------- BlinkID/recognizers/blinkIdRecognizer.js | 37 ++++----- BlinkID/recognizers/documentFaceRecognizer.js | 46 +++-------- BlinkID/recognizers/mrtdCombinedRecognizer.js | 76 +++++-------------- BlinkID/recognizers/mrtdRecognizer.js | 37 +++------ BlinkID/recognizers/passportRecognizer.js | 36 ++++----- BlinkID/recognizers/visaRecognizer.js | 31 ++------ BlinkID/src/android/build.gradle | 2 +- ...linkIdCombinedRecognizerSerialization.java | 6 ++ .../BlinkIdRecognizerSerialization.java | 1 + .../PassportRecognizerSerialization.java | 3 + 11 files changed, 123 insertions(+), 214 deletions(-) diff --git a/BlinkID/recognizers/blinkIdCombinedRecognizer.js b/BlinkID/recognizers/blinkIdCombinedRecognizer.js index 8a48d4b..765f867 100644 --- a/BlinkID/recognizers/blinkIdCombinedRecognizer.js +++ b/BlinkID/recognizers/blinkIdCombinedRecognizer.js @@ -19,7 +19,7 @@ export class BlinkIdCombinedRecognizerResult extends RecognizerResult { super(nativeResult.resultState); /** - * The additional address information of the document owner. + * The additional name information of the document owner. */ this.additionalAddressInformation = nativeResult.additionalAddressInformation; @@ -53,16 +53,23 @@ export class BlinkIdCombinedRecognizerResult extends RecognizerResult { */ this.dateOfIssue = nativeResult.dateOfIssue != null ? new Date(nativeResult.dateOfIssue) : null; + /** + * Defines digital signature of recognition results. + */ + this.digitalSignature = nativeResult.digitalSignature; + + /** + * Defines digital signature version. + */ + this.digitalSignatureVersion = nativeResult.digitalSignatureVersion; + /** * The additional number of the document. */ 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; @@ -82,7 +89,7 @@ export class BlinkIdCombinedRecognizerResult extends RecognizerResult { this.employer = nativeResult.employer; /** - * face image from the document if enabled with returnFaceImage property. + * Face image from the document */ this.faceImage = nativeResult.faceImage; @@ -92,12 +99,12 @@ export class BlinkIdCombinedRecognizerResult extends RecognizerResult { this.firstName = nativeResult.firstName; /** - * 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; @@ -116,13 +123,18 @@ export class BlinkIdCombinedRecognizerResult extends RecognizerResult { */ this.lastName = nativeResult.lastName; + /** + * The localized name of the document owner. + */ + this.localizedName = nativeResult.localizedName; + /** * The marital status of the document owner. */ 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; @@ -162,8 +174,7 @@ export class BlinkIdCombinedRecognizerResult extends RecognizerResult { 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; @@ -176,54 +187,47 @@ export class BlinkIdCombinedRecognizerResult extends RecognizerResult { } /** - * 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. */ export class BlinkIdCombinedRecognizer extends Recognizer { constructor() { super('BlinkIdCombinedRecognizer'); /** - * Defines whether blured frames filtering is allowed + * Defines whether blured frames filtering is allowed" */ this.allowBlurFilter = 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; /** - * 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; + /** + * Defines whether or not recognition result should be signed. + */ + this.signResult = false; + this.createResultFromNative = function (nativeResult) { return new BlinkIdCombinedRecognizerResult(nativeResult); } } } \ No newline at end of file diff --git a/BlinkID/recognizers/blinkIdRecognizer.js b/BlinkID/recognizers/blinkIdRecognizer.js index 88cb121..d999e7f 100644 --- a/BlinkID/recognizers/blinkIdRecognizer.js +++ b/BlinkID/recognizers/blinkIdRecognizer.js @@ -19,7 +19,7 @@ export class BlinkIdRecognizerResult extends RecognizerResult { super(nativeResult.resultState); /** - * The additional address information of the document owner. + * The additional name information of the document owner. */ this.additionalAddressInformation = nativeResult.additionalAddressInformation; @@ -74,7 +74,7 @@ export class BlinkIdRecognizerResult extends RecognizerResult { this.employer = nativeResult.employer; /** - * face image from the document if enabled with returnFaceImage property. + * Face image from the document */ this.faceImage = nativeResult.faceImage; @@ -84,7 +84,7 @@ export class BlinkIdRecognizerResult extends RecognizerResult { this.firstName = nativeResult.firstName; /** - * full document image if enabled with returnFullDocumentImage property. + * Image of the full document */ this.fullDocumentImage = nativeResult.fullDocumentImage; @@ -103,13 +103,18 @@ export class BlinkIdRecognizerResult extends RecognizerResult { */ this.lastName = nativeResult.lastName; + /** + * The localized name of the document owner. + */ + this.localizedName = nativeResult.localizedName; + /** * The marital status of the document owner. */ 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; @@ -157,51 +162,39 @@ export class BlinkIdRecognizerResult extends RecognizerResult { } /** - * The Blink ID Recognizer is used for scanning Blink ID. + * Generic BlinkID recognizer. */ export class BlinkIdRecognizer extends Recognizer { constructor() { super('BlinkIdRecognizer'); /** - * Defines whether blured frames filtering is allowed + * Defines whether blured frames filtering is allowed" */ this.allowBlurFilter = 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; /** - * 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; diff --git a/BlinkID/recognizers/documentFaceRecognizer.js b/BlinkID/recognizers/documentFaceRecognizer.js index 058b9a6..6e753ff 100644 --- a/BlinkID/recognizers/documentFaceRecognizer.js +++ b/BlinkID/recognizers/documentFaceRecognizer.js @@ -19,22 +19,22 @@ export class DocumentFaceRecognizerResult extends RecognizerResult { super(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; @@ -42,66 +42,44 @@ export class DocumentFaceRecognizerResult extends RecognizerResult { } /** - * 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. */ export class DocumentFaceRecognizer extends Recognizer { constructor() { super('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; diff --git a/BlinkID/recognizers/mrtdCombinedRecognizer.js b/BlinkID/recognizers/mrtdCombinedRecognizer.js index 731e702..4ae4320 100644 --- a/BlinkID/recognizers/mrtdCombinedRecognizer.js +++ b/BlinkID/recognizers/mrtdCombinedRecognizer.js @@ -19,46 +19,42 @@ export class MrtdCombinedRecognizerResult extends RecognizerResult { super(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; @@ -66,95 +62,65 @@ export class MrtdCombinedRecognizerResult extends RecognizerResult { } /** - * 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. */ export class MrtdCombinedRecognizer extends Recognizer { constructor() { super('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; diff --git a/BlinkID/recognizers/mrtdRecognizer.js b/BlinkID/recognizers/mrtdRecognizer.js index 3e430f3..074e1d1 100644 --- a/BlinkID/recognizers/mrtdRecognizer.js +++ b/BlinkID/recognizers/mrtdRecognizer.js @@ -19,12 +19,12 @@ export class MrtdRecognizerResult extends RecognizerResult { super(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; @@ -32,61 +32,44 @@ export class MrtdRecognizerResult extends RecognizerResult { } /** - * 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) */ export class MrtdRecognizer extends Recognizer { constructor() { super('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; diff --git a/BlinkID/recognizers/passportRecognizer.js b/BlinkID/recognizers/passportRecognizer.js index 51c865e..78f168d 100644 --- a/BlinkID/recognizers/passportRecognizer.js +++ b/BlinkID/recognizers/passportRecognizer.js @@ -19,12 +19,12 @@ export class PassportRecognizerResult extends RecognizerResult { super(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; @@ -44,47 +44,37 @@ export class PassportRecognizer extends Recognizer { super('PassportRecognizer'); /** - * Defines if glare detection should be turned on/off. - * - * + * Defines whether the Netherlands MRZ should be anonymized. + */ + this.anonymizeNetherlandsMrz = true; + + /** + * 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; diff --git a/BlinkID/recognizers/visaRecognizer.js b/BlinkID/recognizers/visaRecognizer.js index e840093..f7453c5 100644 --- a/BlinkID/recognizers/visaRecognizer.js +++ b/BlinkID/recognizers/visaRecognizer.js @@ -19,12 +19,12 @@ export class VisaRecognizerResult extends RecognizerResult { super(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; @@ -44,47 +44,32 @@ export class VisaRecognizer extends Recognizer { super('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; diff --git a/BlinkID/src/android/build.gradle b/BlinkID/src/android/build.gradle index f29ad9b..19299f0 100644 --- a/BlinkID/src/android/build.gradle +++ b/BlinkID/src/android/build.gradle @@ -18,7 +18,7 @@ android { dependencies { implementation 'com.facebook.react:react-native:+' - implementation('com.microblink:blinkid:5.1.0@aar') { + implementation('com.microblink:blinkid:5.2.0@aar') { transitive = true } } diff --git a/BlinkID/src/android/src/main/java/com/microblink/reactnative/recognizers/serialization/BlinkIdCombinedRecognizerSerialization.java b/BlinkID/src/android/src/main/java/com/microblink/reactnative/recognizers/serialization/BlinkIdCombinedRecognizerSerialization.java index 7ef0c89..49a5f4c 100644 --- a/BlinkID/src/android/src/main/java/com/microblink/reactnative/recognizers/serialization/BlinkIdCombinedRecognizerSerialization.java +++ b/BlinkID/src/android/src/main/java/com/microblink/reactnative/recognizers/serialization/BlinkIdCombinedRecognizerSerialization.java @@ -28,6 +28,9 @@ public Recognizer createRecognizer(ReadableMap jsonRecognizer) { if (jsonRecognizer.hasKey("returnFullDocumentImage")) { recognizer.setReturnFullDocumentImage(jsonRecognizer.getBoolean("returnFullDocumentImage")); } + if (jsonRecognizer.hasKey("signResult")) { + recognizer.setSignResult(jsonRecognizer.getBoolean("signResult")); + } return recognizer; } @@ -43,6 +46,8 @@ public WritableMap serializeResult(Recognizer recognizer) { jsonResult.putMap("dateOfBirth", SerializationUtils.serializeDate(result.getDateOfBirth())); jsonResult.putMap("dateOfExpiry", SerializationUtils.serializeDate(result.getDateOfExpiry())); jsonResult.putMap("dateOfIssue", SerializationUtils.serializeDate(result.getDateOfIssue())); + jsonResult.putString("digitalSignature", SerializationUtils.encodeByteArrayToBase64(result.getDigitalSignature())); + jsonResult.putInt("digitalSignatureVersion", (int)result.getDigitalSignatureVersion()); jsonResult.putString("documentAdditionalNumber", result.getDocumentAdditionalNumber()); jsonResult.putInt("documentDataMatch", SerializationUtils.serializeEnum(result.getDocumentDataMatch())); jsonResult.putString("documentNumber", result.getDocumentNumber()); @@ -55,6 +60,7 @@ public WritableMap serializeResult(Recognizer recognizer) { jsonResult.putString("fullName", result.getFullName()); jsonResult.putString("issuingAuthority", result.getIssuingAuthority()); jsonResult.putString("lastName", result.getLastName()); + jsonResult.putString("localizedName", result.getLocalizedName()); jsonResult.putString("maritalStatus", result.getMaritalStatus()); jsonResult.putMap("mrzResult", BlinkIDSerializationUtils.serializeMrzResult(result.getMrzResult())); jsonResult.putString("nationality", result.getNationality()); diff --git a/BlinkID/src/android/src/main/java/com/microblink/reactnative/recognizers/serialization/BlinkIdRecognizerSerialization.java b/BlinkID/src/android/src/main/java/com/microblink/reactnative/recognizers/serialization/BlinkIdRecognizerSerialization.java index a1a0052..9f56526 100644 --- a/BlinkID/src/android/src/main/java/com/microblink/reactnative/recognizers/serialization/BlinkIdRecognizerSerialization.java +++ b/BlinkID/src/android/src/main/java/com/microblink/reactnative/recognizers/serialization/BlinkIdRecognizerSerialization.java @@ -53,6 +53,7 @@ public WritableMap serializeResult(Recognizer recognizer) { jsonResult.putString("fullName", result.getFullName()); jsonResult.putString("issuingAuthority", result.getIssuingAuthority()); jsonResult.putString("lastName", result.getLastName()); + jsonResult.putString("localizedName", result.getLocalizedName()); jsonResult.putString("maritalStatus", result.getMaritalStatus()); jsonResult.putMap("mrzResult", BlinkIDSerializationUtils.serializeMrzResult(result.getMrzResult())); jsonResult.putString("nationality", result.getNationality()); diff --git a/BlinkID/src/android/src/main/java/com/microblink/reactnative/recognizers/serialization/PassportRecognizerSerialization.java b/BlinkID/src/android/src/main/java/com/microblink/reactnative/recognizers/serialization/PassportRecognizerSerialization.java index 8c68e28..21c0b4d 100644 --- a/BlinkID/src/android/src/main/java/com/microblink/reactnative/recognizers/serialization/PassportRecognizerSerialization.java +++ b/BlinkID/src/android/src/main/java/com/microblink/reactnative/recognizers/serialization/PassportRecognizerSerialization.java @@ -10,6 +10,9 @@ public final class PassportRecognizerSerialization implements RecognizerSerializ @Override public Recognizer createRecognizer(ReadableMap jsonRecognizer) { com.microblink.entities.recognizers.blinkid.passport.PassportRecognizer recognizer = new com.microblink.entities.recognizers.blinkid.passport.PassportRecognizer(); + if (jsonRecognizer.hasKey("anonymizeNetherlandsMrz")) { + recognizer.setAnonymizeNetherlandsMrz(jsonRecognizer.getBoolean("anonymizeNetherlandsMrz")); + } if (jsonRecognizer.hasKey("detectGlare")) { recognizer.setDetectGlare(jsonRecognizer.getBoolean("detectGlare")); } From f3f7d39fb538cb2486348a035725aea872474c36 Mon Sep 17 00:00:00 2001 From: Ivan Grce Date: Thu, 6 Feb 2020 09:51:17 +0100 Subject: [PATCH 2/5] Updated plugin version to v5.2.0 --- BlinkID/package.json | 2 +- initReactNativeDemoApp.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BlinkID/package.json b/BlinkID/package.json index e832e5e..69007e9 100644 --- a/BlinkID/package.json +++ b/BlinkID/package.json @@ -1,6 +1,6 @@ { "name": "blinkid-react-native", - "version": "5.1.0", + "version": "5.2.0", "description": "A small and powerful ID card scanning library. Powered by Microblink (www.microblink.com).", "main": "index.js", "repository": { diff --git a/initReactNativeDemoApp.sh b/initReactNativeDemoApp.sh index 3628fa2..906456f 100755 --- a/initReactNativeDemoApp.sh +++ b/initReactNativeDemoApp.sh @@ -21,7 +21,7 @@ else # use directly source code from this repo instead of npm package # from RN 0.57 symlink does not work any more npm pack $blink_id_plugin_path - npm install --save blinkid-react-native-5.1.0.tgz + npm install --save blinkid-react-native-5.2.0.tgz #pushd node_modules #ln -s $blink_id_plugin_path blinkid-react-native #popd From e8a2f18fec4b3d2f438412e58f09913a6618d46e Mon Sep 17 00:00:00 2001 From: Ivan Grce Date: Thu, 6 Feb 2020 10:11:58 +0100 Subject: [PATCH 3/5] [android] updated license key for v5.2.0 --- demoApp/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demoApp/index.js b/demoApp/index.js index ea861c5..5b13cac 100644 --- a/demoApp/index.js +++ b/demoApp/index.js @@ -20,7 +20,7 @@ const licenseKey = Platform.select({ // iOS license key for applicationID: org.reactjs.native.example.BlinkIDReactNative ios: 'sRwAAAEtb3JnLnJlYWN0anMubmF0aXZlLmV4YW1wbGUuQmxpbmtJRFJlYWN0TmF0aXZlt67qu61k2vMma/ITqpx0GBDsdFcAU1dI9T/O8QGQbKXro44fSAI13p1dXmp1lzbUPSsdtzhyWtgwe7SrwGL0/hmfoPwkGncgZbIBGumtmRVXfpXecM99O4Du5mEy3idv0sglgqJ8kbOiNpW+vFomSliJBaBRHKW5M+o5Lg4FPnFitkdO32qhz3fUhnozCm84QYgEGv/BXChZJ44RXg1RcRircg/kLPvhNmp2h1EJ/wpOJE4KU3dL2k2Wa545kAcmwEpm1hOQqw/9I+mo', // android license key for applicationID: com.blinkidreactnative - android: 'sRwAAAAWY29tLmJsaW5raWRyZWFjdG5hdGl2ZYouOuuUS2CbdVuoF2osTqNctcgR2fajZKtn52xvKLz7ttngB4LGxM/mjl4DBMD88Hjd5sbw4yFp8KK0pOv8HCqmRGsELMRxFwCXeqMgAX3PJVNSY2d/GljJvBXveEEoCsgRUyFwCovDci0FAwDwhRc54ermAW9OadJKbFvMjBhjoW9IGnNwKMvQYrnzeCTpnS0ni39Phe/KfuxDK6QPrLbZd0d3lOopYpymQvqg9n22Gr/tPBkNDIZ1lghkd49CRfocfbmoBVcUt8+kKQ==' + android: 'sRwAAAAWY29tLmJsaW5raWRyZWFjdG5hdGl2ZYouOuuUS2CbdVuoF2ycZgJ9jct8WJtugr8MjgoqeRyr9226KJmV/19hFNNZixOTFwu8+WWxgzF5VFkCgbE8qC2u2YVLEiIlirHJb+jS6rvOuA6KahBkQPwi7r7/4gTHZ6EdHoMufqufdCCDwTRyBBYRU2HK4D61kAqZZKXULUmrg5Iz+nMB4qqEvMgIbLSbeL8Xk0eJ58VQkE/dEgSttZPdjYkIYpuT9I7fmkEFyHDZezpJMmBD3EdaYrujMaJtY4MLvKJ7f1iH9jMFHw==' }) var renderIf = function(condition, content) { From 8c38a0a40790878276d48e4c2ef227982137e9d8 Mon Sep 17 00:00:00 2001 From: Jura Skrlec Date: Thu, 6 Feb 2020 11:17:52 +0100 Subject: [PATCH 4/5] [ios] updated bindings v5.2.0 --- BlinkID/blinkid-react-native.podspec | 2 +- .../recognizers/blinkIdCombinedRecognizer.js | 55 ++- BlinkID/recognizers/blinkIdRecognizer.js | 37 +- BlinkID/recognizers/documentFaceRecognizer.js | 46 ++- BlinkID/recognizers/mrtdCombinedRecognizer.js | 76 +++- BlinkID/recognizers/mrtdRecognizer.js | 37 +- BlinkID/recognizers/passportRecognizer.js | 35 +- BlinkID/recognizers/visaRecognizer.js | 31 +- .../project.pbxproj | 388 +++++++++--------- .../MBBlinkIdCombinedRecognizerWrapper.m | 9 + .../Wrappers/MBBlinkIdRecognizerWrapper.m | 1 + .../Wrappers/MBPassportRecognizerWrapper.m | 6 + 12 files changed, 440 insertions(+), 283 deletions(-) diff --git a/BlinkID/blinkid-react-native.podspec b/BlinkID/blinkid-react-native.podspec index 9e99c9f..44ae8f2 100644 --- a/BlinkID/blinkid-react-native.podspec +++ b/BlinkID/blinkid-react-native.podspec @@ -17,7 +17,7 @@ Pod::Spec.new do |s| s.header_dir = "blinkid-react-native" s.dependency 'React' - s.dependency 'PPBlinkID', '~> 5.1.0' + s.dependency 'PPBlinkID', '~> 5.2.0' s.frameworks = 'UIKit' end diff --git a/BlinkID/recognizers/blinkIdCombinedRecognizer.js b/BlinkID/recognizers/blinkIdCombinedRecognizer.js index 765f867..42b2143 100644 --- a/BlinkID/recognizers/blinkIdCombinedRecognizer.js +++ b/BlinkID/recognizers/blinkIdCombinedRecognizer.js @@ -19,7 +19,7 @@ export class BlinkIdCombinedRecognizerResult extends RecognizerResult { super(nativeResult.resultState); /** - * The additional name information of the document owner. + * The additional address information of the document owner. */ this.additionalAddressInformation = nativeResult.additionalAddressInformation; @@ -54,12 +54,12 @@ export class BlinkIdCombinedRecognizerResult extends RecognizerResult { 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; @@ -69,7 +69,10 @@ export class BlinkIdCombinedRecognizerResult extends RecognizerResult { 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; @@ -89,7 +92,7 @@ export class BlinkIdCombinedRecognizerResult extends RecognizerResult { this.employer = nativeResult.employer; /** - * Face image from the document + * face image from the document if enabled with returnFaceImage property. */ this.faceImage = nativeResult.faceImage; @@ -99,12 +102,12 @@ export class BlinkIdCombinedRecognizerResult extends RecognizerResult { this.firstName = nativeResult.firstName; /** - * 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; @@ -134,7 +137,7 @@ export class BlinkIdCombinedRecognizerResult extends RecognizerResult { 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; @@ -174,7 +177,8 @@ export class BlinkIdCombinedRecognizerResult extends RecognizerResult { 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; @@ -187,44 +191,61 @@ export class BlinkIdCombinedRecognizerResult extends RecognizerResult { } /** - * 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. */ export class BlinkIdCombinedRecognizer extends Recognizer { constructor() { super('BlinkIdCombinedRecognizer'); /** - * Defines whether blured frames filtering is allowed" + * Defines whether blured frames filtering is allowed + * + * */ this.allowBlurFilter = 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; diff --git a/BlinkID/recognizers/blinkIdRecognizer.js b/BlinkID/recognizers/blinkIdRecognizer.js index d999e7f..9ebdd1d 100644 --- a/BlinkID/recognizers/blinkIdRecognizer.js +++ b/BlinkID/recognizers/blinkIdRecognizer.js @@ -19,7 +19,7 @@ export class BlinkIdRecognizerResult extends RecognizerResult { super(nativeResult.resultState); /** - * The additional name information of the document owner. + * The additional address information of the document owner. */ this.additionalAddressInformation = nativeResult.additionalAddressInformation; @@ -74,7 +74,7 @@ export class BlinkIdRecognizerResult extends RecognizerResult { this.employer = nativeResult.employer; /** - * Face image from the document + * face image from the document if enabled with returnFaceImage property. */ this.faceImage = nativeResult.faceImage; @@ -84,7 +84,7 @@ export class BlinkIdRecognizerResult extends RecognizerResult { this.firstName = nativeResult.firstName; /** - * Image of the full document + * full document image if enabled with returnFullDocumentImage property. */ this.fullDocumentImage = nativeResult.fullDocumentImage; @@ -114,7 +114,7 @@ export class BlinkIdRecognizerResult extends RecognizerResult { 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; @@ -162,39 +162,54 @@ export class BlinkIdRecognizerResult extends RecognizerResult { } /** - * Generic BlinkID recognizer. + * The Blink ID Recognizer is used for scanning Blink ID. */ export class BlinkIdRecognizer extends Recognizer { constructor() { super('BlinkIdRecognizer'); /** - * Defines whether blured frames filtering is allowed" + * Defines whether blured frames filtering is allowed + * + * */ this.allowBlurFilter = 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; diff --git a/BlinkID/recognizers/documentFaceRecognizer.js b/BlinkID/recognizers/documentFaceRecognizer.js index 6e753ff..058b9a6 100644 --- a/BlinkID/recognizers/documentFaceRecognizer.js +++ b/BlinkID/recognizers/documentFaceRecognizer.js @@ -19,22 +19,22 @@ export class DocumentFaceRecognizerResult extends RecognizerResult { super(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; @@ -42,44 +42,66 @@ export class DocumentFaceRecognizerResult extends RecognizerResult { } /** - * 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. */ export class DocumentFaceRecognizer extends Recognizer { constructor() { super('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; diff --git a/BlinkID/recognizers/mrtdCombinedRecognizer.js b/BlinkID/recognizers/mrtdCombinedRecognizer.js index 4ae4320..731e702 100644 --- a/BlinkID/recognizers/mrtdCombinedRecognizer.js +++ b/BlinkID/recognizers/mrtdCombinedRecognizer.js @@ -19,42 +19,46 @@ export class MrtdCombinedRecognizerResult extends RecognizerResult { super(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; @@ -62,65 +66,95 @@ export class MrtdCombinedRecognizerResult extends RecognizerResult { } /** - * 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. */ export class MrtdCombinedRecognizer extends Recognizer { constructor() { super('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; diff --git a/BlinkID/recognizers/mrtdRecognizer.js b/BlinkID/recognizers/mrtdRecognizer.js index 074e1d1..3e430f3 100644 --- a/BlinkID/recognizers/mrtdRecognizer.js +++ b/BlinkID/recognizers/mrtdRecognizer.js @@ -19,12 +19,12 @@ export class MrtdRecognizerResult extends RecognizerResult { super(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; @@ -32,44 +32,61 @@ export class MrtdRecognizerResult extends RecognizerResult { } /** - * 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) */ export class MrtdRecognizer extends Recognizer { constructor() { super('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; diff --git a/BlinkID/recognizers/passportRecognizer.js b/BlinkID/recognizers/passportRecognizer.js index 78f168d..0fbe0ee 100644 --- a/BlinkID/recognizers/passportRecognizer.js +++ b/BlinkID/recognizers/passportRecognizer.js @@ -19,12 +19,12 @@ export class PassportRecognizerResult extends RecognizerResult { super(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; @@ -44,37 +44,54 @@ export class PassportRecognizer extends Recognizer { super('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; diff --git a/BlinkID/recognizers/visaRecognizer.js b/BlinkID/recognizers/visaRecognizer.js index f7453c5..e840093 100644 --- a/BlinkID/recognizers/visaRecognizer.js +++ b/BlinkID/recognizers/visaRecognizer.js @@ -19,12 +19,12 @@ export class VisaRecognizerResult extends RecognizerResult { super(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; @@ -44,32 +44,47 @@ export class VisaRecognizer extends Recognizer { super('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; diff --git a/BlinkID/src/ios/MicroblinkModule/MicroblinkModule.xcodeproj/project.pbxproj b/BlinkID/src/ios/MicroblinkModule/MicroblinkModule.xcodeproj/project.pbxproj index 910226d..12d5a76 100644 --- a/BlinkID/src/ios/MicroblinkModule/MicroblinkModule.xcodeproj/project.pbxproj +++ b/BlinkID/src/ios/MicroblinkModule/MicroblinkModule.xcodeproj/project.pbxproj @@ -7,53 +7,53 @@ objects = { /* Begin PBXBuildFile section */ - 140E4EC5960AC20C611F3DE1 /* MBUsdlRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 740242BAA4E91C70CE6CFB96 /* MBUsdlRecognizerWrapper.m */; }; - 18CA4041874D0B3D6344E16B /* MBOverlaySerializationUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 6571424CB83D2E54B8CB815F /* MBOverlaySerializationUtils.m */; }; - 1A0142868BA72B0AE13E4EB2 /* MBBlinkIDSerializationUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 80AB4E46A53C5A9C176FADE8 /* MBBlinkIDSerializationUtils.m */; }; - 1C79465CBC95851519CEBADE /* MBDocumentVerificationOverlaySettingsSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = F0F947DDB3911F445CCE68E6 /* MBDocumentVerificationOverlaySettingsSerialization.h */; }; - 1FFF4E99AE04DB71BA29480D /* MBDocumentVerificationOverlaySettingsSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = 365A452589AFCE4C49C59C54 /* MBDocumentVerificationOverlaySettingsSerialization.m */; }; - 4C764F55B3DBF492808880F2 /* MBVisaRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = DE2B4C0FA708FF1C4B1F9E72 /* MBVisaRecognizerWrapper.m */; }; - 4D1A4E95BB09E2347A19A70A /* MBDocumentFaceRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = EA5E438A90DC90F338EF448D /* MBDocumentFaceRecognizerWrapper.m */; }; - 4FFA454C9B8C6A6174A16455 /* MBBlinkIdOverlaySettingsSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = 1C64494C8027A62518DC1CB8 /* MBBlinkIdOverlaySettingsSerialization.m */; }; - 51B94D729123F72C580B2CCB /* MBSuccessFrameGrabberRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 54D04BC6A6F32B37936A97CB /* MBSuccessFrameGrabberRecognizerWrapper.m */; }; - 6783421EA7C1C5E28FEE937D /* MBDocumentOverlaySettingsSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = BD5C47B3B0B9160CB06EFFE8 /* MBDocumentOverlaySettingsSerialization.h */; }; - 67EB4441A8F36E405BE6DA81 /* MBMrtdCombinedRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 570A40FBA7A4136402F67DC3 /* MBMrtdCombinedRecognizerWrapper.m */; }; - 6CC84EFFB35304B147C6B8D3 /* MBBlinkIdOverlaySettingsSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = D7294175B39AE1426CDA2A74 /* MBBlinkIdOverlaySettingsSerialization.h */; }; - 7ADA40978856D2F1902D6764 /* MBDocumentOverlaySettingsSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = 45AC4137ABA8C52835839CF3 /* MBDocumentOverlaySettingsSerialization.m */; }; - 7F604A8E97898411246106A7 /* MBBlinkIdRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 33A84A5E9DAD2F6E41878372 /* MBBlinkIdRecognizerWrapper.m */; }; - 86AA4F348B4F58CE59E5F08C /* MBSuccessFrameGrabberRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = B99D48CB81874689D3E21911 /* MBSuccessFrameGrabberRecognizerWrapper.h */; }; - 885343B5979B66365962075E /* MBOverlaySettingsSerializers.m in Sources */ = {isa = PBXBuildFile; fileRef = 27874CF4963B8BDC207FB87F /* MBOverlaySettingsSerializers.m */; }; - 8BA14ABF872B2B49114EB544 /* MBBlinkIdCombinedRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 1F14446BAEFF5C886A1A9FF4 /* MBBlinkIdCombinedRecognizerWrapper.h */; }; - 8E004EA7AC3201F2F9FABD5C /* MBDocumentFaceRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = DD8D420A8B5628C16222254D /* MBDocumentFaceRecognizerWrapper.h */; }; - 956044E1A1B3CBC4E612EE56 /* MBBlinkIDSerializationUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 9076401E8D0603621D65AB63 /* MBBlinkIDSerializationUtils.h */; }; + 029744BCA6345025D736AAC5 /* MBDocumentVerificationOverlaySettingsSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = E81D4F8CAB395384B32CC400 /* MBDocumentVerificationOverlaySettingsSerialization.m */; }; + 060E4B9FB46D970F20959BD6 /* .gitignore in Resources */ = {isa = PBXBuildFile; fileRef = B7FF4BC19A9EFA5D4DAC2102 /* .gitignore */; }; + 0C7747D88C164EE58EC94517 /* MBSuccessFrameGrabberRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = F47F406DB564323776AE7485 /* MBSuccessFrameGrabberRecognizerWrapper.m */; }; + 0ECA4995A9A2C9482A0939F1 /* MBDocumentFaceRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = B3834CDE819846F0D399A5A8 /* MBDocumentFaceRecognizerWrapper.h */; }; + 139144FBB34FA1499D6FE59D /* MBMrtdRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 51ED484A92E1E89FD93C3EC9 /* MBMrtdRecognizerWrapper.m */; }; + 18754197A304BED919E66D95 /* MBOverlayViewControllerDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A0844A19CCD4F51B153DC16 /* MBOverlayViewControllerDelegate.h */; }; + 19F94991B37F6BD11BE0A520 /* MBSerializationUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 52534AAE8B20EB4CE7FCEA08 /* MBSerializationUtils.m */; }; + 21AB4656A896121A9E9A5622 /* MBBlinkIdOverlaySettingsSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = F43B40CBB2DC3A31422765B9 /* MBBlinkIdOverlaySettingsSerialization.h */; }; + 2E7D40A0ABC9F647429A5088 /* MBMicroblinkModule.h in Headers */ = {isa = PBXBuildFile; fileRef = CD1F498C8EFC187E37826093 /* MBMicroblinkModule.h */; }; + 3270463DA860222047EC8186 /* MBUsdlRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 823B41E7898A46EAB052E60A /* MBUsdlRecognizerWrapper.h */; }; + 32AF4A3BB6BE2CCF3D83A94C /* MBUsdlRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = CF1C433686068BBFD4928466 /* MBUsdlRecognizerWrapper.m */; }; + 62A145D8AD60C486EDF7AF2A /* MBVisaRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 08B945109AB956BFBA00D3C1 /* MBVisaRecognizerWrapper.m */; }; + 637B4A1B9A031B067D150305 /* MBOverlayVCCreator.h in Headers */ = {isa = PBXBuildFile; fileRef = 74494757BA8A35BB92DFBE0C /* MBOverlayVCCreator.h */; }; + 64364695A19339CF4723F73C /* MBRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = AF8947BD9D92784A9C31F0EB /* MBRecognizerWrapper.h */; }; + 78424086B63B5B2869FDB884 /* MBSerializationUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 7C0C47159802FA29852AA555 /* MBSerializationUtils.h */; }; + 7A364731B3F16ED89FA1482D /* MBUsdlCombinedRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = AA024EBC8780D2447427D562 /* MBUsdlCombinedRecognizerWrapper.h */; }; + 80414300A6BC2C84D021AF4E /* MBBlinkIdRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 74CE48B8B85BEA7F913B7CCD /* MBBlinkIdRecognizerWrapper.h */; }; + 81A644B3B89C8C7D369EEFBC /* MBRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 542E4C339F99262922564BEF /* MBRecognizerWrapper.m */; }; + 82564ED699028196280ED232 /* MBOverlaySettingsSerializers.h in Headers */ = {isa = PBXBuildFile; fileRef = 72EE4628881973E10793F7B2 /* MBOverlaySettingsSerializers.h */; }; + 84974B77A3C2024391D3736B /* MBSuccessFrameGrabberRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = EAFB4DDFA8E0C43170B041A5 /* MBSuccessFrameGrabberRecognizerWrapper.h */; }; + 87D445A898BD03631896ADBE /* MBVisaRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 8EA44B0AB7E22C20A464821B /* MBVisaRecognizerWrapper.h */; }; + 884F48629967696E1EC2BC6E /* MBUsdlCombinedRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 38C04E3CA369505591D3DE9D /* MBUsdlCombinedRecognizerWrapper.m */; }; + 8AC14CABB482653CF14C47AC /* MBMrtdRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 3BBB4C7FB8CE5197FC8CBFA1 /* MBMrtdRecognizerWrapper.h */; }; + 8F9A4143A1856E65D994A7DA /* MBMrtdCombinedRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = D2BF41EA82DFB1FF8E2B3CBD /* MBMrtdCombinedRecognizerWrapper.m */; }; + 96C34F67BEF3A07DCE86DC82 /* MBMrtdCombinedRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 395E42E2A70406B42CB221C8 /* MBMrtdCombinedRecognizerWrapper.h */; }; A27CCA401E9E5D8D00BED675 /* Accelerate.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A27CCA3A1E9E57CF00BED675 /* Accelerate.framework */; }; A27CCA421E9E5D9400BED675 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A27CCA411E9E5D9400BED675 /* CoreFoundation.framework */; }; A27CCA431E9E5D9900BED675 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A27CCA381E9E57C900BED675 /* AudioToolbox.framework */; }; A27CCA441E9E5DAE00BED675 /* CoreMedia.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A27CCA3E1E9E57DA00BED675 /* CoreMedia.framework */; }; - A7E646D5AFD2C0D627DDAAEB /* MBBlinkIdCombinedRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = D7DF44318CE449F55AE29150 /* MBBlinkIdCombinedRecognizerWrapper.m */; }; - AF234F43B4C0FD01F45D0139 /* MBBlinkIdRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = F486460998BD54B7407CB5A1 /* MBBlinkIdRecognizerWrapper.h */; }; - B3AE48ECB407BAFEAC138507 /* MBUsdlRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = A2DD40BEBA7B77E1DCB1D5C1 /* MBUsdlRecognizerWrapper.h */; }; - B741495D9BDBFE21686AB1C7 /* MBOverlaySettingsSerializers.h in Headers */ = {isa = PBXBuildFile; fileRef = 17584FF7B8BEEA43E2046BDC /* MBOverlaySettingsSerializers.h */; }; - BA344DC0A1832E41885858BC /* MBMrtdRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = D5764C8BBB06019A6232D38C /* MBMrtdRecognizerWrapper.m */; }; - BB5E4A7D85365D946862C8D1 /* MBMrtdCombinedRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 30184CBE84243F86513A7668 /* MBMrtdCombinedRecognizerWrapper.h */; }; - C1F6459FABDE01823FCD2BFB /* MBRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = AD814C97B562D96495F1785F /* MBRecognizerWrapper.h */; }; - C3F6462F84FA3A69EC61FF75 /* MBSerializationUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 62EC4424A4C6362AA8C70E56 /* MBSerializationUtils.h */; }; - C9334706A41E520FD3DC5943 /* MBRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 1ACE4C86972DFB21898B466D /* MBRecognizerWrapper.m */; }; - CB814A518D573C31689F23B6 /* MBOverlayViewControllerDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 284843CC8ADD71FE61ABDE51 /* MBOverlayViewControllerDelegate.h */; }; - D23D456BB06744AB052A6FE7 /* MBOverlayVCCreator.h in Headers */ = {isa = PBXBuildFile; fileRef = F8934BCF933B4952EC33E44B /* MBOverlayVCCreator.h */; }; - D8F84FA5B3792B29B524F87B /* MBVisaRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 89774FBE86FCE00A4937580D /* MBVisaRecognizerWrapper.h */; }; - D95F45D1B9E03B8EA5EEEF61 /* MBRecognizerSerializers.h in Headers */ = {isa = PBXBuildFile; fileRef = B74F4AB9B97384F1CFCD600D /* MBRecognizerSerializers.h */; }; - DA8D4C4CB0FD3F9664C59601 /* MBMicroblinkModule.h in Headers */ = {isa = PBXBuildFile; fileRef = 37204A1A9F7BBCA2D3BCAE41 /* MBMicroblinkModule.h */; }; - E1624F98A15B2BF3BCBB634E /* MBOverlaySerializationUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 4F7549169E4A9031A21D9135 /* MBOverlaySerializationUtils.h */; }; - E7E3439EB1C1A75602F5ADBD /* MBMicroblinkModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 9B044DA8B4BAD4ADFEC1CBA5 /* MBMicroblinkModule.m */; }; - E7F84AEEB5D75F69C07EDD80 /* MBUsdlCombinedRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 371D4C099AF39B41550D36CC /* MBUsdlCombinedRecognizerWrapper.h */; }; - EA13430495ED0EECC3EE79E2 /* MBRecognizerSerializers.m in Sources */ = {isa = PBXBuildFile; fileRef = 705047D1AB5182D797F9B663 /* MBRecognizerSerializers.m */; }; - EB56467D9B235340FC727F75 /* MBUsdlCombinedRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = F1194888A92D6AB57F0DC2A2 /* MBUsdlCombinedRecognizerWrapper.m */; }; - F16248EC8DA0EDE4A66F593C /* MBSerializationUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = D356452C81EE046A3A026B71 /* MBSerializationUtils.m */; }; - F4364508815549F175E21C8A /* MBMrtdRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = D5B14C0C9E0F5C6F4A6F9218 /* MBMrtdRecognizerWrapper.h */; }; - F4BC40B484CE083303516C15 /* MBPassportRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = CABD44499C604BB734B744F4 /* MBPassportRecognizerWrapper.h */; }; - F70E4057919CD02E9285BA50 /* .gitignore in Resources */ = {isa = PBXBuildFile; fileRef = 77D24E5CA5725E6C2744A467 /* .gitignore */; }; - F81943B2832DBEFCCEA00391 /* MBPassportRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 428E4B39814E007D2901DA99 /* MBPassportRecognizerWrapper.m */; }; + A75041C3A8DE17E2CCCCC7E6 /* MBBlinkIdCombinedRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = E7C24625AD82BAC448EDBFE6 /* MBBlinkIdCombinedRecognizerWrapper.h */; }; + AC0840FBAF85C2A66E49530A /* MBOverlaySerializationUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 9CB14F4D9D1C2421B8216A8A /* MBOverlaySerializationUtils.m */; }; + ACE4457CAF3214240D507E15 /* MBRecognizerSerializers.h in Headers */ = {isa = PBXBuildFile; fileRef = 9EF94156B9B8662E63D97454 /* MBRecognizerSerializers.h */; }; + B00E476DA75F51C11C96783A /* MBBlinkIDSerializationUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 59C74F6EB07FE3D8541EBC8C /* MBBlinkIDSerializationUtils.h */; }; + B9074E14B5BB925382472FCC /* MBBlinkIdCombinedRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = EAB3421C9348461B4BAB19ED /* MBBlinkIdCombinedRecognizerWrapper.m */; }; + BA5F4ED68CB091113197FC6C /* MBPassportRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D3E48F3A0058B90563F026D /* MBPassportRecognizerWrapper.m */; }; + BDC7480BA18E2A0AF14C09AA /* MBDocumentFaceRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 49564181A135CD607503B5C4 /* MBDocumentFaceRecognizerWrapper.m */; }; + CFD6462BA4BDE7F37720CBA6 /* MBPassportRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 5B9544D4BF7F4846AC250377 /* MBPassportRecognizerWrapper.h */; }; + D2C6447F8286F34792707AB8 /* MBRecognizerSerializers.m in Sources */ = {isa = PBXBuildFile; fileRef = 945F436A9063151C9ECE689A /* MBRecognizerSerializers.m */; }; + D3C541B0A980F37A1F99A184 /* MBBlinkIdRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 79F949409DF99B8E67B230FB /* MBBlinkIdRecognizerWrapper.m */; }; + D87A4E348071ED37CFAFB969 /* MBOverlaySettingsSerializers.m in Sources */ = {isa = PBXBuildFile; fileRef = 441548C3829043A7E0FD3507 /* MBOverlaySettingsSerializers.m */; }; + DE8146A0A38E7C7E00DCB051 /* MBDocumentOverlaySettingsSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = 204142819BB1CB4F32F22C6F /* MBDocumentOverlaySettingsSerialization.m */; }; + E07143B49C2661E5266A8A56 /* MBBlinkIdOverlaySettingsSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = 12014C378484CF1CD4E4899C /* MBBlinkIdOverlaySettingsSerialization.m */; }; + E4714D2AA635650D4E29F533 /* MBOverlaySerializationUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 16474E489D51C96F7645A519 /* MBOverlaySerializationUtils.h */; }; + F19041DA84CBA5C03B2D768C /* MBDocumentOverlaySettingsSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = CB7F4CDDBE302D133699145F /* MBDocumentOverlaySettingsSerialization.h */; }; + F2F249BBAA0DE4708C51F8E3 /* MBBlinkIDSerializationUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 92FB47B8951239250C19AF75 /* MBBlinkIDSerializationUtils.m */; }; + F2F84B20A81C39815562D6EF /* MBMicroblinkModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 18E44B3DB436F1E1C62717CF /* MBMicroblinkModule.m */; }; + F4F74E44AB150DFB91EC3FD8 /* MBDocumentVerificationOverlaySettingsSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = EE124C4C86003A0466A21843 /* MBDocumentVerificationOverlaySettingsSerialization.h */; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -69,55 +69,55 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ - 17584FF7B8BEEA43E2046BDC /* MBOverlaySettingsSerializers.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBOverlaySettingsSerializers.h; path = MicroblinkModule/Overlays/MBOverlaySettingsSerializers.h; sourceTree = SOURCE_ROOT; }; - 1ACE4C86972DFB21898B466D /* MBRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBRecognizerWrapper.m; path = MicroblinkModule/Recognizers/MBRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; - 1C64494C8027A62518DC1CB8 /* MBBlinkIdOverlaySettingsSerialization.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBBlinkIdOverlaySettingsSerialization.m; path = MicroblinkModule/Overlays/Serialization/MBBlinkIdOverlaySettingsSerialization.m; sourceTree = SOURCE_ROOT; }; - 1F14446BAEFF5C886A1A9FF4 /* MBBlinkIdCombinedRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBBlinkIdCombinedRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBBlinkIdCombinedRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; - 27874CF4963B8BDC207FB87F /* MBOverlaySettingsSerializers.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBOverlaySettingsSerializers.m; path = MicroblinkModule/Overlays/MBOverlaySettingsSerializers.m; sourceTree = SOURCE_ROOT; }; - 284843CC8ADD71FE61ABDE51 /* MBOverlayViewControllerDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBOverlayViewControllerDelegate.h; path = MicroblinkModule/Overlays/MBOverlayViewControllerDelegate.h; sourceTree = SOURCE_ROOT; }; - 30184CBE84243F86513A7668 /* MBMrtdCombinedRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBMrtdCombinedRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBMrtdCombinedRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; - 33A84A5E9DAD2F6E41878372 /* MBBlinkIdRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBBlinkIdRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBBlinkIdRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; - 365A452589AFCE4C49C59C54 /* MBDocumentVerificationOverlaySettingsSerialization.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBDocumentVerificationOverlaySettingsSerialization.m; path = MicroblinkModule/Overlays/Serialization/MBDocumentVerificationOverlaySettingsSerialization.m; sourceTree = SOURCE_ROOT; }; - 371D4C099AF39B41550D36CC /* MBUsdlCombinedRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBUsdlCombinedRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBUsdlCombinedRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; - 37204A1A9F7BBCA2D3BCAE41 /* MBMicroblinkModule.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBMicroblinkModule.h; path = MicroblinkModule/MBMicroblinkModule.h; sourceTree = SOURCE_ROOT; }; - 428E4B39814E007D2901DA99 /* MBPassportRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBPassportRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBPassportRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; - 45AC4137ABA8C52835839CF3 /* MBDocumentOverlaySettingsSerialization.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBDocumentOverlaySettingsSerialization.m; path = MicroblinkModule/Overlays/Serialization/MBDocumentOverlaySettingsSerialization.m; sourceTree = SOURCE_ROOT; }; - 4F7549169E4A9031A21D9135 /* MBOverlaySerializationUtils.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBOverlaySerializationUtils.h; path = MicroblinkModule/Overlays/MBOverlaySerializationUtils.h; sourceTree = SOURCE_ROOT; }; - 54D04BC6A6F32B37936A97CB /* MBSuccessFrameGrabberRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBSuccessFrameGrabberRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBSuccessFrameGrabberRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; - 570A40FBA7A4136402F67DC3 /* MBMrtdCombinedRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBMrtdCombinedRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBMrtdCombinedRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; - 62EC4424A4C6362AA8C70E56 /* MBSerializationUtils.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBSerializationUtils.h; path = MicroblinkModule/MBSerializationUtils.h; sourceTree = SOURCE_ROOT; }; - 6571424CB83D2E54B8CB815F /* MBOverlaySerializationUtils.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBOverlaySerializationUtils.m; path = MicroblinkModule/Overlays/MBOverlaySerializationUtils.m; sourceTree = SOURCE_ROOT; }; - 705047D1AB5182D797F9B663 /* MBRecognizerSerializers.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBRecognizerSerializers.m; path = MicroblinkModule/Recognizers/MBRecognizerSerializers.m; sourceTree = SOURCE_ROOT; }; - 740242BAA4E91C70CE6CFB96 /* MBUsdlRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBUsdlRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBUsdlRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; - 77D24E5CA5725E6C2744A467 /* .gitignore */ = {isa = PBXFileReference; lastKnownFileType = text; name = .gitignore; path = MicroblinkModule/Overlays/Serialization/.gitignore; sourceTree = SOURCE_ROOT; }; - 80AB4E46A53C5A9C176FADE8 /* MBBlinkIDSerializationUtils.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBBlinkIDSerializationUtils.m; path = MicroblinkModule/MBBlinkIDSerializationUtils.m; sourceTree = SOURCE_ROOT; }; - 89774FBE86FCE00A4937580D /* MBVisaRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBVisaRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBVisaRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; - 9076401E8D0603621D65AB63 /* MBBlinkIDSerializationUtils.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBBlinkIDSerializationUtils.h; path = MicroblinkModule/MBBlinkIDSerializationUtils.h; sourceTree = SOURCE_ROOT; }; - 9B044DA8B4BAD4ADFEC1CBA5 /* MBMicroblinkModule.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBMicroblinkModule.m; path = MicroblinkModule/MBMicroblinkModule.m; sourceTree = SOURCE_ROOT; }; + 08B945109AB956BFBA00D3C1 /* MBVisaRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBVisaRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBVisaRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; + 12014C378484CF1CD4E4899C /* MBBlinkIdOverlaySettingsSerialization.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBBlinkIdOverlaySettingsSerialization.m; path = MicroblinkModule/Overlays/Serialization/MBBlinkIdOverlaySettingsSerialization.m; sourceTree = SOURCE_ROOT; }; + 16474E489D51C96F7645A519 /* MBOverlaySerializationUtils.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBOverlaySerializationUtils.h; path = MicroblinkModule/Overlays/MBOverlaySerializationUtils.h; sourceTree = SOURCE_ROOT; }; + 18E44B3DB436F1E1C62717CF /* MBMicroblinkModule.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBMicroblinkModule.m; path = MicroblinkModule/MBMicroblinkModule.m; sourceTree = SOURCE_ROOT; }; + 1A0844A19CCD4F51B153DC16 /* MBOverlayViewControllerDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBOverlayViewControllerDelegate.h; path = MicroblinkModule/Overlays/MBOverlayViewControllerDelegate.h; sourceTree = SOURCE_ROOT; }; + 204142819BB1CB4F32F22C6F /* MBDocumentOverlaySettingsSerialization.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBDocumentOverlaySettingsSerialization.m; path = MicroblinkModule/Overlays/Serialization/MBDocumentOverlaySettingsSerialization.m; sourceTree = SOURCE_ROOT; }; + 38C04E3CA369505591D3DE9D /* MBUsdlCombinedRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBUsdlCombinedRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBUsdlCombinedRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; + 395E42E2A70406B42CB221C8 /* MBMrtdCombinedRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBMrtdCombinedRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBMrtdCombinedRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; + 3BBB4C7FB8CE5197FC8CBFA1 /* MBMrtdRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBMrtdRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBMrtdRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; + 441548C3829043A7E0FD3507 /* MBOverlaySettingsSerializers.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBOverlaySettingsSerializers.m; path = MicroblinkModule/Overlays/MBOverlaySettingsSerializers.m; sourceTree = SOURCE_ROOT; }; + 49564181A135CD607503B5C4 /* MBDocumentFaceRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBDocumentFaceRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBDocumentFaceRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; + 51ED484A92E1E89FD93C3EC9 /* MBMrtdRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBMrtdRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBMrtdRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; + 52534AAE8B20EB4CE7FCEA08 /* MBSerializationUtils.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBSerializationUtils.m; path = MicroblinkModule/MBSerializationUtils.m; sourceTree = SOURCE_ROOT; }; + 542E4C339F99262922564BEF /* MBRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBRecognizerWrapper.m; path = MicroblinkModule/Recognizers/MBRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; + 59C74F6EB07FE3D8541EBC8C /* MBBlinkIDSerializationUtils.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBBlinkIDSerializationUtils.h; path = MicroblinkModule/MBBlinkIDSerializationUtils.h; sourceTree = SOURCE_ROOT; }; + 5B9544D4BF7F4846AC250377 /* MBPassportRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBPassportRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBPassportRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; + 72EE4628881973E10793F7B2 /* MBOverlaySettingsSerializers.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBOverlaySettingsSerializers.h; path = MicroblinkModule/Overlays/MBOverlaySettingsSerializers.h; sourceTree = SOURCE_ROOT; }; + 74494757BA8A35BB92DFBE0C /* MBOverlayVCCreator.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBOverlayVCCreator.h; path = MicroblinkModule/Overlays/MBOverlayVCCreator.h; sourceTree = SOURCE_ROOT; }; + 74CE48B8B85BEA7F913B7CCD /* MBBlinkIdRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBBlinkIdRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBBlinkIdRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; + 79F949409DF99B8E67B230FB /* MBBlinkIdRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBBlinkIdRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBBlinkIdRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; + 7C0C47159802FA29852AA555 /* MBSerializationUtils.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBSerializationUtils.h; path = MicroblinkModule/MBSerializationUtils.h; sourceTree = SOURCE_ROOT; }; + 823B41E7898A46EAB052E60A /* MBUsdlRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBUsdlRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBUsdlRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; + 8D3E48F3A0058B90563F026D /* MBPassportRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBPassportRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBPassportRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; + 8EA44B0AB7E22C20A464821B /* MBVisaRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBVisaRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBVisaRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; + 92FB47B8951239250C19AF75 /* MBBlinkIDSerializationUtils.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBBlinkIDSerializationUtils.m; path = MicroblinkModule/MBBlinkIDSerializationUtils.m; sourceTree = SOURCE_ROOT; }; + 945F436A9063151C9ECE689A /* MBRecognizerSerializers.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBRecognizerSerializers.m; path = MicroblinkModule/Recognizers/MBRecognizerSerializers.m; sourceTree = SOURCE_ROOT; }; + 9CB14F4D9D1C2421B8216A8A /* MBOverlaySerializationUtils.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBOverlaySerializationUtils.m; path = MicroblinkModule/Overlays/MBOverlaySerializationUtils.m; sourceTree = SOURCE_ROOT; }; + 9EF94156B9B8662E63D97454 /* MBRecognizerSerializers.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBRecognizerSerializers.h; path = MicroblinkModule/Recognizers/MBRecognizerSerializers.h; sourceTree = SOURCE_ROOT; }; A27CCA2B1E9E57A500BED675 /* libMicroblinkModule.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libMicroblinkModule.a; sourceTree = BUILT_PRODUCTS_DIR; }; A27CCA381E9E57C900BED675 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; }; A27CCA3A1E9E57CF00BED675 /* Accelerate.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Accelerate.framework; path = System/Library/Frameworks/Accelerate.framework; sourceTree = SDKROOT; }; A27CCA3C1E9E57D600BED675 /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; }; A27CCA3E1E9E57DA00BED675 /* CoreMedia.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMedia.framework; path = System/Library/Frameworks/CoreMedia.framework; sourceTree = SDKROOT; }; A27CCA411E9E5D9400BED675 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = System/Library/Frameworks/CoreFoundation.framework; sourceTree = SDKROOT; }; - A2DD40BEBA7B77E1DCB1D5C1 /* MBUsdlRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBUsdlRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBUsdlRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; - AD814C97B562D96495F1785F /* MBRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBRecognizerWrapper.h; path = MicroblinkModule/Recognizers/MBRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; - B74F4AB9B97384F1CFCD600D /* MBRecognizerSerializers.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBRecognizerSerializers.h; path = MicroblinkModule/Recognizers/MBRecognizerSerializers.h; sourceTree = SOURCE_ROOT; }; - B99D48CB81874689D3E21911 /* MBSuccessFrameGrabberRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBSuccessFrameGrabberRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBSuccessFrameGrabberRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; - BD5C47B3B0B9160CB06EFFE8 /* MBDocumentOverlaySettingsSerialization.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBDocumentOverlaySettingsSerialization.h; path = MicroblinkModule/Overlays/Serialization/MBDocumentOverlaySettingsSerialization.h; sourceTree = SOURCE_ROOT; }; - CABD44499C604BB734B744F4 /* MBPassportRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBPassportRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBPassportRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; - D356452C81EE046A3A026B71 /* MBSerializationUtils.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBSerializationUtils.m; path = MicroblinkModule/MBSerializationUtils.m; sourceTree = SOURCE_ROOT; }; - D5764C8BBB06019A6232D38C /* MBMrtdRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBMrtdRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBMrtdRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; - D5B14C0C9E0F5C6F4A6F9218 /* MBMrtdRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBMrtdRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBMrtdRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; - D7294175B39AE1426CDA2A74 /* MBBlinkIdOverlaySettingsSerialization.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBBlinkIdOverlaySettingsSerialization.h; path = MicroblinkModule/Overlays/Serialization/MBBlinkIdOverlaySettingsSerialization.h; sourceTree = SOURCE_ROOT; }; - D7DF44318CE449F55AE29150 /* MBBlinkIdCombinedRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBBlinkIdCombinedRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBBlinkIdCombinedRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; - DD8D420A8B5628C16222254D /* MBDocumentFaceRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBDocumentFaceRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBDocumentFaceRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; - DE2B4C0FA708FF1C4B1F9E72 /* MBVisaRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBVisaRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBVisaRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; - EA5E438A90DC90F338EF448D /* MBDocumentFaceRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBDocumentFaceRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBDocumentFaceRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; - F0F947DDB3911F445CCE68E6 /* MBDocumentVerificationOverlaySettingsSerialization.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBDocumentVerificationOverlaySettingsSerialization.h; path = MicroblinkModule/Overlays/Serialization/MBDocumentVerificationOverlaySettingsSerialization.h; sourceTree = SOURCE_ROOT; }; - F1194888A92D6AB57F0DC2A2 /* MBUsdlCombinedRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBUsdlCombinedRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBUsdlCombinedRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; - F486460998BD54B7407CB5A1 /* MBBlinkIdRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBBlinkIdRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBBlinkIdRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; - F8934BCF933B4952EC33E44B /* MBOverlayVCCreator.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBOverlayVCCreator.h; path = MicroblinkModule/Overlays/MBOverlayVCCreator.h; sourceTree = SOURCE_ROOT; }; + AA024EBC8780D2447427D562 /* MBUsdlCombinedRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBUsdlCombinedRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBUsdlCombinedRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; + AF8947BD9D92784A9C31F0EB /* MBRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBRecognizerWrapper.h; path = MicroblinkModule/Recognizers/MBRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; + B3834CDE819846F0D399A5A8 /* MBDocumentFaceRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBDocumentFaceRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBDocumentFaceRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; + B7FF4BC19A9EFA5D4DAC2102 /* .gitignore */ = {isa = PBXFileReference; lastKnownFileType = text; name = .gitignore; path = MicroblinkModule/Overlays/Serialization/.gitignore; sourceTree = SOURCE_ROOT; }; + CB7F4CDDBE302D133699145F /* MBDocumentOverlaySettingsSerialization.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBDocumentOverlaySettingsSerialization.h; path = MicroblinkModule/Overlays/Serialization/MBDocumentOverlaySettingsSerialization.h; sourceTree = SOURCE_ROOT; }; + CD1F498C8EFC187E37826093 /* MBMicroblinkModule.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBMicroblinkModule.h; path = MicroblinkModule/MBMicroblinkModule.h; sourceTree = SOURCE_ROOT; }; + CF1C433686068BBFD4928466 /* MBUsdlRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBUsdlRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBUsdlRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; + D2BF41EA82DFB1FF8E2B3CBD /* MBMrtdCombinedRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBMrtdCombinedRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBMrtdCombinedRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; + E7C24625AD82BAC448EDBFE6 /* MBBlinkIdCombinedRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBBlinkIdCombinedRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBBlinkIdCombinedRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; + E81D4F8CAB395384B32CC400 /* MBDocumentVerificationOverlaySettingsSerialization.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBDocumentVerificationOverlaySettingsSerialization.m; path = MicroblinkModule/Overlays/Serialization/MBDocumentVerificationOverlaySettingsSerialization.m; sourceTree = SOURCE_ROOT; }; + EAB3421C9348461B4BAB19ED /* MBBlinkIdCombinedRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBBlinkIdCombinedRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBBlinkIdCombinedRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; + EAFB4DDFA8E0C43170B041A5 /* MBSuccessFrameGrabberRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBSuccessFrameGrabberRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBSuccessFrameGrabberRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; + EE124C4C86003A0466A21843 /* MBDocumentVerificationOverlaySettingsSerialization.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBDocumentVerificationOverlaySettingsSerialization.h; path = MicroblinkModule/Overlays/Serialization/MBDocumentVerificationOverlaySettingsSerialization.h; sourceTree = SOURCE_ROOT; }; + F43B40CBB2DC3A31422765B9 /* MBBlinkIdOverlaySettingsSerialization.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBBlinkIdOverlaySettingsSerialization.h; path = MicroblinkModule/Overlays/Serialization/MBBlinkIdOverlaySettingsSerialization.h; sourceTree = SOURCE_ROOT; }; + F47F406DB564323776AE7485 /* MBSuccessFrameGrabberRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBSuccessFrameGrabberRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBSuccessFrameGrabberRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -135,78 +135,75 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 5EDB4437B114BE146DE2789A /* MicroblinkModule */ = { + 1C8F465993C799614A94C304 /* Overlays */ = { isa = PBXGroup; children = ( - 80AB4E46A53C5A9C176FADE8 /* MBBlinkIDSerializationUtils.m */, - 775E40EE8D5485F12482DD2A /* Overlays */, - D356452C81EE046A3A026B71 /* MBSerializationUtils.m */, - 9B044DA8B4BAD4ADFEC1CBA5 /* MBMicroblinkModule.m */, - 9076401E8D0603621D65AB63 /* MBBlinkIDSerializationUtils.h */, - A29C418EA7D526553039217A /* Recognizers */, - 37204A1A9F7BBCA2D3BCAE41 /* MBMicroblinkModule.h */, - 62EC4424A4C6362AA8C70E56 /* MBSerializationUtils.h */, + 9CB14F4D9D1C2421B8216A8A /* MBOverlaySerializationUtils.m */, + 29374A4C9C8738EC815E304C /* Serialization */, + 74494757BA8A35BB92DFBE0C /* MBOverlayVCCreator.h */, + 441548C3829043A7E0FD3507 /* MBOverlaySettingsSerializers.m */, + 16474E489D51C96F7645A519 /* MBOverlaySerializationUtils.h */, + 1A0844A19CCD4F51B153DC16 /* MBOverlayViewControllerDelegate.h */, + 72EE4628881973E10793F7B2 /* MBOverlaySettingsSerializers.h */, ); - name = MicroblinkModule; - path = "/Users/juraskrlec/Documents/projects/blinkid-react-native/BlinkID/src/ios/MicroblinkModule/MicroblinkModule"; + name = Overlays; + path = "/Users/juraskrlec/Documents/projects/blinkid-react-native/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Overlays"; sourceTree = ""; }; - 6B374D04ADF8307EA5E54A1D /* Wrappers */ = { + 1FE846ADAD5347E420398188 /* Wrappers */ = { isa = PBXGroup; children = ( - EA5E438A90DC90F338EF448D /* MBDocumentFaceRecognizerWrapper.m */, - DE2B4C0FA708FF1C4B1F9E72 /* MBVisaRecognizerWrapper.m */, - 1F14446BAEFF5C886A1A9FF4 /* MBBlinkIdCombinedRecognizerWrapper.h */, - B99D48CB81874689D3E21911 /* MBSuccessFrameGrabberRecognizerWrapper.h */, - D5764C8BBB06019A6232D38C /* MBMrtdRecognizerWrapper.m */, - A2DD40BEBA7B77E1DCB1D5C1 /* MBUsdlRecognizerWrapper.h */, - 570A40FBA7A4136402F67DC3 /* MBMrtdCombinedRecognizerWrapper.m */, - 428E4B39814E007D2901DA99 /* MBPassportRecognizerWrapper.m */, - F1194888A92D6AB57F0DC2A2 /* MBUsdlCombinedRecognizerWrapper.m */, - F486460998BD54B7407CB5A1 /* MBBlinkIdRecognizerWrapper.h */, - 89774FBE86FCE00A4937580D /* MBVisaRecognizerWrapper.h */, - DD8D420A8B5628C16222254D /* MBDocumentFaceRecognizerWrapper.h */, - 30184CBE84243F86513A7668 /* MBMrtdCombinedRecognizerWrapper.h */, - 740242BAA4E91C70CE6CFB96 /* MBUsdlRecognizerWrapper.m */, - D7DF44318CE449F55AE29150 /* MBBlinkIdCombinedRecognizerWrapper.m */, - 54D04BC6A6F32B37936A97CB /* MBSuccessFrameGrabberRecognizerWrapper.m */, - D5B14C0C9E0F5C6F4A6F9218 /* MBMrtdRecognizerWrapper.h */, - 33A84A5E9DAD2F6E41878372 /* MBBlinkIdRecognizerWrapper.m */, - 371D4C099AF39B41550D36CC /* MBUsdlCombinedRecognizerWrapper.h */, - CABD44499C604BB734B744F4 /* MBPassportRecognizerWrapper.h */, + 49564181A135CD607503B5C4 /* MBDocumentFaceRecognizerWrapper.m */, + 08B945109AB956BFBA00D3C1 /* MBVisaRecognizerWrapper.m */, + E7C24625AD82BAC448EDBFE6 /* MBBlinkIdCombinedRecognizerWrapper.h */, + EAFB4DDFA8E0C43170B041A5 /* MBSuccessFrameGrabberRecognizerWrapper.h */, + 51ED484A92E1E89FD93C3EC9 /* MBMrtdRecognizerWrapper.m */, + 823B41E7898A46EAB052E60A /* MBUsdlRecognizerWrapper.h */, + D2BF41EA82DFB1FF8E2B3CBD /* MBMrtdCombinedRecognizerWrapper.m */, + 8D3E48F3A0058B90563F026D /* MBPassportRecognizerWrapper.m */, + 38C04E3CA369505591D3DE9D /* MBUsdlCombinedRecognizerWrapper.m */, + 74CE48B8B85BEA7F913B7CCD /* MBBlinkIdRecognizerWrapper.h */, + 8EA44B0AB7E22C20A464821B /* MBVisaRecognizerWrapper.h */, + B3834CDE819846F0D399A5A8 /* MBDocumentFaceRecognizerWrapper.h */, + 395E42E2A70406B42CB221C8 /* MBMrtdCombinedRecognizerWrapper.h */, + CF1C433686068BBFD4928466 /* MBUsdlRecognizerWrapper.m */, + EAB3421C9348461B4BAB19ED /* MBBlinkIdCombinedRecognizerWrapper.m */, + F47F406DB564323776AE7485 /* MBSuccessFrameGrabberRecognizerWrapper.m */, + 3BBB4C7FB8CE5197FC8CBFA1 /* MBMrtdRecognizerWrapper.h */, + 79F949409DF99B8E67B230FB /* MBBlinkIdRecognizerWrapper.m */, + AA024EBC8780D2447427D562 /* MBUsdlCombinedRecognizerWrapper.h */, + 5B9544D4BF7F4846AC250377 /* MBPassportRecognizerWrapper.h */, ); name = Wrappers; path = "/Users/juraskrlec/Documents/projects/blinkid-react-native/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers/Wrappers"; sourceTree = ""; }; - 775E40EE8D5485F12482DD2A /* Overlays */ = { + 29374A4C9C8738EC815E304C /* Serialization */ = { isa = PBXGroup; children = ( - 6571424CB83D2E54B8CB815F /* MBOverlaySerializationUtils.m */, - 821D4AC3A43D7B3F50E015FB /* Serialization */, - F8934BCF933B4952EC33E44B /* MBOverlayVCCreator.h */, - 27874CF4963B8BDC207FB87F /* MBOverlaySettingsSerializers.m */, - 4F7549169E4A9031A21D9135 /* MBOverlaySerializationUtils.h */, - 284843CC8ADD71FE61ABDE51 /* MBOverlayViewControllerDelegate.h */, - 17584FF7B8BEEA43E2046BDC /* MBOverlaySettingsSerializers.h */, + CB7F4CDDBE302D133699145F /* MBDocumentOverlaySettingsSerialization.h */, + E81D4F8CAB395384B32CC400 /* MBDocumentVerificationOverlaySettingsSerialization.m */, + 12014C378484CF1CD4E4899C /* MBBlinkIdOverlaySettingsSerialization.m */, + 204142819BB1CB4F32F22C6F /* MBDocumentOverlaySettingsSerialization.m */, + B7FF4BC19A9EFA5D4DAC2102 /* .gitignore */, + EE124C4C86003A0466A21843 /* MBDocumentVerificationOverlaySettingsSerialization.h */, + F43B40CBB2DC3A31422765B9 /* MBBlinkIdOverlaySettingsSerialization.h */, ); - name = Overlays; - path = "/Users/juraskrlec/Documents/projects/blinkid-react-native/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Overlays"; + name = Serialization; + path = "/Users/juraskrlec/Documents/projects/blinkid-react-native/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Overlays/Serialization"; sourceTree = ""; }; - 821D4AC3A43D7B3F50E015FB /* Serialization */ = { + 4DE94397AF9FA5522A8EC335 /* Recognizers */ = { isa = PBXGroup; children = ( - BD5C47B3B0B9160CB06EFFE8 /* MBDocumentOverlaySettingsSerialization.h */, - 365A452589AFCE4C49C59C54 /* MBDocumentVerificationOverlaySettingsSerialization.m */, - 1C64494C8027A62518DC1CB8 /* MBBlinkIdOverlaySettingsSerialization.m */, - 45AC4137ABA8C52835839CF3 /* MBDocumentOverlaySettingsSerialization.m */, - 77D24E5CA5725E6C2744A467 /* .gitignore */, - F0F947DDB3911F445CCE68E6 /* MBDocumentVerificationOverlaySettingsSerialization.h */, - D7294175B39AE1426CDA2A74 /* MBBlinkIdOverlaySettingsSerialization.h */, + AF8947BD9D92784A9C31F0EB /* MBRecognizerWrapper.h */, + 1FE846ADAD5347E420398188 /* Wrappers */, + 9EF94156B9B8662E63D97454 /* MBRecognizerSerializers.h */, + 542E4C339F99262922564BEF /* MBRecognizerWrapper.m */, + 945F436A9063151C9ECE689A /* MBRecognizerSerializers.m */, ); - name = Serialization; - path = "/Users/juraskrlec/Documents/projects/blinkid-react-native/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Overlays/Serialization"; + name = Recognizers; + path = "/Users/juraskrlec/Documents/projects/blinkid-react-native/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers"; sourceTree = ""; }; A27CCA221E9E57A500BED675 = { @@ -214,7 +211,7 @@ children = ( A27CCA2C1E9E57A500BED675 /* Products */, A27CCA371E9E57C900BED675 /* Frameworks */, - 5EDB4437B114BE146DE2789A /* MicroblinkModule */, + B5304729A93CEB165B8A1C89 /* MicroblinkModule */, ); sourceTree = ""; }; @@ -238,48 +235,51 @@ name = Frameworks; sourceTree = ""; }; - A29C418EA7D526553039217A /* Recognizers */ = { + B5304729A93CEB165B8A1C89 /* MicroblinkModule */ = { isa = PBXGroup; children = ( - AD814C97B562D96495F1785F /* MBRecognizerWrapper.h */, - 6B374D04ADF8307EA5E54A1D /* Wrappers */, - B74F4AB9B97384F1CFCD600D /* MBRecognizerSerializers.h */, - 1ACE4C86972DFB21898B466D /* MBRecognizerWrapper.m */, - 705047D1AB5182D797F9B663 /* MBRecognizerSerializers.m */, + 92FB47B8951239250C19AF75 /* MBBlinkIDSerializationUtils.m */, + 1C8F465993C799614A94C304 /* Overlays */, + 52534AAE8B20EB4CE7FCEA08 /* MBSerializationUtils.m */, + 18E44B3DB436F1E1C62717CF /* MBMicroblinkModule.m */, + 59C74F6EB07FE3D8541EBC8C /* MBBlinkIDSerializationUtils.h */, + 4DE94397AF9FA5522A8EC335 /* Recognizers */, + CD1F498C8EFC187E37826093 /* MBMicroblinkModule.h */, + 7C0C47159802FA29852AA555 /* MBSerializationUtils.h */, ); - name = Recognizers; - path = "/Users/juraskrlec/Documents/projects/blinkid-react-native/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers"; + name = MicroblinkModule; + path = "/Users/juraskrlec/Documents/projects/blinkid-react-native/BlinkID/src/ios/MicroblinkModule/MicroblinkModule"; sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ - 395D40EBB0780186F43A1D9F /* Headers */ = { + ABF44CA9ADA9F512E0E015E7 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 6783421EA7C1C5E28FEE937D /* MBDocumentOverlaySettingsSerialization.h in Headers */, - 1C79465CBC95851519CEBADE /* MBDocumentVerificationOverlaySettingsSerialization.h in Headers */, - 6CC84EFFB35304B147C6B8D3 /* MBBlinkIdOverlaySettingsSerialization.h in Headers */, - D23D456BB06744AB052A6FE7 /* MBOverlayVCCreator.h in Headers */, - E1624F98A15B2BF3BCBB634E /* MBOverlaySerializationUtils.h in Headers */, - CB814A518D573C31689F23B6 /* MBOverlayViewControllerDelegate.h in Headers */, - B741495D9BDBFE21686AB1C7 /* MBOverlaySettingsSerializers.h in Headers */, - 956044E1A1B3CBC4E612EE56 /* MBBlinkIDSerializationUtils.h in Headers */, - C1F6459FABDE01823FCD2BFB /* MBRecognizerWrapper.h in Headers */, - 8BA14ABF872B2B49114EB544 /* MBBlinkIdCombinedRecognizerWrapper.h in Headers */, - 86AA4F348B4F58CE59E5F08C /* MBSuccessFrameGrabberRecognizerWrapper.h in Headers */, - B3AE48ECB407BAFEAC138507 /* MBUsdlRecognizerWrapper.h in Headers */, - AF234F43B4C0FD01F45D0139 /* MBBlinkIdRecognizerWrapper.h in Headers */, - D8F84FA5B3792B29B524F87B /* MBVisaRecognizerWrapper.h in Headers */, - 8E004EA7AC3201F2F9FABD5C /* MBDocumentFaceRecognizerWrapper.h in Headers */, - BB5E4A7D85365D946862C8D1 /* MBMrtdCombinedRecognizerWrapper.h in Headers */, - F4364508815549F175E21C8A /* MBMrtdRecognizerWrapper.h in Headers */, - E7F84AEEB5D75F69C07EDD80 /* MBUsdlCombinedRecognizerWrapper.h in Headers */, - F4BC40B484CE083303516C15 /* MBPassportRecognizerWrapper.h in Headers */, - D95F45D1B9E03B8EA5EEEF61 /* MBRecognizerSerializers.h in Headers */, - DA8D4C4CB0FD3F9664C59601 /* MBMicroblinkModule.h in Headers */, - C3F6462F84FA3A69EC61FF75 /* MBSerializationUtils.h in Headers */, + F19041DA84CBA5C03B2D768C /* MBDocumentOverlaySettingsSerialization.h in Headers */, + F4F74E44AB150DFB91EC3FD8 /* MBDocumentVerificationOverlaySettingsSerialization.h in Headers */, + 21AB4656A896121A9E9A5622 /* MBBlinkIdOverlaySettingsSerialization.h in Headers */, + 637B4A1B9A031B067D150305 /* MBOverlayVCCreator.h in Headers */, + E4714D2AA635650D4E29F533 /* MBOverlaySerializationUtils.h in Headers */, + 18754197A304BED919E66D95 /* MBOverlayViewControllerDelegate.h in Headers */, + 82564ED699028196280ED232 /* MBOverlaySettingsSerializers.h in Headers */, + B00E476DA75F51C11C96783A /* MBBlinkIDSerializationUtils.h in Headers */, + 64364695A19339CF4723F73C /* MBRecognizerWrapper.h in Headers */, + A75041C3A8DE17E2CCCCC7E6 /* MBBlinkIdCombinedRecognizerWrapper.h in Headers */, + 84974B77A3C2024391D3736B /* MBSuccessFrameGrabberRecognizerWrapper.h in Headers */, + 3270463DA860222047EC8186 /* MBUsdlRecognizerWrapper.h in Headers */, + 80414300A6BC2C84D021AF4E /* MBBlinkIdRecognizerWrapper.h in Headers */, + 87D445A898BD03631896ADBE /* MBVisaRecognizerWrapper.h in Headers */, + 0ECA4995A9A2C9482A0939F1 /* MBDocumentFaceRecognizerWrapper.h in Headers */, + 96C34F67BEF3A07DCE86DC82 /* MBMrtdCombinedRecognizerWrapper.h in Headers */, + 8AC14CABB482653CF14C47AC /* MBMrtdRecognizerWrapper.h in Headers */, + 7A364731B3F16ED89FA1482D /* MBUsdlCombinedRecognizerWrapper.h in Headers */, + CFD6462BA4BDE7F37720CBA6 /* MBPassportRecognizerWrapper.h in Headers */, + ACE4457CAF3214240D507E15 /* MBRecognizerSerializers.h in Headers */, + 2E7D40A0ABC9F647429A5088 /* MBMicroblinkModule.h in Headers */, + 78424086B63B5B2869FDB884 /* MBSerializationUtils.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -293,8 +293,8 @@ A27CCA271E9E57A500BED675 /* Sources */, A27CCA281E9E57A500BED675 /* Frameworks */, A27CCA291E9E57A500BED675 /* CopyFiles */, - 395D40EBB0780186F43A1D9F /* Headers */, - 317F4D5E97D19C32E3126647 /* Resources */, + ABF44CA9ADA9F512E0E015E7 /* Headers */, + 35A34B54939745B996459B37 /* Resources */, ); buildRules = ( ); @@ -340,11 +340,11 @@ /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ - 317F4D5E97D19C32E3126647 /* Resources */ = { + 35A34B54939745B996459B37 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - F70E4057919CD02E9285BA50 /* .gitignore in Resources */, + 060E4B9FB46D970F20959BD6 /* .gitignore in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -355,26 +355,26 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 1A0142868BA72B0AE13E4EB2 /* MBBlinkIDSerializationUtils.m in Sources */, - 18CA4041874D0B3D6344E16B /* MBOverlaySerializationUtils.m in Sources */, - 1FFF4E99AE04DB71BA29480D /* MBDocumentVerificationOverlaySettingsSerialization.m in Sources */, - 4FFA454C9B8C6A6174A16455 /* MBBlinkIdOverlaySettingsSerialization.m in Sources */, - 7ADA40978856D2F1902D6764 /* MBDocumentOverlaySettingsSerialization.m in Sources */, - 885343B5979B66365962075E /* MBOverlaySettingsSerializers.m in Sources */, - F16248EC8DA0EDE4A66F593C /* MBSerializationUtils.m in Sources */, - E7E3439EB1C1A75602F5ADBD /* MBMicroblinkModule.m in Sources */, - 4D1A4E95BB09E2347A19A70A /* MBDocumentFaceRecognizerWrapper.m in Sources */, - 4C764F55B3DBF492808880F2 /* MBVisaRecognizerWrapper.m in Sources */, - BA344DC0A1832E41885858BC /* MBMrtdRecognizerWrapper.m in Sources */, - 67EB4441A8F36E405BE6DA81 /* MBMrtdCombinedRecognizerWrapper.m in Sources */, - F81943B2832DBEFCCEA00391 /* MBPassportRecognizerWrapper.m in Sources */, - EB56467D9B235340FC727F75 /* MBUsdlCombinedRecognizerWrapper.m in Sources */, - 140E4EC5960AC20C611F3DE1 /* MBUsdlRecognizerWrapper.m in Sources */, - A7E646D5AFD2C0D627DDAAEB /* MBBlinkIdCombinedRecognizerWrapper.m in Sources */, - 51B94D729123F72C580B2CCB /* MBSuccessFrameGrabberRecognizerWrapper.m in Sources */, - 7F604A8E97898411246106A7 /* MBBlinkIdRecognizerWrapper.m in Sources */, - C9334706A41E520FD3DC5943 /* MBRecognizerWrapper.m in Sources */, - EA13430495ED0EECC3EE79E2 /* MBRecognizerSerializers.m in Sources */, + F2F249BBAA0DE4708C51F8E3 /* MBBlinkIDSerializationUtils.m in Sources */, + AC0840FBAF85C2A66E49530A /* MBOverlaySerializationUtils.m in Sources */, + 029744BCA6345025D736AAC5 /* MBDocumentVerificationOverlaySettingsSerialization.m in Sources */, + E07143B49C2661E5266A8A56 /* MBBlinkIdOverlaySettingsSerialization.m in Sources */, + DE8146A0A38E7C7E00DCB051 /* MBDocumentOverlaySettingsSerialization.m in Sources */, + D87A4E348071ED37CFAFB969 /* MBOverlaySettingsSerializers.m in Sources */, + 19F94991B37F6BD11BE0A520 /* MBSerializationUtils.m in Sources */, + F2F84B20A81C39815562D6EF /* MBMicroblinkModule.m in Sources */, + BDC7480BA18E2A0AF14C09AA /* MBDocumentFaceRecognizerWrapper.m in Sources */, + 62A145D8AD60C486EDF7AF2A /* MBVisaRecognizerWrapper.m in Sources */, + 139144FBB34FA1499D6FE59D /* MBMrtdRecognizerWrapper.m in Sources */, + 8F9A4143A1856E65D994A7DA /* MBMrtdCombinedRecognizerWrapper.m in Sources */, + BA5F4ED68CB091113197FC6C /* MBPassportRecognizerWrapper.m in Sources */, + 884F48629967696E1EC2BC6E /* MBUsdlCombinedRecognizerWrapper.m in Sources */, + 32AF4A3BB6BE2CCF3D83A94C /* MBUsdlRecognizerWrapper.m in Sources */, + B9074E14B5BB925382472FCC /* MBBlinkIdCombinedRecognizerWrapper.m in Sources */, + 0C7747D88C164EE58EC94517 /* MBSuccessFrameGrabberRecognizerWrapper.m in Sources */, + D3C541B0A980F37A1F99A184 /* MBBlinkIdRecognizerWrapper.m in Sources */, + 81A644B3B89C8C7D369EEFBC /* MBRecognizerWrapper.m in Sources */, + D2C6447F8286F34792707AB8 /* MBRecognizerSerializers.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers/Wrappers/MBBlinkIdCombinedRecognizerWrapper.m b/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers/Wrappers/MBBlinkIdCombinedRecognizerWrapper.m index c8675c6..c66d622 100644 --- a/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers/Wrappers/MBBlinkIdCombinedRecognizerWrapper.m +++ b/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers/Wrappers/MBBlinkIdCombinedRecognizerWrapper.m @@ -52,6 +52,12 @@ -(MBRecognizer *) createRecognizer:(NSDictionary*) jsonRecognizer { recognizer.returnFullDocumentImage = [(NSNumber *)returnFullDocumentImage boolValue]; } } + { + id signResult = [jsonRecognizer valueForKey:@"signResult"]; + if (signResult != nil) { + recognizer.signResult = [(NSNumber *)signResult boolValue]; + } + } return recognizer; } @@ -72,6 +78,8 @@ -(NSDictionary *) serializeResult { [jsonResult setValue:[MBSerializationUtils serializeMBDateResult:self.result.dateOfBirth] forKey:@"dateOfBirth"]; [jsonResult setValue:[MBSerializationUtils serializeMBDateResult:self.result.dateOfExpiry] forKey:@"dateOfExpiry"]; [jsonResult setValue:[MBSerializationUtils serializeMBDateResult:self.result.dateOfIssue] forKey:@"dateOfIssue"]; + [jsonResult setValue:[self.result.digitalSignature base64EncodedStringWithOptions:0] forKey:@"digitalSignature"]; + [jsonResult setValue:[NSNumber numberWithUnsignedInteger:self.result.digitalSignatureVersion] forKey:@"digitalSignatureVersion"]; [jsonResult setValue:self.result.documentAdditionalNumber forKey:@"documentAdditionalNumber"]; [jsonResult setValue:[NSNumber numberWithInteger:(self.result.documentDataMatch + 1)] forKey:@"documentDataMatch"]; [jsonResult setValue:self.result.documentNumber forKey:@"documentNumber"]; @@ -84,6 +92,7 @@ -(NSDictionary *) serializeResult { [jsonResult setValue:self.result.fullName forKey:@"fullName"]; [jsonResult setValue:self.result.issuingAuthority forKey:@"issuingAuthority"]; [jsonResult setValue:self.result.lastName forKey:@"lastName"]; + [jsonResult setValue:self.result.localizedName forKey:@"localizedName"]; [jsonResult setValue:self.result.maritalStatus forKey:@"maritalStatus"]; [jsonResult setValue:[MBBlinkIDSerializationUtils serializeMrzResult:self.result.mrzResult] forKey:@"mrzResult"]; [jsonResult setValue:self.result.nationality forKey:@"nationality"]; diff --git a/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers/Wrappers/MBBlinkIdRecognizerWrapper.m b/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers/Wrappers/MBBlinkIdRecognizerWrapper.m index 9e3825c..3fd6065 100644 --- a/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers/Wrappers/MBBlinkIdRecognizerWrapper.m +++ b/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers/Wrappers/MBBlinkIdRecognizerWrapper.m @@ -82,6 +82,7 @@ -(NSDictionary *) serializeResult { [jsonResult setValue:self.result.fullName forKey:@"fullName"]; [jsonResult setValue:self.result.issuingAuthority forKey:@"issuingAuthority"]; [jsonResult setValue:self.result.lastName forKey:@"lastName"]; + [jsonResult setValue:self.result.localizedName forKey:@"localizedName"]; [jsonResult setValue:self.result.maritalStatus forKey:@"maritalStatus"]; [jsonResult setValue:[MBBlinkIDSerializationUtils serializeMrzResult:self.result.mrzResult] forKey:@"mrzResult"]; [jsonResult setValue:self.result.nationality forKey:@"nationality"]; diff --git a/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers/Wrappers/MBPassportRecognizerWrapper.m b/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers/Wrappers/MBPassportRecognizerWrapper.m index a33d7f2..c33aea6 100644 --- a/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers/Wrappers/MBPassportRecognizerWrapper.m +++ b/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers/Wrappers/MBPassportRecognizerWrapper.m @@ -16,6 +16,12 @@ -(instancetype) init { -(MBRecognizer *) createRecognizer:(NSDictionary*) jsonRecognizer { MBPassportRecognizer *recognizer = [[MBPassportRecognizer alloc] init]; + { + id anonymizeNetherlandsMrz = [jsonRecognizer valueForKey:@"anonymizeNetherlandsMrz"]; + if (anonymizeNetherlandsMrz != nil) { + recognizer.anonymizeNetherlandsMrz = [(NSNumber *)anonymizeNetherlandsMrz boolValue]; + } + } { id detectGlare = [jsonRecognizer valueForKey:@"detectGlare"]; if (detectGlare != nil) { From 01157eb41b68e34e10d20b45885a7f3e71d27b52 Mon Sep 17 00:00:00 2001 From: Jura Skrlec Date: Thu, 6 Feb 2020 11:18:06 +0100 Subject: [PATCH 5/5] [ios] updated license key demo v5.2.0 --- demoApp/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demoApp/index.js b/demoApp/index.js index 5b13cac..8348e88 100644 --- a/demoApp/index.js +++ b/demoApp/index.js @@ -18,7 +18,7 @@ import { const licenseKey = Platform.select({ // iOS license key for applicationID: org.reactjs.native.example.BlinkIDReactNative - ios: 'sRwAAAEtb3JnLnJlYWN0anMubmF0aXZlLmV4YW1wbGUuQmxpbmtJRFJlYWN0TmF0aXZlt67qu61k2vMma/ITqpx0GBDsdFcAU1dI9T/O8QGQbKXro44fSAI13p1dXmp1lzbUPSsdtzhyWtgwe7SrwGL0/hmfoPwkGncgZbIBGumtmRVXfpXecM99O4Du5mEy3idv0sglgqJ8kbOiNpW+vFomSliJBaBRHKW5M+o5Lg4FPnFitkdO32qhz3fUhnozCm84QYgEGv/BXChZJ44RXg1RcRircg/kLPvhNmp2h1EJ/wpOJE4KU3dL2k2Wa545kAcmwEpm1hOQqw/9I+mo', + ios: 'sRwAAAEtb3JnLnJlYWN0anMubmF0aXZlLmV4YW1wbGUuQmxpbmtJRFJlYWN0TmF0aXZlt67qu61k2vMma/ITrAzRsQikX+Z8GN9lm8f+KzB72Q1qnHETI5iJ3ZBFZM+9diEvcfnOq54PxOzkUx6Xkj3Dy6ic6u+KA+stJLQ2fOvC2PjDEjlJ/lgcbfejwM2O9w0EJYlccXyl3scVDQkzGIbfUvPmAjPrt/s82DRzXyDF+TCORB+QnAhW5AmkvCNPvjZ5KN+AMQRIS++psA5EG9Fdn4qWdSfxPCQ3HZKvhh3fn56mQkq+s20C5pj11k2BfI6xBLybYkd+mXuAGwO0', // android license key for applicationID: com.blinkidreactnative android: 'sRwAAAAWY29tLmJsaW5raWRyZWFjdG5hdGl2ZYouOuuUS2CbdVuoF2ycZgJ9jct8WJtugr8MjgoqeRyr9226KJmV/19hFNNZixOTFwu8+WWxgzF5VFkCgbE8qC2u2YVLEiIlirHJb+jS6rvOuA6KahBkQPwi7r7/4gTHZ6EdHoMufqufdCCDwTRyBBYRU2HK4D61kAqZZKXULUmrg5Iz+nMB4qqEvMgIbLSbeL8Xk0eJ58VQkE/dEgSttZPdjYkIYpuT9I7fmkEFyHDZezpJMmBD3EdaYrujMaJtY4MLvKJ7f1iH9jMFHw==' })