Skip to content

Commit

Permalink
Merge pull request #153 from BlinkID/feature/v2.17.0
Browse files Browse the repository at this point in the history
Feature/v2.17.0
  • Loading branch information
dgust6 committed Apr 5, 2018
2 parents 6ff0252 + 9241675 commit 2d25a63
Show file tree
Hide file tree
Showing 33 changed files with 841 additions and 38 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
## 2.17.0

- Updates and additions
- added support for reading front and back side of Jordan ID - use `PPJordanIDFrontRecognizerSettings` and `PPJordanIDBackRecognizerSettings`
- added Jordan Combined Recognizer - use `PPJordanIDCombinedRecognizerSettings`
- added support for reading Egyptian ID Front - use `PPEgyptIDFrontRecognizerSettings`
- added support for reading Malaysian DL Front - use `PPMalaysianDLFrontRecognizerSettings`
- added support for reading Malaysian Passport IMM13P MRTD - be sure to set `allowSpecialCharacters` to `true` when creating `PPMrtdRecognizerSettings`

- Improvements in ID scanning performance
- Improved reading Malaysian MyKad and MyTentera
- Improved reading VINs
- Improved parsing of USDL

- Bugfixes
- fixed returning of face image when using `PPUnitedArabEmiratesIDFrontRecognizer`:
- fixed face image position
- fixed crash in `PPDocumentFaceRecognizer`
- Fixed expiry date for magnetic stripe USDL subtype - using day of birth not last day of the month for license expiry day
- Fixed rare crashes that sometimes happened when trying to fetch unparsed dates
- fixed crashes that happened when trying to activate the torch while video input hasn't loaded

## 2.16.1

- Bugfixes
Expand Down
Binary file modified MicroBlink.bundle/Info.plist
Binary file not shown.
Binary file modified MicroBlink.bundle/_CodeSignature/CodeDirectory
Binary file not shown.
Binary file modified MicroBlink.bundle/_CodeSignature/CodeRequirements-1
Binary file not shown.
36 changes: 18 additions & 18 deletions MicroBlink.bundle/_CodeSignature/CodeResources
Original file line number Diff line number Diff line change
Expand Up @@ -82,27 +82,27 @@
</data>
<key>model_arabic.zzip</key>
<data>
PGkk/hnDdsQNK616gMZol3iKahE=
LE7J+kCYr31pgEurrgWhAxjekps=
</data>
<key>model_eudl.zzip</key>
<data>
xsGQVL+GpEtw9XB9RbY/NW8LbX4=
sseLd+TsJ7n4vKKW/1BowrPBkA0=
</data>
<key>model_general_blink_ocr.zzip</key>
<data>
fXwvWLy4F0qNFrz/G0w/SCxV6Lw=
H7ynjraTl/uK/InhIYWiG+XT424=
</data>
<key>model_malaysian.zzip</key>
<data>
tN0GDdVK4E1f6q91e/1a6MDUHhs=
FcwEUDBK0E/5lBO92sE3keKlCIA=
</data>
<key>model_micr.zzip</key>
<data>
mhfbPVK7plZx1ku5cEfaZyX3WqQ=
EIODraO5FsHrJYmv/Dqo0/RPjys=
</data>
<key>model_mrtd.zzip</key>
<data>
/aca55QZ17rpW/Io3fanTB9oGE8=
FiMuGG4UyKD/UgPJiuduhpMnFFE=
</data>
<key>torchoff.png</key>
<data>
Expand Down Expand Up @@ -352,66 +352,66 @@
<dict>
<key>hash</key>
<data>
PGkk/hnDdsQNK616gMZol3iKahE=
LE7J+kCYr31pgEurrgWhAxjekps=
</data>
<key>hash2</key>
<data>
quOlwBqiIFMHW7EyBAKzmvPJWrjdGRmB9TBSinaWn04=
w/ScB5jSCQHaT4gWSE4friKP3wZIdeNcfDlgW+rvSP8=
</data>
</dict>
<key>model_eudl.zzip</key>
<dict>
<key>hash</key>
<data>
xsGQVL+GpEtw9XB9RbY/NW8LbX4=
sseLd+TsJ7n4vKKW/1BowrPBkA0=
</data>
<key>hash2</key>
<data>
OB0DqWrHuFMdKGO2WE+UMAhdIvcSiJaebCgK5eDf9v0=
qhDeG0DhzrA9UVqdWyjcycWBS8Zt5lYRWH8J9eKsahA=
</data>
</dict>
<key>model_general_blink_ocr.zzip</key>
<dict>
<key>hash</key>
<data>
fXwvWLy4F0qNFrz/G0w/SCxV6Lw=
H7ynjraTl/uK/InhIYWiG+XT424=
</data>
<key>hash2</key>
<data>
Qaie48EHp7yaS9WaszeUaQl9tTdxwTqHxsP2XluPEpU=
1z7xR1TK3tnXttXixtnJhY0HJzZuEzdou2P3QpOvdIk=
</data>
</dict>
<key>model_malaysian.zzip</key>
<dict>
<key>hash</key>
<data>
tN0GDdVK4E1f6q91e/1a6MDUHhs=
FcwEUDBK0E/5lBO92sE3keKlCIA=
</data>
<key>hash2</key>
<data>
e94MRkfGCIMJV27SqXwY57ODMhHyjG7m6KyRzTL7cK8=
Ol/QVHLlK4fOpSbabdVheJ6nPAXoBX8TUe0TWcAiIVI=
</data>
</dict>
<key>model_micr.zzip</key>
<dict>
<key>hash</key>
<data>
mhfbPVK7plZx1ku5cEfaZyX3WqQ=
EIODraO5FsHrJYmv/Dqo0/RPjys=
</data>
<key>hash2</key>
<data>
cLJOZbax1XNIb/AJ4PyEe/yMNBchh1X/wuduaSXHHLY=
I5eblIw+oZZuya3NXzckgpyehndRFfbtyAK2GgBTCHI=
</data>
</dict>
<key>model_mrtd.zzip</key>
<dict>
<key>hash</key>
<data>
/aca55QZ17rpW/Io3fanTB9oGE8=
FiMuGG4UyKD/UgPJiuduhpMnFFE=
</data>
<key>hash2</key>
<data>
t+uq6PS0REEXy5dtZGgQWFOVwGWHQMArtnE7dCAveXk=
XcSwQlWiZ52Kyocl/zXQnlCwx/CbZ/pIGLcgfD+3c24=
</data>
</dict>
<key>torchoff.png</key>
Expand Down
Binary file modified MicroBlink.bundle/model_arabic.zzip
Binary file not shown.
Binary file modified MicroBlink.bundle/model_eudl.zzip
Binary file not shown.
Binary file modified MicroBlink.bundle/model_general_blink_ocr.zzip
Binary file not shown.
Binary file modified MicroBlink.bundle/model_malaysian.zzip
Binary file not shown.
Binary file modified MicroBlink.bundle/model_micr.zzip
Binary file not shown.
Binary file modified MicroBlink.bundle/model_mrtd.zzip
Binary file not shown.
15 changes: 15 additions & 0 deletions MicroBlink.framework/Headers/PPBlinkIDRecognizers.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@
#import "PPEudlRecognizerSettings.h"
#import "PPEudlRecognizerResult.h"

