Skip to content

Commit

Permalink
Merge pull request #226 from BlinkID/jenkins/master-build
Browse files Browse the repository at this point in the history
Jenkins/master build
  • Loading branch information
juraskrlec authored Dec 20, 2018
2 parents acb1be0 + 8ea2caf commit 884f659
Show file tree
Hide file tree
Showing 853 changed files with 30,661 additions and 7,305 deletions.
62 changes: 62 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,67 @@
# Release notes

## 4.5.0

- Updates and additions
- added support for reading front side of Brunei ID - use `MBBruneiIdFrontRecognizer`
- added support for reading front and back side of Cyprus ID, issued after 2015. - use `MBCyprusIdFrontRecognizer` and `MByprusIdBackRecognizer`
- added support for reading front side of Malaysian MyKAS - use `MBMalaysiaMyKasFrontRecognizer`
- added support for reading front side of Malaysian MyPR - use `MBMalaysiaMyPrFrontRecognizer`
- enabled capturing high resolution camera frames:
- When custom UI integration is performed, use `- (void)captureHighResImage:(MBCaptureHighResImage)highResoulutionImageCaptured` on `MBRecognizerRunnerViewController`
- When using provided scan overlay view controllers, high resolution full camera frames taken at the moment of successful scan are returned if this option is enabled through `MBOverlaySettings`. Concrete `MBDocumentOverlaySettings` and `MBDocumentVerificationOverlaySettings` have property `captureHighResImage` to support this feature and new optional delegate on respective delegates

- Improvements in ID scanning performance
- improved reading accuracy for the following recognizers (**DeepOCR** support):
- `MBHongKongIdFrontRecognizer`
- `MBMalaysiaMyKadFrontRecognizer`
- `MBMalaysiaMyKadBackRecognizer`
- `MBMalaysiaMyTenteraFrontRecognizer`
- `MBMalaysiaDlFrontRecognizer`
- `MBNewZealandDlFrontRecognizer`
- improved `MBPaymentCard` recognizers:
- better OCR and data extraction
- added support for reading payment card numbers in 4x6x4 and 4x6x5 format
- improveed UAE recognizers:
- glare detection is enabled for all images returned from `MBUnitedArabEmiratesDlFrontRecognizer`, `MBUnitedArabEmiratesIdBackRecognizer` and `MBUnitedArabEmiratesIdFrontRecognizer` recognizers
- improved `MBMrtdRecognizer`:
- added option to set extension factors for full document image: use method `fullDocumentImageExtensionFactors`
- added option to encode `fullDocumentImage` and `mrzImage` to JPEG and save them to `MBMrtdRecognizerResult`: use `encodeMrzImage` and `encodeFullDocumentImage` to enable encoding

- Minor API changes
- renamed `MBIkadRecognizer` to `MBMalaysiaIkadFrontRecognizer` and methods in recognizer and its `Result`:
- `expiryDate` to `dateOfExpiry `
- `sex ` to `gender`
- renamed `MBMyKadFrontRecogniezer` to `MBMalaysiaMyKadFrontRecognizer` and methods in recognizer and its `Result`:
- `ownerFullName ` to `fullName`
- `ownerAddress ` to `fullAddress`
- `addressStreet ` to `street`
- `ownerAddressZipCode ` to `zipcode`
- `ownerAddressCity ` to `city `
- `ownerAddressState ` to `ownerState`
- `ownerBirthDate ` to `birthDate`
- `ownerSex ` to `sex`
- `ownerReligion ` to `religion`
- `nricNumber ` to `nric`
- `MBMalaysiaMyKadFrontRecognizer` does not extract `armyNumber` anymore, use `MBMalaysiaMyTenteraFrontRecognizer` for scanning `MyTentera`
- `MBMrtdRecognizer`:
- method `saveImageDPI` which has been used to set DPI for full document and MRZ image is replaced with methods `fullDocumentImageDpi` and `mrzImageDpi`

- renamed methods in `MBSwitzerlandIdBackRecognizer` and its `Result`:
- `nonMrzDateOfExpiry` to `dateOfExpiry`
- `nonMrzSex` to `sex`
- renamed methods in `MBSwitzerlandPassportRecognizer` and its `Result`:
- `placeOfBirth` to `placeOfOrigin`
- `nonMrzDateOfBirth` to `dateOfBirth`
- `nonMrzDateOfExpiry` to `dateOfExpiry`
- `nonMrzSex` to `sex`

- Bugfixes
- MBDocumentFaceRecognizer now correctly applies DPI settings to returned face and full document images
- fixed a crash which happened when scanning region was set before overlay view controller loaded, but after it was initialized
- fixed missing `init` in `MBDotsResultSubview` for Swift


## 4.4.0

