Skip to content

Commit

Permalink
Merge pull request #197 from BlinkID/jenkins/master-build
Browse files Browse the repository at this point in the history
Jenkins/master build
  • Loading branch information
juraskrlec authored Sep 3, 2018
2 parents 0777aaf + bfc9237 commit 9403d79
Show file tree
Hide file tree
Showing 763 changed files with 61,795 additions and 8,489 deletions.
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
# Release notes

## 4.2.0

- Updates and additions
- Added support for reading front side of Spain Driver's License - use `MBSpainDlFrontRecognizer`
- Added support for reading front side of UAE Driver's License - use `MBUnitedArabEmiratesDlFrontRecognizer`
- Added support for reading front side of Cyprus ID card - use `MBCyprusIdFrontRecognizer`
- Added support for reading back side of Cyprus ID card - use `MBCyprusIdBackRecognizer`
- Added support for reading front side of Kuwait ID card - use `MBKuwaitIdFrontRecognizer`
- Added support for reading back side of Kuwait ID card - use `MBKuwaitIdBackRecognizer`
- Added support for reading front side of Payment Card - use `MBPaymentCardFrontRecognizer`
- Added support for reading back side of Payment Card - use `MBPaymentCardBackRecognizer`
- Added support for reading front and back side of Payment Card - use `MBPaymentCardCombinedRecognizer`
- Added support for optional protocol method implementation in `MBDocumentVerificationOverlayViewControllerDelegate` - `documentVerificationOverlayViewControllerDidFinishScanningFirstSide:`

- Improvements in ID scanning performance
- Added support for reading sticker with new address on back side of Singapore ID card with `MBSingaporeCombinedRecognizer`
- Performance improvements

- Minor API changes
- Renamed properties in `MBCroatiaIdBackRecognizerResult`:
- `address` to `residence`
- `documentForNonResident` to `isDocumentForNonResident`
- `issuingAuthority` to `issuedBy`
- MRZ fields are available through `MBMrzResult` which can be obtained by using property `mrzResult`
- Renamed properties in `MBSingaporeIdFrontRecognizerResult`:
- `cardNumber` to `identityCardNumber`
- Renamed properties in `MBSingaporeCombinedRecognizerResult`:
- `cardNumber` to `identityCardNumber`
- `bloodGroup` to `bloodType`
- `isScanningUnsupportedForCameraType:` is now class method of `MBMicroblinkSDK`

- Bugfixes
- Fixed bug where SDK crashed with exception when the user wanted to use custom resource bundle
- Various other bug fixes and improvements

## 4.1.0

- Updates and additions
Expand Down
Binary file modified MicroBlink.bundle/Info.plist
Binary file not shown.
Binary file not shown.
Binary file modified MicroBlink.bundle/nn_model_BlinkIDOcr_production_4.1.2.zzip
Binary file not shown.
Binary file modified MicroBlink.bundle/nn_model_BlinkInputOcr_production_4.1.0.zzip
Binary file not shown.
Binary file added MicroBlink.bundle/payment_card_confusions.zzip
Binary file not shown.
Binary file added MicroBlink.bundle/payment_card_dictionary.zzip
Binary file not shown.
Binary file modified MicroBlink.bundle/uae_confusions.zzip
Binary file not shown.
26 changes: 26 additions & 0 deletions MicroBlink.framework/Headers/MBBlinkIDEntities.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@
#import "MBCroatiaCombinedRecognizer.h"
#import "MBCroatiaCombinedRecognizerResult.h"

// Cyprus
#import "MBCyprusIdFrontRecognizer.h"
#import "MBCyprusIdFrontRecognizerResult.h"
#import "MBCyprusIdBackRecognizer.h"
#import "MBCyprusIdBackRecognizerResult.h"

// Czechia
#import "MBCzechiaIdBackRecognizer.h"
#import "MBCzechiaIdBackRecognizerResult.h"
Expand Down Expand Up @@ -78,6 +84,12 @@
#import "MBIndonesiaIdFrontRecognizer.h"
#import "MBIndonesiaIdFrontRecognizerResult.h"

// Kuwait
#import "MBKuwaitIdFrontRecognizer.h"
#import "MBKuwaitIdFrontRecognizerResult.h"
#import "MBKuwaitIdBackRecognizer.h"
#import "MBKuwaitIdBackRecognizerResult.h"

// Jordan
#import "MBJordanIdBackRecognizer.h"
#import "MBJordanIdBackRecognizerResult.h"
Expand Down Expand Up @@ -114,6 +126,14 @@
#import "MBNewZealandDlFrontRecognizer.h"
#import "MBNewZealandDlFrontRecognizerResult.h"

// Payment Card
#import "MBPaymentCardBackRecognizer.h"
#import "MBPaymentCardBackRecognizerResult.h"
#import "MBPaymentCardFrontRecognizer.h"
#import "MBPaymentCardFrontRecognizerResult.h"
#import "MBPaymentCardCombinedRecognizer.h"
#import "MBPaymentCardCombinedRecognizerResult.h"