#import "PPEgyptIDFrontRecognizerSettings.h"
#import "PPEgyptIDFrontRecognizerResult.h"

// Hong Kong
#import "PPHongKongIDFrontRecognizerSettings.h"
#import "PPHongKongIDFrontRecognizerResult.h"
Expand All @@ -71,6 +74,14 @@
#import "PPGermanIDCombinedRecognizerSettings.h"
#import "PPGermanIDCombinedRecognizerResult.h"

//Jordan
#import "PPJordanIDFrontRecognizerSettings.h"
#import "PPJordanIDFrontRecognizerResult.h"
#import "PPJordanIDBackRecognizerSettings.h"
#import "PPJordanIDBackRecognizerResult.h"
#import "PPJordanIDCombinedRecognizerSettings.h"
#import "PPJordanIDCombinedRecognizerResult.h"

// Malaysian immigration IDs (iKad)
#import "PPiKadRecognizerSettings.h"
#import "PPiKadRecognizerResult.h"
Expand All @@ -87,6 +98,10 @@
#import "PPMyTenteraRecognizerSettings.h"
#import "PPMyTenteraRecognizerResult.h"

// Malaysian DLs
#import "PPMalaysianDLFrontRecognizerSettings.h"
#import "PPMalaysianDLFrontRecognizerResult.h"

// MRTD
#import "PPMrtdRecognizerSettings.h"
#import "PPMrtdRecognizerResult.h"
Expand Down
5 changes: 5 additions & 0 deletions MicroBlink.framework/Headers/PPCoordinatorDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@

@optional

/**
* Called when coordinator has released all resources and has finished deallocating
*/
- (void)coordinatorDidDealloc;

/**
* Called when the recognition of a current image is initiated
*/
Expand Down
26 changes: 26 additions & 0 deletions MicroBlink.framework/Headers/PPEgyptIDFrontRecognizerResult.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
//
// PPEgyptIDFrontRecognizerResult.h
// MicroBlinkDev
//
// Created by Dino Gustin on 27/03/2018.
//