- Updates and additions
Expand Down
Binary file modified MicroBlink.bundle/Info.plist
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified MicroBlink.bundle/nn_model_BlinkIDOcr_general_5.2.0.zzip
Binary file not shown.
Binary file modified MicroBlink.bundle/nn_model_BlinkInputOcr_general_5.1.0.zzip
Binary file not shown.
Binary file modified MicroBlink.bundle/payment_card_confusions.zzip
Binary file not shown.
Binary file modified MicroBlink.bundle/payment_card_dictionary.zzip
Binary file not shown.
Binary file modified MicroBlink.bundle/uae_confusions.zzip
Binary file not shown.
Binary file modified MicroBlink.bundle/uae_name_dictionary.zzip
Binary file not shown.
Binary file modified MicroBlink.bundle/uae_nationality_dictionary.zzip
Binary file not shown.
23 changes: 17 additions & 6 deletions MicroBlink.framework/Headers/MBBlinkIDEntities.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
#import "MBAustriaDlFrontRecognizer.h"
#import "MBAustriaDlFrontRecognizerResult.h"

#import "MBBruneiIdFrontRecognizer.h"
#import "MBBruneiIdFrontRecognizerResult.h"

// Colombia
#import "MBColombiaIdBackRecognizer.h"
#import "MBColombiaIdBackRecognizerResult.h"
Expand All @@ -47,6 +50,10 @@
#import "MBCyprusIdFrontRecognizerResult.h"
#import "MBCyprusIdBackRecognizer.h"
#import "MBCyprusIdBackRecognizerResult.h"
#import "MBCyprusOldIdFrontRecognizer.h"
#import "MBCyprusOldIdFrontRecognizerResult.h"
#import "MBCyprusOldIdBackRecognizer.h"
#import "MBCyprusOldIdBackRecognizerResult.h"

// Czechia
#import "MBCzechiaIdBackRecognizer.h"
Expand Down Expand Up @@ -113,16 +120,20 @@
#import "MBJordanCombinedRecognizerResult.h"

// Malaysia
#import "MBMyKadBackRecognizer.h"
#import "MBMyKadBackRecognizerResult.h"
#import "MBMyKadFrontRecognizer.h"
#import "MBMyKadFrontRecognizerResult.h"
#import "MBIkadRecognizer.h"
#import "MBIkadRecognizerResult.h"
#import "MBMalaysiaMyKadBackRecognizer.h"
#import "MBMalaysiaMyKadBackRecognizerResult.h"
#import "MBMalaysiaMyKadFrontRecognizer.h"
#import "MBMalaysiaMyKadFrontRecognizerResult.h"
#import "MBMalaysiaIkadFrontRecognizer.h"
#import "MBMalaysiaIkadFrontRecognizerResult.h"
#import "MBMalaysiaMyTenteraFrontRecognizer.h"
#import "MBMalaysiaMyTenteraFrontRecognizerResult.h"
#import "MBMalaysiaDlFrontRecognizer.h"
#import "MBMalaysiaDlFrontRecognizerResult.h"
#import "MBMalaysiaMyPrFrontRecognizer.h"
#import "MBMalaysiaMyPrFrontRecognizerResult.h"
#import "MBMalaysiaMyKasFrontRecognizer.h"
#import "MBMalaysiaMyKasFrontRecognizerResult.h"

// Mexico
#import "MBMexicoVoterIdFrontRecognizer.h"
Expand Down
65 changes: 65 additions & 0 deletions MicroBlink.framework/Headers/MBBruneiIdFrontRecognizer.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
//
// MBBruneiIdYellowFrontRecognizer.h
//
// Created by juraskrlec on 17/12/2018
// Copyright © Microblink Ltd. All rights reserved.
//

#import "MBRecognizer.h"
#import "MBBruneiIdFrontRecognizerResult.h"

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

NS_ASSUME_NONNULL_BEGIN

/**
* Recognizer which can scan front side of yellow version of Brunei ID.
*/
MB_CLASS_AVAILABLE_IOS(8.0) MB_FINAL
@interface MBBruneiIdFrontRecognizer : MBRecognizer<NSCopying, MBGlareDetection, MBFaceImage, MBEncodeFaceImage, MBFaceImageDpi, MBFullDocumentImage, MBEncodeFullDocumentImage, MBFullDocumentImageDpi, MBFullDocumentImageExtensionFactors>

MB_INIT

/**
* Result of scanning BruneiIdYellowFrontRecognizer
*/
@property (nonatomic, strong, readonly) MBBruneiIdFrontRecognizerResult *result;

/**
* Defines if date of birth of Brunei ID owner should be extracted.
*
* Default: YES
*/
@property (nonatomic, assign) BOOL extractDateOfBirth;

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

/**
* Defines if place of birth of Brunei ID owner should be extracted.
*
* Default: YES
*/
@property (nonatomic, assign) BOOL extractPlaceOfBirth;

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

@end