// Poland
#import "MBPolandIdBackRecognizer.h"
#import "MBPolandIdBackRecognizerResult.h"
Expand Down Expand Up @@ -162,6 +182,10 @@
#import "MBSloveniaCombinedRecognizer.h"
#import "MBSloveniaCombinedRecognizerResult.h"

// Spain
#import "MBSpainDlFrontRecognizer.h"
#import "MBSpainDlFrontRecognizerResult.h"

// Sweden
#import "MBSwedenDlFrontRecognizer.h"
#import "MBSwedenDlFrontRecognizerResult.h"
Expand All @@ -181,6 +205,8 @@
#import "MBUnitedArabEmiratesIdBackRecognizerResult.h"
#import "MBUnitedArabEmiratesIdFrontRecognizer.h"
#import "MBUnitedArabEmiratesIdFrontRecognizerResult.h"
#import "MBUnitedArabEmiratesDlFrontRecognizer.h"
#import "MBUnitedArabEmiratesDlFrontRecognizerResult.h"

// USDL
#import "MBUsdlCombinedRecognizer.h"
Expand Down
23 changes: 14 additions & 9 deletions MicroBlink.framework/Headers/MBCroatiaIdBackRecognizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@
#ifndef MBCroatiaIdBackRecognizer_h
#define MBCroatiaIdBackRecognizer_h

#import "MBMicroBlinkDefines.h"
#import "MBLegacyRecognizer.h"
#import "MBMicroBlinkInitialization.h"
#import "MBRecognizer.h"
#import "MBCroatiaIdBackRecognizerResult.h"

#import "MBGlareDetection.h"
#import "MBFullDocumentImage.h"

#import <Foundation/Foundation.h>
#import "MBEncodeFullDocumentImage.h"
#import "MBFullDocumentImageDpi.h"
#import "MBGlareDetection.h"

/**
* Croatian ID Back Recognizer.
Expand All @@ -25,7 +23,7 @@
* MRZ zone and address of ID holder while extracting other elements is optional.
*/
MB_CLASS_AVAILABLE_IOS(8.0) MB_FINAL
@interface MBCroatiaIdBackRecognizer : MBLegacyRecognizer<NSCopying, MBGlareDetection, MBFullDocumentImage>
@interface MBCroatiaIdBackRecognizer : MBRecognizer <NSCopying, MBFullDocumentImage, MBEncodeFullDocumentImage, MBFullDocumentImageDpi, MBGlareDetection>

MB_INIT

Expand All @@ -35,11 +33,18 @@ MB_INIT
@property (nonatomic, strong, readonly) MBCroatiaIdBackRecognizerResult *result;

/**
* Defines if issuing authority of Croatian ID should be extracted
* Defines if residence of Croatian ID owner should be extracted
*
* Default: YES
*/
@property (nonatomic, assign) BOOL extractResidence;

/**
* Defines if issuer of Croatian ID should be extracted
*
* Default: YES
*/
@property (nonatomic, assign) BOOL extractIssuingAuthority;
@property (nonatomic, assign) BOOL extractIssuedBy;

/**
* Defines if date of issue of Croatian ID should be extracted
Expand Down
31 changes: 18 additions & 13 deletions MicroBlink.framework/Headers/MBCroatiaIdBackRecognizerResult.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,47 +8,52 @@
#ifndef MBCroatiaIdBackRecognizerResult_h
#define MBCroatiaIdBackRecognizerResult_h

#import "MBLegacyMRTDRecognizerResult.h"
#import "MBRecognizerResult.h"
#import "MBDateResult.h"
#import "MBMrzResult.h"

#import "MBFullDocumentImageResult.h"

#import <Foundation/Foundation.h>
#import "MBEncodedFullDocumentImageResult.h"

NS_ASSUME_NONNULL_BEGIN

/**
* Class representing values obtained when scanning back side of Croatian ID
*/
MB_CLASS_AVAILABLE_IOS(8.0)
@interface MBCroatiaIdBackRecognizerResult : MBLegacyMRTDRecognizerResult<NSCopying, MBFullDocumentImageResult>
@interface MBCroatiaIdBackRecognizerResult : MBRecognizerResult<NSCopying, MBFullDocumentImageResult, MBEncodedFullDocumentImageResult>

MB_INIT_UNAVAILABLE

/**
* The address of the Croatian ID owner.
* The residence of Croatian ID owner
*/
@property (nonatomic, readonly, nullable) NSString *address;
@property (nonatomic, readonly, nullable) NSString *residence;

/**
* The issuing authority of Croatian ID.
* The issuer of Croatian ID
*/
@property (nonatomic, readonly, nullable) NSString *issuingAuthority;
@property (nonatomic, readonly, nullable) NSString *issuedBy;

/**
* The document date of issue of the Croatian ID in DD.MM.yyyy format.
* The date of issue of Croatian ID
*/
@property (nonatomic, readonly, nullable) NSString *rawDocumentDateOfIssue;
@property (nonatomic, readonly, nullable) MBDateResult *dateOfIssue;