#import "PPDetectorRecognizerResult.h"

/**
* Class representing values obtained when scanning front side of Egypt ID
*/
PP_CLASS_AVAILABLE_IOS(6.0)
@interface PPEgyptIDFrontRecognizerResult : PPDetectorRecognizerResult

/**
* The National Number of the Egypt ID owner.
*/
@property (nonatomic, readonly, nullable) NSString *nationalNumber;

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

@end
63 changes: 63 additions & 0 deletions MicroBlink.framework/Headers/PPEgyptIDFrontRecognizerSettings.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
//
// PPEgyptIDFrontRecognizerSettings.h
// MicroBlinkDev
//
// Created by Dino Gustin on 27/03/2018.
//

#import "PPRecognizerSettings.h"

/**
* Settings class for configuring Egypt ID Front Recognizer.
*
* Egypt ID Front recognizer is used for scanning front side of Egypt ID.
*/
PP_CLASS_AVAILABLE_IOS(6.0)
@interface PPEgyptIDFrontRecognizerSettings : PPRecognizerSettings

/**
* Name of the image sent to didOutputMetadata method of scanDelegate object that contains full document.
* This image will be sent to scan delegate during recognition process if displaying of full document image
* is enabled via displayFullDocumentImage property and receiving of dewarpedImage in MetadataSettings is enabled.
*/
+ (NSString *)FULL_DOCUMENT_IMAGE;

/**
* Name of the image sent to didOutputMetadata method of scanDelegate object that contains face.
* This image will be sent to scan delegate during recognition process if displaying of face image
* is enabled via displayFaceImage property and receiving of dewarpedImage in MetadataSettings is enabled.
*/
+ (NSString *)ID_FACE;

/**
* Defines if owner's national number should be extracted from Egypt ID
*
* Default: YES
*/
@property (nonatomic, assign) BOOL extractNationalNumber;

/**
* Sets whether full document image from Egypt ID should be sent to didOutputMetadata method of scanDelegate object.
* If you want to recieve this image, be sure to enable dewarpedImage in MetadataSettings.
*
* Default: NO
*/
@property (nonatomic) BOOL displayFullDocumentImage;

/**
* Sets whether face image from Egypt ID should be sent to didOutputMetadata method of scanDelegate object.
* If you want to recieve this image, be sure to enable dewarpedImage in MetadataSettings.
*
* Default: NO
*/
@property (nonatomic) BOOL displayFaceImage;


/**
* Defines if glare detection should be turned on/off for front side of Egypt ID.
*
* Default: YES
*/
@property (nonatomic, assign) BOOL detectGlare;

@end
16 changes: 16 additions & 0 deletions MicroBlink.framework/Headers/PPJordanIDBackRecognizerResult.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//
// PPJordanIDBackRecognizerResult.h
// MicroBlinkDev
//
// Created by Dino Gustin on 23/03/2018.
//

#import "PPMrtdRecognizerResult.h"

/**
* Class representing values obtained when scanning back side of Jordan ID
*/
PP_CLASS_AVAILABLE_IOS(6.0)
@interface PPJordanIDBackRecognizerResult : PPMrtdRecognizerResult

@end
41 changes: 41 additions & 0 deletions MicroBlink.framework/Headers/PPJordanIDBackRecognizerSettings.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
//
// PPJordanIDBackRecognizerSettings.h
// MicroBlinkDev
//
// Created by Dino Gustin on 23/03/2018.
//

#import "PPRecognizerSettings.h"

/**
* Settings class for configuring Jordan ID Back Recognizer.
*
* Jordan ID Back recognizer is used for scanning back side of Jordan ID.
*/
PP_CLASS_AVAILABLE_IOS(6.0)
@interface PPJordanIDBackRecognizerSettings : PPRecognizerSettings

/**
* Name of the image sent to didOutputMetadata method of scanDelegate object that contains full document.
* This image will be sent to scan delegate during recognition process if displaying of full document image
* is enabled via displayFullDocumentImage property and receiving of dewarpedImage in MetadataSettings is enabled.
*/
+ (NSString *)FULL_DOCUMENT_IMAGE;

/**
* Sets whether full document image from Jordan ID should be sent to didOutputMetadata method of scanDelegate object.
* If you want to recieve this image, be sure to enable dewarpedImage in MetadataSettings.
*
* Default: NO
*/
@property (nonatomic) BOOL displayFullDocumentImage;


/**
* Defines if glare detection should be turned on/off for back side of Jordan ID.
*
* Default: YES
*/
@property (nonatomic, assign) BOOL detectGlare;

@end
Loading

0 comments on commit 2d25a63

Please sign in to comment.