NS_ASSUME_NONNULL_END
53 changes: 53 additions & 0 deletions MicroBlink.framework/Headers/MBBruneiIdFrontRecognizerResult.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
//
// MBBruneiIdYellowFrontRecognizerResult.h
//
// Created by juraskrlec on 17/12/2018
// Copyright © Microblink Ltd. All rights reserved.
//

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

#import "MBFaceImageResult.h"
#import "MBEncodedFaceImageResult.h"
#import "MBFullDocumentImageResult.h"
#import "MBEncodedFullDocumentImageResult.h"

NS_ASSUME_NONNULL_BEGIN

/**
* Recognizer which can scan front side of yellow version of Brunei ID.
*/
MB_CLASS_AVAILABLE_IOS(8.0)
@interface MBBruneiIdFrontRecognizerResult : MBRecognizerResult<NSCopying, MBFaceImageResult, MBEncodedFaceImageResult, MBFullDocumentImageResult, MBEncodedFullDocumentImageResult>

MB_INIT_UNAVAILABLE

/**
* The date of birth of Brunei ID owner.
*/
@property (nonatomic, readonly) MBDateResult *dateOfBirth;

/**
* The document number of Brunei ID.
*/
@property (nonatomic, readonly) NSString *documentNumber;

/**
* The full name of Brunei ID owner.
*/
@property (nonatomic, readonly) NSString *fullName;

/**
* The place of birth of Brunei ID owner.
*/
@property (nonatomic, readonly) NSString *placeOfBirth;

/**
* The sex of Brunei ID owner.
*/
@property (nonatomic, readonly) NSString *sex;

@end

NS_ASSUME_NONNULL_END
2 changes: 2 additions & 0 deletions MicroBlink.framework/Headers/MBCustomOverlayViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ MB_CLASS_AVAILABLE_IOS(8.0)
* Defines a portion of the screen in which the scanning will be performed.
* Given as a CGRect with unit coordinating system:
*
* @warning Should only be set AFTER RecognizerRunnerViewController has been instantiated with this CustomOverlayViewController, or else it will not have any effect.
*
* @example CGRectMake(0.2f, 0.5f, 0.4f, 0.3f) defines a portion of the screen which starts at
* 20% from the left border
* 50% from the top
Expand Down
32 changes: 9 additions & 23 deletions MicroBlink.framework/Headers/MBCyprusIdBackRecognizer.h
Original file line number Diff line number Diff line change
@@ -1,48 +1,34 @@
//
// MBCyprusIdBackRecognizer.h
// MicroBlinkDev
// MBCyprusIdBackRecognizer.h
//
// Created by juraskrlec on 21/08/2018.
// Created by juraskrlec on 17/12/2018
// Copyright © Microblink Ltd. All rights reserved.
//

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

#import "MBGlareDetection.h"
#import "MBFullDocumentImage.h"
#import "MBEncodeFullDocumentImage.h"
#import "MBFullDocumentImageDpi.h"
#import "MBGlareDetection.h"
#import "MBFullDocumentImageExtensionFactors.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, MBFullDocumentImageExtensionFactors>
* Recognizer which can scan back side of Cyprus ID cards.
*/
MB_CLASS_AVAILABLE_IOS(8.0) MB_FINAL
@interface MBCyprusIdBackRecognizer : MBRecognizer<NSCopying, MBGlareDetection, MBFullDocumentImage, MBEncodeFullDocumentImage, MBFullDocumentImageDpi, MBFullDocumentImageExtensionFactors>

MB_INIT

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

/**
* Defines if the expiry date of Cryprus ID card should be extracted.
*
* Default: YES
*/
@property (nonatomic, assign) BOOL extractExpiresOn;

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

@end

NS_ASSUME_NONNULL_END
28 changes: 9 additions & 19 deletions MicroBlink.framework/Headers/MBCyprusIdBackRecognizerResult.h
Original file line number Diff line number Diff line change
@@ -1,40 +1,30 @@
//
// MBCyprusIdBackRecognizerResult.h
// MicroBlinkDev
// MBCyprusIdBackRecognizerResult.h
//
// Created by juraskrlec on 21/08/2018.
// Created by juraskrlec on 17/12/2018
// Copyright © Microblink Ltd. All rights reserved.
//

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

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

NS_ASSUME_NONNULL_BEGIN

/**
* Class representing values obtained when scanning back side of the Cyprus Id
*/
* Recognizer which can scan back side of Cyprus ID cards.
*/
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 expiry date of Cyprus ID card.
*/
@property (nonatomic, readonly) MBDateResult *expiresOn;

/**
* The sex of the back side of the Cyprus Id owner.
*/
@property (nonatomic, readonly) NSString *sex;
* The data extracted from the machine readable zone.
*/
@property (nonatomic, readonly) MBMrzResult *mrzResult;

@end

Expand Down
Loading

0 comments on commit 884f659

Please sign in to comment.