/**
* The document date of issue of the Croatian ID.
* Determines if Croatian ID is issued for non resident
*/
@property (nonatomic, readonly, nullable) NSDate *dateOfIssue;
@property (nonatomic, readonly) BOOL documentForNonResident;

/**
* Check if date of expiry is permanent on the Croatian ID.
* Determines if date of expiry of Croatian ID is permanent
*/
@property (nonatomic, readonly) BOOL dateOfExpiryPermanent;

/**
* The data extracted from the machine readable zone
*/
@property (nonatomic, readonly) MBMrzResult *mrzResult;

@end

Expand Down
40 changes: 40 additions & 0 deletions MicroBlink.framework/Headers/MBCyprusIdBackRecognizer.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
//
// MBCyprusIdBackRecognizer.h
// MicroBlinkDev
//
// Created by juraskrlec on 21/08/2018.
//

#import "MBRecognizer.h"
#import "MBCyprusIdBackRecognizerResult.h"

#import "MBFullDocumentImage.h"
#import "MBEncodeFullDocumentImage.h"
#import "MBFullDocumentImageDpi.h"
#import "MBGlareDetection.h"

NS_ASSUME_NONNULL_BEGIN

/**
* Recognizer which can scan back side of Cyprus national ID cards.
*/
MB_CLASS_AVAILABLE_IOS(8.0)
@interface MBCyprusIdBackRecognizer : MBRecognizer <NSCopying, MBFullDocumentImage, MBEncodeFullDocumentImage, MBFullDocumentImageDpi, MBGlareDetection>

MB_INIT

/**
* Result of scanning Cyprus Id Back Recognizer
*/
@property (nonatomic, strong, readonly) MBCyprusIdBackRecognizerResult *result;

/**
* Defines if sex of Cyprus ID card owner should be extracted.
*
* Default: YES
*/
@property (nonatomic, assign) BOOL extractSex;

@end

NS_ASSUME_NONNULL_END
36 changes: 36 additions & 0 deletions MicroBlink.framework/Headers/MBCyprusIdBackRecognizerResult.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
//
// MBCyprusIdBackRecognizerResult.h
// MicroBlinkDev
//
// Created by juraskrlec on 21/08/2018.
//

#import "MBRecognizerResult.h"
#import "MBDateResult.h"

#import "MBFullDocumentImageResult.h"
#import "MBEncodedFullDocumentImageResult.h"

NS_ASSUME_NONNULL_BEGIN

/**
* Class representing values obtained when scanning back side of the Cyprus Id
*/
MB_CLASS_AVAILABLE_IOS(8.0)
@interface MBCyprusIdBackRecognizerResult : MBRecognizerResult<NSCopying, MBFullDocumentImageResult, MBEncodedFullDocumentImageResult>

MB_INIT_UNAVAILABLE

/**
* The date Of Birth of the back side of the Cyprus Id owner.
*/
@property (nonatomic, readonly) MBDateResult *dateOfBirth;

/**
* The sex of the back side of the Cyprus Id owner.
*/
@property (nonatomic, readonly) NSString *sex;

@end

NS_ASSUME_NONNULL_END
57 changes: 57 additions & 0 deletions MicroBlink.framework/Headers/MBCyprusIdFrontRecognizer.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
//
// MBCyprusIdFrontRecognizer.h
// MicroBlinkDev
//
// Created by juraskrlec on 21/08/2018.
//

#import "MBRecognizer.h"
#import "MBCyprusIdFrontRecognizerResult.h"

#import "MBFaceImage.h"
#import "MBEncodeFaceImage.h"
#import "MBFaceImageDpi.h"
#import "MBFullDocumentImage.h"
#import "MBEncodeFullDocumentImage.h"
#import "MBFullDocumentImageDpi.h"
#import "MBGlareDetection.h"

NS_ASSUME_NONNULL_BEGIN

/**
* Recognizer which can scan front side of Cyprus national ID cards.
*/
MB_CLASS_AVAILABLE_IOS(8.0)
@interface MBCyprusIdFrontRecognizer : MBRecognizer <NSCopying, MBFaceImage, MBEncodeFaceImage, MBFaceImageDpi, MBFullDocumentImage, MBEncodeFullDocumentImage, MBFullDocumentImageDpi, MBGlareDetection>

MB_INIT

/**
* Result of scanning Cyprus Id Front Recognizer
*/
@property (nonatomic, strong, readonly) MBCyprusIdFrontRecognizerResult *result;

/**
* Defines if document number of Cyprus ID card should be extracted.
*
* Default: YES
*/
@property (nonatomic, assign) BOOL extractDocumentNumber;

/**
* Defines if name of Cyprus ID card owner should be extracted.
*
* Default: YES
*/
@property (nonatomic, assign) BOOL extractName;

/**
* Defines if surname of Cyprus ID card owner should be extracted.
*
* Default: YES
*/
@property (nonatomic, assign) BOOL extractSurname;

@end

NS_ASSUME_NONNULL_END
Loading

0 comments on commit 9403d79

Please sign in to comment.