-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #131 from BlinkID/feature/v2.15.0
Feature/v2.15.0
- Loading branch information
Showing
24 changed files
with
483 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
MicroBlink.framework/Headers/PPMyKadBackRecognizerResult.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
// | ||
// PPMyKadBackRecognizerResult.h | ||
// MicroBlinkDev | ||
// | ||
// Created by Jura Skrlec on 21/12/2017. | ||
// | ||
|
||
#import "PPDetectorRecognizerResult.h" | ||
|
||
/** | ||
* Result of scanning MyKad Back (Malaysian ID document). | ||
*/ | ||
PP_CLASS_AVAILABLE_IOS(6.0) | ||
@interface PPMyKadBackRecognizerResult : PPDetectorRecognizerResult | ||
|
||
/** | ||
* NRIC number (National Registration Identity Card Number) | ||
* | ||
* @see https://en.wikipedia.org/wiki/Malaysian_identity_card#Structure_of_the_National_Registration_Identity_Card_Number_.28NRIC.29 | ||
*/ | ||
@property (nonatomic, readonly, nullable) NSString *nricNumber; | ||
|
||
/** | ||
* Extended NRIC number (National Registration Identity Card Number) | ||
* | ||
* @see https://en.wikipedia.org/wiki/Malaysian_identity_card#Structure_of_the_National_Registration_Identity_Card_Number_.28NRIC.29 | ||
*/ | ||
@property (nonatomic, readonly, nullable) NSString *extendedNricNumber; | ||
|
||
/** | ||
* Owner birth date string, as written on the document (YYMMDD format) | ||
*/ | ||
@property (nonatomic, readonly, nullable) NSString *rawOwnerBirthDate; | ||
|
||
/** | ||
* Owner birth date converted in NSDate object | ||
*/ | ||
@property (nonatomic, readonly, nullable) NSDate *ownerBirthDate; | ||
|
||
/** | ||
* Owner sex (M for male, F for female) | ||
*/ | ||
@property (nonatomic, readonly, nullable) NSString *ownerSex; | ||
|
||
@end |
68 changes: 68 additions & 0 deletions
68
MicroBlink.framework/Headers/PPMyKadBackRecognizerSettings.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
// | ||
// PPMyKadBackRecognizerSettings.h | ||
// MicroBlinkDev | ||
// | ||
// Created by Jura Skrlec on 21/12/2017. | ||
// | ||
|
||
#import "PPRecognizerSettings.h" | ||
|
||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
/** | ||
* Settings class for configuring Malaysian MyKad Back Recognizer. | ||
* | ||
* Malaysian MyKad Back recognizer is used for scanning front side of Malaysian MyKad Back. | ||
*/ | ||
PP_CLASS_AVAILABLE_IOS(6.0) | ||
|
||
@interface PPMyKadBackRecognizerSettings : PPRecognizerSettings | ||
|
||
/** | ||
* Name of the image sent to didOutputMetadata method of scanDelegate object that contains signature. | ||
* This image will be sent to scan delegate during recognition process if displaying of face image | ||
* is enabled via displaySignatureImage property and receiving of dewarpedImage in MetadataSettings is enabled. | ||
*/ | ||
+ (NSString *)ID_SIGNATURE; | ||
|
||
/** | ||
* 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 face image from ID card 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, assign) BOOL displaySignatureImage; | ||
|
||
/** | ||
* Sets whether full document image of ID card 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, assign) BOOL displayFullDocumentImage; | ||
|
||
/** | ||
* Defines if glare detection should be turned on/off for Malaysian MyKad Back. | ||
* | ||
* Default: YES | ||
*/ | ||
@property (nonatomic, assign) BOOL detectGlare; | ||
|
||
/** | ||
* Property got setting DPI for full document images | ||
* | ||
* Default: 250.0 | ||
*/ | ||
@property (nonatomic, assign) NSUInteger fullDocumentImageDPI; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
79 changes: 79 additions & 0 deletions
79
MicroBlink.framework/Headers/PPMyTenteraRecognizerResult.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
// | ||
// PPMyTenteraRecognizerResult.h | ||
// MicroBlinkDev | ||
// | ||
// Created by Jura Skrlec on 21/12/2017. | ||
// | ||
|
||
#import "PPDetectorRecognizerResult.h" | ||
|
||
/** | ||
* Class representing values obtained when scanning front side of MyTentera | ||
*/ | ||
PP_CLASS_AVAILABLE_IOS(6.0) | ||
|
||
@interface PPMyTenteraRecognizerResult : PPDetectorRecognizerResult | ||
|
||
/** | ||
* NRIC number (National Registration Identity Card Number) | ||
* | ||
* @see https://en.wikipedia.org/wiki/Malaysian_identity_card#Structure_of_the_National_Registration_Identity_Card_Number_.28NRIC.29 | ||
*/ | ||
@property (nonatomic, readonly, nullable) NSString *nricNumber; | ||
|
||
/** | ||
* Owner army number | ||
*/ | ||
@property (nonatomic, readonly, nullable) NSString *armyNumber; | ||
|
||
/** | ||
* Owner address | ||
*/ | ||
@property (nonatomic, readonly, nullable) NSString *ownerAddress; | ||
|
||
/** | ||
* Owner address city. Determined from owner address. | ||
*/ | ||
@property (nonatomic, readonly, nullable) NSString *ownerAddressCity; | ||
|
||
/** | ||
* Owner address state. Determined from owner address. | ||
*/ | ||
@property (nonatomic, readonly, nullable) NSString *ownerAddressState; | ||
|
||
/** | ||
* Owner address Zip code. Determined from owner address. | ||
*/ | ||
@property (nonatomic, readonly, nullable) NSString *ownerAddressZipCode; | ||
|
||
/** | ||
* Owner street. Determined from owner address. | ||
*/ | ||
@property (nonatomic, readonly, nullable) NSString *ownerAddressStreet; | ||
|
||
/** | ||
* Owner birth date string, as written on the document (YYMMDD format) | ||
*/ | ||
@property (nonatomic, readonly, nullable) NSString *rawOwnerBirthDate; | ||
|
||
/** | ||
* Owner birth date converted in NSDate object | ||
*/ | ||
@property (nonatomic, readonly, nullable) NSDate *ownerBirthDate; | ||
|
||
/** | ||
* Owner full name | ||
*/ | ||
@property (nonatomic, readonly, nullable) NSString *ownerFullName; | ||
|
||
/** | ||
* Owner religion if written on MyKad | ||
*/ | ||
@property (nonatomic, readonly, nullable) NSString *ownerReligion; | ||
|
||
/** | ||
* Owner sex (M for male, F for female) | ||
*/ | ||
@property (nonatomic, readonly, nullable) NSString *ownerSex; | ||
|
||
@end |
Oops, something went wrong.