diff --git a/CHANGELOG.md b/CHANGELOG.md index 125cf9fee..40a4c76e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +## 2.14.0 + +- Updates and additions + - added support for reading back side of new Australian Driver's licence for state Victoria - use `PPAustraliaDLBackRecognizerSettings` and `PPAustraliaDLBackRecognizerResult` + - added support for reading front side of Indonesian ID - use `PPIndonesianIDFrontRecognizerSettings` and `PPIndonesianIDFrontRecognizerSettings` + - added support for Malaysian visa with document code TS - use `PPMrtdRecognizerSettings` and `PPMrtdRecognizerResult` + - added support for setting DPI for full document images returned by `PPMrtdRecognizerSettings`, `PPAustraliaDLBackRecognizerSettings`, `PPAustraliaDLFrontRecognizerSettings` and `PPEudlRecognizerSettings`: + - use `fullDocumentImageDPI` on the corresponding recognizer settings + +- Minor API changes + - removed `imageDPI` property on `PPTemplatingRecognizerSettings` + +- Improvements in ID scanning performance: + - improved reading of Malaysian MyKad address + ## 2.13.0 - Updates and additions diff --git a/MicroBlink.bundle/Info.plist b/MicroBlink.bundle/Info.plist index 9101572f1..e81f7cb56 100644 Binary files a/MicroBlink.bundle/Info.plist and b/MicroBlink.bundle/Info.plist differ diff --git a/MicroBlink.bundle/malaysian_confusions.zzip b/MicroBlink.bundle/malaysian_confusions.zzip new file mode 100644 index 000000000..ce615b2d5 Binary files /dev/null and b/MicroBlink.bundle/malaysian_confusions.zzip differ diff --git a/MicroBlink.bundle/malaysian_state_dictionary.zzip b/MicroBlink.bundle/malaysian_state_dictionary.zzip new file mode 100644 index 000000000..7f91bb67c Binary files /dev/null and b/MicroBlink.bundle/malaysian_state_dictionary.zzip differ diff --git a/MicroBlink.framework/Headers/PPAusIDBackRecognizerSettings.h b/MicroBlink.framework/Headers/PPAusIDBackRecognizerSettings.h index a2494e2f7..1242755a7 100644 --- a/MicroBlink.framework/Headers/PPAusIDBackRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPAusIDBackRecognizerSettings.h @@ -31,6 +31,34 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic) BOOL displayFullDocumentImage; +/** + * Defines if issuing authority should be extracted from Austrian ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractIssuingAuthority; + +/** + * Defines if owner's name should be extracted from Austrian ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractPrincipalResidence; + +/** + * Defines ifdate of issue should be extracted from Austrian ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractDateOfIssue; + +/** + * Defines if owner's height should be extracted from Austrian ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractHeight; + /** * Defines if glare detection should be turned on/off for front side of Austrian ID * diff --git a/MicroBlink.framework/Headers/PPAusIDFrontRecognizerSettings.h b/MicroBlink.framework/Headers/PPAusIDFrontRecognizerSettings.h index 2bd363302..3da9052fc 100644 --- a/MicroBlink.framework/Headers/PPAusIDFrontRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPAusIDFrontRecognizerSettings.h @@ -37,6 +37,35 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ + (NSString *)FULL_DOCUMENT_IMAGE; +/** + * Defines if sex of Austrian ID owner should be extracted + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractSex; + +/** + * Defines if citizenship of Austrian ID owner should be extracted + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractLastName; + +/** + * Defines if date of birth of Austrian ID owner should be extracted + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractFirstName; + + +/** + * Defines if date of expiry should be extracted from Austrian ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractDateOfBirth; + /** * Sets whether face photo 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. diff --git a/MicroBlink.framework/Headers/PPAustraliaDLBackRecognizerResult.h b/MicroBlink.framework/Headers/PPAustraliaDLBackRecognizerResult.h new file mode 100644 index 000000000..da5cc6689 --- /dev/null +++ b/MicroBlink.framework/Headers/PPAustraliaDLBackRecognizerResult.h @@ -0,0 +1,41 @@ +// +// PPAustraliaDLBackRecognizerResult.h +// MicroBlinkDev +// +// Created by Jura Skrlec on 30/11/2017. +// + +#import "PPDetectorRecognizerResult.h" + +/** + * Class representing values obtained when scanning back side of Australian DL + */ +PP_CLASS_AVAILABLE_IOS(6.0) +@interface PPAustraliaDLBackRecognizerResult : PPDetectorRecognizerResult + +/** + * The last name of the Australian DL owner. + */ +@property (nonatomic, readonly, nullable) NSString *lastName; + +/** + * The licence number of the Australian DL owner. + */ +@property (nonatomic, readonly, nullable) NSString *licenceNumber; + +/** + * The address of the Australian DL owner. + */ +@property (nonatomic, readonly, nullable) NSString *address; + +/** + * The document date of expiry of the Australian DL in DD.MM.yyyy format. + */ +@property (nonatomic, readonly, nullable) NSString *rawDocumentDateOfExpiry; + +/** + * The document date of expiry of the Australian DL + */ +@property (nonatomic, readonly, nullable) NSDate *documentDateOfExpiry; + +@end diff --git a/MicroBlink.framework/Headers/PPAustraliaDLBackRecognizerSettings.h b/MicroBlink.framework/Headers/PPAustraliaDLBackRecognizerSettings.h new file mode 100644 index 000000000..e4c716c2b --- /dev/null +++ b/MicroBlink.framework/Headers/PPAustraliaDLBackRecognizerSettings.h @@ -0,0 +1,67 @@ +// +// PPAustraliaDLBackRecognizerSettings.h +// MicroBlinkDev +// +// Created by Jura Skrlec on 30/11/2017. +// + +#import "PPRecognizerSettings.h" + + +NS_ASSUME_NONNULL_BEGIN + +/** + * Settings class for configuring Asutralian Front DL Recognizer. + * + * Australian Back ID recognizer is used for scanning front side of Australian DL. It always extracts + * identity card number, first and last name of ID holder while extracting other elements is optional. + */ +PP_CLASS_AVAILABLE_IOS(6.0) +@interface PPAustraliaDLBackRecognizerSettings : 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; + +/** + * Defines if last name of Australian DL owner should be extracted + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractLastName; + +/** + * Defines if sex of Australian DL owner should be extracted + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractAddress; + +/** + * Defines if date of expiry should be extracted from Australian DL + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractDateOfExpiry; + +/** + * 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; + +/** + * Property got setting DPI for full document images + * + * Default: 250.0 + */ +@property (nonatomic, assign) NSUInteger fullDocumentImageDPI; + +@end + +NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPAustraliaDLFrontRecognizerSettings.h b/MicroBlink.framework/Headers/PPAustraliaDLFrontRecognizerSettings.h index c69af400e..108f9d215 100644 --- a/MicroBlink.framework/Headers/PPAustraliaDLFrontRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPAustraliaDLFrontRecognizerSettings.h @@ -93,6 +93,13 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) BOOL displayFullDocumentImage; +/** + * Property got setting DPI for full document images + * + * Default: 250.0 + */ +@property (nonatomic, assign) NSUInteger fullDocumentImageDPI; + @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPBlinkIDRecognizers.h b/MicroBlink.framework/Headers/PPBlinkIDRecognizers.h index d2d8f033f..c2fa80c21 100644 --- a/MicroBlink.framework/Headers/PPBlinkIDRecognizers.h +++ b/MicroBlink.framework/Headers/PPBlinkIDRecognizers.h @@ -22,6 +22,8 @@ // Australia #import "PPAustraliaDLFrontRecognizerSettings.h" #import "PPAustraliaDLFrontRecognizerResult.h" +#import "PPAustraliaDLBackRecognizerSettings.h" +#import "PPAustraliaDLBackRecognizerResult.h" // Croatia #import "PPCroIDBackRecognizerSettings.h" @@ -74,6 +76,10 @@ #import "PPMrtdCombinedRecognizerResult.h" #import "PPMrzFilter.h" +// Indonesia +#import "PPIndonesianIDFrontRecognizerSettings.h" +#import "PPIndonesianIDFrontRecognizerResult.h" + // Poland #import "PPPolishIDFrontRecognizerSettings.h" #import "PPPolishIDFrontRecognizerResult.h" diff --git a/MicroBlink.framework/Headers/PPCzIDBackRecognizerSettings.h b/MicroBlink.framework/Headers/PPCzIDBackRecognizerSettings.h index 1834df803..1c6b87ab1 100644 --- a/MicroBlink.framework/Headers/PPCzIDBackRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPCzIDBackRecognizerSettings.h @@ -31,6 +31,27 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic) BOOL displayFullDocumentImage; +/** + * Defines if citizenship of Czech ID authority should be extracted + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractAuthority; + +/** + * Defines if address of Czech ID owner should be extracted + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractAddress; + +/** + * Defines if personal number should be extracted from Czech ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractPersonalNumber; + /** * Defines if glare detection should be turned on/off for back side of Czech IDs. * diff --git a/MicroBlink.framework/Headers/PPCzIDFrontRecognizerSettings.h b/MicroBlink.framework/Headers/PPCzIDFrontRecognizerSettings.h index fb46252d4..d7636a4e2 100644 --- a/MicroBlink.framework/Headers/PPCzIDFrontRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPCzIDFrontRecognizerSettings.h @@ -37,6 +37,48 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ + (NSString *)FULL_DOCUMENT_IMAGE; +/** + * Defines if sex of Czech ID owner should be extracted + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractSex; + +/** + * Defines if citizenship of Czech ID owner should be extracted + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractLastName; + +/** + * Defines if date of birth of Czech ID owner should be extracted + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractFirstName; + +/** + * Defines if date of expiry should be extracted from Czech ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractDateOfExpiry; + +/** + * Defines if date of issue should be extracted from Czech ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractDateOfIssue; + +/** + * Defines if date of expiry should be extracted from Czech ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractDateOfBirth; + /** * Sets whether face photo 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. diff --git a/MicroBlink.framework/Headers/PPEudlRecognizerSettings.h b/MicroBlink.framework/Headers/PPEudlRecognizerSettings.h index 9e794fecf..1693890fc 100644 --- a/MicroBlink.framework/Headers/PPEudlRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPEudlRecognizerSettings.h @@ -89,6 +89,13 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) PPEudlCountry country; +/** + * Property got setting DPI for full document images + * + * Default: 250.0 + */ +@property (nonatomic, assign) NSUInteger fullDocumentImageDPI; + @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPGermanOldIDRecognizerSettings.h b/MicroBlink.framework/Headers/PPGermanOldIDRecognizerSettings.h index f945da44a..ef3ddd49a 100644 --- a/MicroBlink.framework/Headers/PPGermanOldIDRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPGermanOldIDRecognizerSettings.h @@ -39,6 +39,13 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ + (NSString *)FULL_DOCUMENT_IMAGE; +/** + * Defines if owner's place of birth should be extracted from German ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractPlaceOfBirth; + /** * 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. diff --git a/MicroBlink.framework/Headers/PPIndonesianIDFrontRecognizerResult.h b/MicroBlink.framework/Headers/PPIndonesianIDFrontRecognizerResult.h new file mode 100644 index 000000000..176a4aa02 --- /dev/null +++ b/MicroBlink.framework/Headers/PPIndonesianIDFrontRecognizerResult.h @@ -0,0 +1,121 @@ +// +// PPIndonesianIDFrontRecognizerResult.h +// MicroBlinkDev +// +// Created by Jura Skrlec on 30/11/2017. +// + +#import "PPDetectorRecognizerResult.h" + +/** + * Class representing values obtained when scanning front side of Indonesian ID + */ +PP_CLASS_AVAILABLE_IOS(6.0) +@interface PPIndonesianIDFrontRecognizerResult : PPDetectorRecognizerResult + +/** + * The province of the Indonesian ID owner. + */ +@property (nonatomic, readonly, nullable) NSString *province; + +/** + * The city of the Indonesian ID owner. + */ +@property (nonatomic, readonly, nullable) NSString *city; + +/** + * The document number of the Indonesian ID owner. + */ +@property (nonatomic, readonly, nullable) NSString *documentNumber; + +/** + * The name of the Indonesian ID owner. + */ +@property (nonatomic, readonly, nullable) NSString *name; + +/** + * The place of birth of the Indonesian ID owner. + */ +@property (nonatomic, readonly, nullable) NSString *placeOfBirth; + +/** + * The date of birth of Indonesian ID owner in DD.MM.yyyy format. + */ +@property (nonatomic, readonly, nullable) NSString *rawDateOfBirth; + +/** + * The date of birth of Indonesian ID owner + */ +@property (nonatomic, readonly, nullable) NSDate *dateOfBirth; + +/** + * The sex of the Indonesian ID owner. + */ +@property (nonatomic, readonly, nullable) NSString *sex; + +/** + * The blood type of the Indonesian ID owner. + */ +@property (nonatomic, readonly, nullable) NSString *bloodType; + +/** + * The address of the Indonesian ID owner. + */ +@property (nonatomic, readonly, nullable) NSString *address; + +/** + * The rt of the Indonesian ID owner. + */ +@property (nonatomic, readonly, nullable) NSString *rt; + +/** + * The rw of the Indonesian ID owner. + */ +@property (nonatomic, readonly, nullable) NSString *rw; + +/** + * The kel desa of the Indonesian ID owner. + */ +@property (nonatomic, readonly, nullable) NSString *kelDesa; + +/** + * The district of the Indonesian ID owner. + */ +@property (nonatomic, readonly, nullable) NSString *district; + +/** + * The religion of the Indonesian ID owner. + */ +@property (nonatomic, readonly, nullable) NSString *religion; + +/** + * The marriage status of the Indonesian ID owner. + */ +@property (nonatomic, readonly, nullable) NSString *marriageStatus; + +/** + * The occupation of the Indonesian ID owner. + */ +@property (nonatomic, readonly, nullable) NSString *occupation; + +/** + * The occupation of the Indonesian ID owner. + */ +@property (nonatomic, readonly, nullable) NSString *citizenship; + +/** + * The document date of expiry of the Indonesian ID in DD.MM.yyyy format. + */ +@property (nonatomic, readonly, nullable) NSString *rawDocumentDateOfExpiry; + +/** + * The document date of expiry of the Indonesian ID + */ +@property (nonatomic, readonly, nullable) NSDate *documentDateOfExpiry; + +/** + * Check if date of expiry is permanent on the Indonesian ID. + */ +@property (nonatomic, readonly) BOOL isDocumentDateOfExpiryPermanent; + +@end diff --git a/MicroBlink.framework/Headers/PPIndonesianIDFrontRecognizerSettings.h b/MicroBlink.framework/Headers/PPIndonesianIDFrontRecognizerSettings.h new file mode 100644 index 000000000..f1eb40608 --- /dev/null +++ b/MicroBlink.framework/Headers/PPIndonesianIDFrontRecognizerSettings.h @@ -0,0 +1,165 @@ +// +// PPIndonesianIDFrontRecognizerSettings.h +// MicroBlinkDev +// +// Created by Jura Skrlec on 30/11/2017. +// +#import "PPRecognizerSettings.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * Settings class for configuring Asutralian Front DL Recognizer. + * + * Australian Front ID recognizer is used for scanning front side of Indonesian ID. It always extracts + * identity card number, first and last name of ID holder while extracting other elements is optional. + */ +PP_CLASS_AVAILABLE_IOS(6.0) +@interface PPIndonesianIDFrontRecognizerSettings : PPRecognizerSettings + +/** + * 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; + +/** + * 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; + +/** + * Defines if city of Indonesian ID owner should be extracted + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractCity; + +/** + * Defines if name of Indonesian ID owner should be extracted + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractName; + +/** + * Defines if place of birth of Indonesian ID owner should be extracted + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractPlaceOfBirth; + +/** + * Defines if blood type should be extracted from Indonesian ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractBloodType; + +/** + * Defines if address should be extracted from Indonesian ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractAddress; + +/** + * Defines if rt should be extracted from Indonesian ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractRT; + +/** + * Defines if rw should be extracted from Indonesian ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractRW; + +/** + * Defines if keldesa should be extracted from Indonesian ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractKelDesa; + +/** + * Defines if district should be extracted from Indonesian ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractDistrict; + +/** + * Defines if religion should be extracted from Indonesian ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractReligion; + +/** + * Defines if marital status should be extracted from Indonesian ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractMaritalStatus; + +/** + * Defines if work should be extracted from Indonesian ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractWork; + +/** + * Defines if citizenship should be extracted from Indonesian ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractCitizenship; + +/** + * Defines if valid until should be extracted from Indonesian ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractValidUntil; + +/** + * 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 displayFaceImage; + +/** + * Sets whether signature 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; + +@end + +NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPMrtdRecognizerSettings.h b/MicroBlink.framework/Headers/PPMrtdRecognizerSettings.h index 198cc7101..257f1e596 100644 --- a/MicroBlink.framework/Headers/PPMrtdRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPMrtdRecognizerSettings.h @@ -94,6 +94,13 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, weak) id mrzFilter; +/** + * Property got setting DPI for full document images + * + * Default: 250.0 + */ +@property (nonatomic, assign) NSUInteger fullDocumentImageDPI; + @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPTemplatingRecognizerSettings.h b/MicroBlink.framework/Headers/PPTemplatingRecognizerSettings.h index f2737f7f3..3d78918db 100644 --- a/MicroBlink.framework/Headers/PPTemplatingRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPTemplatingRecognizerSettings.h @@ -49,13 +49,6 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) BOOL detectGlare; -/** - * Set Image DPI that will return Image in DPI - * - * Default: 250.0 - */ -@property (nonatomic, assign) CGFloat imageDPI; - @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPUsdlRecognizerResult.h b/MicroBlink.framework/Headers/PPUsdlRecognizerResult.h index ae22aa83d..0184be387 100644 --- a/MicroBlink.framework/Headers/PPUsdlRecognizerResult.h +++ b/MicroBlink.framework/Headers/PPUsdlRecognizerResult.h @@ -662,7 +662,7 @@ PP_EXTERN NSString *_Nonnull const kPPDocumentIssueDate; that are generally applicable to commercial motor vehicles. If the vehicle is not a commercial vehicle, "NONE" is to be entered. */ -FOUNDATION_EXPORT NSString *_Nonnull const kPPFederalCommercialVehicleCodes; +PP_EXTERN NSString *_Nonnull const kPPFederalCommercialVehicleCodes; /** Optional on all AAMVA barcodes. diff --git a/MicroBlink.framework/Info.plist b/MicroBlink.framework/Info.plist index c57374c07..e81a60b00 100644 Binary files a/MicroBlink.framework/Info.plist and b/MicroBlink.framework/Info.plist differ diff --git a/MicroBlink.framework/MicroBlink b/MicroBlink.framework/MicroBlink index 124d2eb10..b0c28a628 100755 --- a/MicroBlink.framework/MicroBlink +++ b/MicroBlink.framework/MicroBlink @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:749805716efb09cc19c21a7257fa0fd9df44f99eb29e7e51bc78eb37b2e6eba2 -size 92468592 +oid sha256:92f44eea48e2bf79a35643f4a4035fd15216f24e52875691a293a1363477881c +size 93834768 diff --git a/MicroBlink.framework/_CodeSignature/CodeResources b/MicroBlink.framework/_CodeSignature/CodeResources index 945898c1a..b6a6ab3e3 100644 --- a/MicroBlink.framework/_CodeSignature/CodeResources +++ b/MicroBlink.framework/_CodeSignature/CodeResources @@ -18,7 +18,7 @@ Headers/PPAusIDBackRecognizerSettings.h - +doDA7MF/lcmpkaYCG0T+yTn6VA= + 2gEhn4SYOcYmS4ti3uwmScBc6I0= Headers/PPAusIDCombinedRecognizerResult.h @@ -34,7 +34,7 @@ Headers/PPAusIDFrontRecognizerSettings.h - PaJ3Rxcf/oIrsBTWZSygQCzLYs4= + i+36H918UpmHFlB//plvOWP0cS0= Headers/PPAusPassportRecognizerResult.h @@ -44,13 +44,21 @@ SZ6beppb1qq4QyVK7Fb90w1HXNU= + Headers/PPAustraliaDLBackRecognizerResult.h + + TMyF1UZ8KJxO9CWkab4fXRQe2UU= + + Headers/PPAustraliaDLBackRecognizerSettings.h + + 8DQ/4B0VzvBOPlcVOu1qqpMvTaA= + Headers/PPAustraliaDLFrontRecognizerResult.h HNTG+V/WsN/aBcTxpCaJBMsDHDI= Headers/PPAustraliaDLFrontRecognizerSettings.h - 16pwdlaUQPrM0eji/JxjVuDUemQ= + Q5/e8h+a8kfppnGwjNi+OeLKAHc= Headers/PPAztecRecognizerResult.h @@ -106,7 +114,7 @@ Headers/PPBlinkIDRecognizers.h - 8kV49PUyleXQBE51uvZN6HYxcqQ= + Z1b7jmGiVEE3vX7u8P865JyjGrU= Headers/PPBlinkInputRecognizerResult.h @@ -182,7 +190,7 @@ Headers/PPCzIDBackRecognizerSettings.h - Q1aFWOLanlqsIvjoNCe6MVpxFlo= + s3lhEmY2CGW3/eIlSj7LtOSyUGI= Headers/PPCzIDCombinedRecognizerResult.h @@ -198,7 +206,7 @@ Headers/PPCzIDFrontRecognizerSettings.h - H7KRy0ScGOEhf6VOF1Jy6WA+0pY= + C9kL7MQF5vdgN89th+EjO9sY5Vg= Headers/PPDateOcrParserFactory.h @@ -274,7 +282,7 @@ Headers/PPEudlRecognizerSettings.h - arMNu7FIfO8zPYyh+Uy62+VPFcA= + SaNp0Pdr/4K2BILlqjAf+0SdXeM= Headers/PPFaceDetectorResult.h @@ -326,7 +334,7 @@ Headers/PPGermanOldIDRecognizerSettings.h - rM//RiJYH3jOGi0OTiCw0zHkP3w= + Y1esJ8vhLkiOPXnLj3b5FuHseOw= Headers/PPGermanPassportRecognizerResult.h @@ -360,6 +368,14 @@ ICwsFjaaCRgr8ob0hycy4QkVNF0= + Headers/PPIndonesianIDFrontRecognizerResult.h + + jSJ9Fhk1Un9SA0dG2sUNvnBFJNQ= + + Headers/PPIndonesianIDFrontRecognizerSettings.h + + sdFGTxr0AOS2EO22s2PdUHFwXx0= + Headers/PPLicensePlatesParserFactory.h Zn6RJgB/Sq5ViGSH6SJe1N4jb1w= @@ -434,7 +450,7 @@ Headers/PPMrtdRecognizerSettings.h - ZrABIaIui/Vhalqg4HPZ8S7HWUk= + 9n7AteaSr2+XNdUnpO/HCSmS6Tk= Headers/PPMrtdSpecification.h @@ -770,7 +786,7 @@ Headers/PPTemplatingRecognizerSettings.h - 67T9xXOckQi/pTOmUoXLrAjhnBI= + 3tOoridTBOnhsGjfVD4FUWIt+Xw= Headers/PPTextMetadata.h @@ -798,7 +814,7 @@ Headers/PPUsdlRecognizerResult.h - oZWRdUDZT73X0PJ/kWrKdFjrIHM= + 4WCMFsPUQ4NbDXytFRXFnzPK+JQ= Headers/PPUsdlRecognizerSettings.h @@ -842,7 +858,7 @@ Info.plist - vHFF2YweQYufaEuSTlhHnjUO0l8= + N1ujcMuq6PrgGPN0ZBPlwC/q6/E= Modules/module.modulemap @@ -888,11 +904,11 @@ hash - +doDA7MF/lcmpkaYCG0T+yTn6VA= + 2gEhn4SYOcYmS4ti3uwmScBc6I0= hash2 - MU68O6/vRGmkXoj5rLUjYWboGmnoSrSGpsK04wC+Qhg= + sj0Y1H/X0HgauvLFVLzuUgW40PfNOCKhNkAErij5+/s= Headers/PPAusIDCombinedRecognizerResult.h @@ -932,11 +948,11 @@ hash - PaJ3Rxcf/oIrsBTWZSygQCzLYs4= + i+36H918UpmHFlB//plvOWP0cS0= hash2 - WWRuL9k3nRVxICgLC/5U4PoNHgk87cjjLBlc5nyXevM= + k8NzDVsm7HlawfIvuMRsigsWb5tiEh/hTEcecZChVFM= Headers/PPAusPassportRecognizerResult.h @@ -961,6 +977,28 @@ WkOXXD2bU1YPlSBH5TZZg+axdU7HXJ8ZQJ0mYBXuti0= + Headers/PPAustraliaDLBackRecognizerResult.h + + hash + + TMyF1UZ8KJxO9CWkab4fXRQe2UU= + + hash2 + + ZZs3b16//lWpouNpR2MKZJLJRpl+/4EipK6sPx47mE8= + + + Headers/PPAustraliaDLBackRecognizerSettings.h + + hash + + 8DQ/4B0VzvBOPlcVOu1qqpMvTaA= + + hash2 + + 2aDChnX15ebiphJyOu4R7dKZSy4S3pizoBAWv7M5e1M= + + Headers/PPAustraliaDLFrontRecognizerResult.h hash @@ -976,11 +1014,11 @@ hash - 16pwdlaUQPrM0eji/JxjVuDUemQ= + Q5/e8h+a8kfppnGwjNi+OeLKAHc= hash2 - iVYsp8fsVfu+yM0pC1mZ1EiKv+CgPKSHjUBmPDDXGeQ= + GM1V9QYMkSsAIAt0IUVxndd4bEu8VYKGRAizjkLI7Uw= Headers/PPAztecRecognizerResult.h @@ -1130,11 +1168,11 @@ hash - 8kV49PUyleXQBE51uvZN6HYxcqQ= + Z1b7jmGiVEE3vX7u8P865JyjGrU= hash2 - Qkdt1j+XFnWG/TbY/kJ2c7GaA7YzzQTbqCNh00yoQaI= + CFVZVQ1faqx+m0RHJqFMjY0SlorM8Xknh+hJH/2yW/0= Headers/PPBlinkInputRecognizerResult.h @@ -1339,11 +1377,11 @@ hash - Q1aFWOLanlqsIvjoNCe6MVpxFlo= + s3lhEmY2CGW3/eIlSj7LtOSyUGI= hash2 - g7lK/omvtW9Eeh87eKFV0QeH2NZaFzLkBIAbd5wGSvU= + K6jAazE1zSSM4mwfMUxAcBA8MfxUh/6taGmO5VYMENM= Headers/PPCzIDCombinedRecognizerResult.h @@ -1383,11 +1421,11 @@ hash - H7KRy0ScGOEhf6VOF1Jy6WA+0pY= + C9kL7MQF5vdgN89th+EjO9sY5Vg= hash2 - C9Gy70diqxwlXWFRdC7iChPXkT3hvIFF3Qp9zRe+HgQ= + dc4eZK0zQjd1CaNPDxG9vb991O+HYpY/uCPD0BnSuU0= Headers/PPDateOcrParserFactory.h @@ -1592,11 +1630,11 @@ hash - arMNu7FIfO8zPYyh+Uy62+VPFcA= + SaNp0Pdr/4K2BILlqjAf+0SdXeM= hash2 - wgqgcYMrOr0NEsCDbhlDBS7GEH10cbDvobAg+lopLSE= + vp6MxyLirL1sbZyHaQNpckZWHPASryg9rtBUb3aECYM= Headers/PPFaceDetectorResult.h @@ -1735,11 +1773,11 @@ hash - rM//RiJYH3jOGi0OTiCw0zHkP3w= + Y1esJ8vhLkiOPXnLj3b5FuHseOw= hash2 - NwzwG78piyHlTiid8XdgBy0X/xUwJDg8Eri+O4cOdCg= + hAMCzM6hKS5NUsFMOHdzCyQylJTx63BnQisW1twpOCM= Headers/PPGermanPassportRecognizerResult.h @@ -1830,6 +1868,28 @@ eDlHHM39KWW+JdtwnTsdENN0Fii9TRd4mkHhJU6QINw= + Headers/PPIndonesianIDFrontRecognizerResult.h + + hash + + jSJ9Fhk1Un9SA0dG2sUNvnBFJNQ= + + hash2 + + AC6mhyxiftFDcLvvQDwuSb6clODbRrVvZw9uncqLki4= + + + Headers/PPIndonesianIDFrontRecognizerSettings.h + + hash + + sdFGTxr0AOS2EO22s2PdUHFwXx0= + + hash2 + + rIOwuqZGGaHgQXrp0EJ5jQG6vPC4i85pwsMh5f63W24= + + Headers/PPLicensePlatesParserFactory.h hash @@ -2032,11 +2092,11 @@ hash - ZrABIaIui/Vhalqg4HPZ8S7HWUk= + 9n7AteaSr2+XNdUnpO/HCSmS6Tk= hash2 - 3Jul+4EXTmaD6es5Au0/V3TeF8bdx6OW6h3VWJGUNI4= + hFKH9XgTr3zoUPKNE2yyXy0GtnxGPfcHJfYr8GCXDPg= Headers/PPMrtdSpecification.h @@ -2956,11 +3016,11 @@ hash - 67T9xXOckQi/pTOmUoXLrAjhnBI= + 3tOoridTBOnhsGjfVD4FUWIt+Xw= hash2 - mYSoueHxwCUBjXl61rHVXcp40b6E2wTjp1ZnSJ6ASA8= + VweIkL18AO48qn4v8s2WpbmKFvQAkqbs/W1sPP0x2pM= Headers/PPTextMetadata.h @@ -3033,11 +3093,11 @@ hash - oZWRdUDZT73X0PJ/kWrKdFjrIHM= + 4WCMFsPUQ4NbDXytFRXFnzPK+JQ= hash2 - PxC3q2e7mz/ukDDxCl4sHIdJsFB4y4iJGOSEbekA8dA= + 9ClkOOlIGje5U2oNX30GC0aCQ3OtqECfyIe7+TwNNBo= Headers/PPUsdlRecognizerSettings.h diff --git a/PPBlinkID.podspec b/PPBlinkID.podspec index f6be2ee7a..b2403c072 100644 --- a/PPBlinkID.podspec +++ b/PPBlinkID.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "PPBlinkID" - s.version = "2.13.0" + s.version = "2.14.0" s.summary = "A delightful component for barcode scanning" s.homepage = "http://microblink.com" @@ -32,7 +32,7 @@ Pod::Spec.new do |s| s.source = { :git => 'https://github.com/BlinkID/blinkid-ios.git', - :tag => 'v2.13.0' + :tag => 'v2.14.0' } s.platform = :ios diff --git a/README.md b/README.md index eb1c65b51..f0bc29a31 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ pod try PPBlinkID platform :ios, '8.0' target 'TargetName' do - pod 'PPBlinkID', '~> 2.13.0' + pod 'PPBlinkID', '~> 2.14.0' end ``` diff --git a/Release notes.md b/Release notes.md index 125cf9fee..40a4c76e0 100644 --- a/Release notes.md +++ b/Release notes.md @@ -1,3 +1,18 @@ +## 2.14.0 + +- Updates and additions + - added support for reading back side of new Australian Driver's licence for state Victoria - use `PPAustraliaDLBackRecognizerSettings` and `PPAustraliaDLBackRecognizerResult` + - added support for reading front side of Indonesian ID - use `PPIndonesianIDFrontRecognizerSettings` and `PPIndonesianIDFrontRecognizerSettings` + - added support for Malaysian visa with document code TS - use `PPMrtdRecognizerSettings` and `PPMrtdRecognizerResult` + - added support for setting DPI for full document images returned by `PPMrtdRecognizerSettings`, `PPAustraliaDLBackRecognizerSettings`, `PPAustraliaDLFrontRecognizerSettings` and `PPEudlRecognizerSettings`: + - use `fullDocumentImageDPI` on the corresponding recognizer settings + +- Minor API changes + - removed `imageDPI` property on `PPTemplatingRecognizerSettings` + +- Improvements in ID scanning performance: + - improved reading of Malaysian MyKad address + ## 2.13.0 - Updates and additions diff --git a/Samples/AutodetectID-sample/AutodetectID-sample/ViewController.m b/Samples/AutodetectID-sample/AutodetectID-sample/ViewController.m index 79c111d03..5dc4adbeb 100644 --- a/Samples/AutodetectID-sample/AutodetectID-sample/ViewController.m +++ b/Samples/AutodetectID-sample/AutodetectID-sample/ViewController.m @@ -53,8 +53,8 @@ - (PPCameraCoordinator *)coordinatorWithError:(NSError **)error { /** 2. Setup the license key */ // Visit www.microblink.com to get the license key for your app - settings.licenseSettings.licenseKey = @"6TBLOWX6-HHMUU35U-KABGSJP4-QPJA5OVG-OTQLKH3M-4QLCW2O5-XGD5T7MI-JSWMH7MN"; - // This demo license key is valid until 2018-01-18 + settings.licenseSettings.licenseKey = @"HJ6SU3KX-JXTKCKFO-QX4LDPTF-FDVUTZ4U-PNIB63HE-CYVWTXNZ-Q7MV2RNS-4H4LQ7XM"; + // Valid until 2018-03-01 /** diff --git a/Samples/BlinkID-sample-Swift/BlinkID-sample-Swift/ViewController.swift b/Samples/BlinkID-sample-Swift/BlinkID-sample-Swift/ViewController.swift index 6d7819450..8025ea633 100644 --- a/Samples/BlinkID-sample-Swift/BlinkID-sample-Swift/ViewController.swift +++ b/Samples/BlinkID-sample-Swift/BlinkID-sample-Swift/ViewController.swift @@ -38,8 +38,8 @@ class ViewController: UIViewController, PPScanningDelegate { /** 2. Setup the license key */ // Visit www.microblink.com to get the license key for your app - settings.licenseSettings.licenseKey = "BVWHTDQQ-HY4SUP42-4RVIKYGF-5L46QATI-BWMI2Z3S-CTYMTRYX-YYID5GXF-D7H37E2A" - // License key is valid temporarily until 2018-01-18 + settings.licenseSettings.licenseKey = "YPMK2KYE-QYH52XLY-2VGHF3HJ-AETOCWIM-CTYMTRYX-YYID4OQ4-QQGZQLIK-6G733YK5" + // License key is valid temporarily until 2018-03-01 /** diff --git a/Samples/BlinkID-sample/BlinkID-sample/ViewController.m b/Samples/BlinkID-sample/BlinkID-sample/ViewController.m index 738810925..da91b1e30 100644 --- a/Samples/BlinkID-sample/BlinkID-sample/ViewController.m +++ b/Samples/BlinkID-sample/BlinkID-sample/ViewController.m @@ -47,8 +47,8 @@ - (PPCameraCoordinator *)coordinatorWithError:(NSError **)error { /** 2. Setup the license key */ // Visit www.microblink.com to get the license key for your app - settings.licenseSettings.licenseKey = @"QY5KYC3J-VG5OABMI-TNTKHBID-BTIILTHD-NGU3T6SX-NCVFKCHB-DRRIM3XO-STKPM25U"; - // This demo license key is valid until 2018-01-18 + settings.licenseSettings.licenseKey = @"JCWFZAJJ-6YYXVRYR-IX7BZGUO-GTJMOUKS-GWL5CK4K-XVTN2CYR-IXRWSCNB-R5CZIK4O"; + // This demo license key is valid until 2018-03-01 /** diff --git a/Samples/BlinkOCR-sample/BlinkOCR-sample/ViewController.m b/Samples/BlinkOCR-sample/BlinkOCR-sample/ViewController.m index 67d032473..76d9bf7b8 100644 --- a/Samples/BlinkOCR-sample/BlinkOCR-sample/ViewController.m +++ b/Samples/BlinkOCR-sample/BlinkOCR-sample/ViewController.m @@ -68,8 +68,8 @@ - (PPCameraCoordinator *)coordinatorWithError:(NSError **)error { /** 2. Setup the license key */ // Visit www.microblink.com to get the license key for your app - settings.licenseSettings.licenseKey = @"EI73PGQ6-WND7BTSH-45A4EW3X-DB2LWKYX-DT5HQEQN-B3YM4B2Y-FMLRYWQM-XQ6LF4MA"; - // this license key is valid temporarily until 2018-01-18 + settings.licenseSettings.licenseKey = @"5QTB7CRE-QEIDKXDC-O73LV47Y-PYY7IWLH-TJTE2M6Y-3E6ML3MT-CYXQBOZK-PBXJVZLO"; + // this license key is valid temporarily until 2018-03-01 /** diff --git a/Samples/Detector-sample/Detector-sample/ViewController.m b/Samples/Detector-sample/Detector-sample/ViewController.m index b0e6f3199..6cff40383 100644 --- a/Samples/Detector-sample/Detector-sample/ViewController.m +++ b/Samples/Detector-sample/Detector-sample/ViewController.m @@ -59,8 +59,8 @@ - (PPCameraCoordinator *)coordinatorWithError:(NSError **)error { /** 2. Setup the license key */ // Visit www.microblink.com to get the license key for your app - settings.licenseSettings.licenseKey = @"IFIJ46X3-XSVRHJVW-P6KXOUZL-KA3OPJ4Y-CCBFWDPL-VUUMJTUB-KYQ3GTFV-642OYXEU"; - // License key is valid temporarily until 2018-01-18 + settings.licenseSettings.licenseKey = @"R7R3FGRX-P6F57AIW-5H54EFCP-D3YVHZEW-J7WTQA7N-HAB62OAD-5U4AGTKR-QIT37R47"; + // License key is valid temporarily until 2018-03-01 /** 3. Set up what is being scanned. See detailed guides for specific use cases. */ diff --git a/Samples/DirectAPI-sample/DirectAPI-sample/RootViewController.m b/Samples/DirectAPI-sample/DirectAPI-sample/RootViewController.m index 5c6e0ee30..b64f4e260 100644 --- a/Samples/DirectAPI-sample/DirectAPI-sample/RootViewController.m +++ b/Samples/DirectAPI-sample/DirectAPI-sample/RootViewController.m @@ -75,8 +75,8 @@ - (void)createCoordinator { /** 2. Setup the license key */ // Visit www.microblink.com to get the license key for your app - settings.licenseSettings.licenseKey = @"TZNHIGZZ-IEHS7XPB-3QOS6JOJ-4KCPHKG3-WVWU5UAN-SW57DZM6-V2H4FCZ6-MRHKOY2K"; - // license key valid temporarily until 2018-01-18 + settings.licenseSettings.licenseKey = @"KB7ICHXA-W26RWQKM-6O2RH43H-RM5FDMNL-PUJQXGFQ-6SW4KU2I-XPY6KPTN-I2DSEPZP"; + // license key valid temporarily until 2018-03-01 /** * 3. Set up what is being scanned. See detailed guides for specific use cases. diff --git a/Samples/Templating-Sample/Templating-Sample/ViewController.m b/Samples/Templating-Sample/Templating-Sample/ViewController.m index e52695a18..ec89d04da 100644 --- a/Samples/Templating-Sample/Templating-Sample/ViewController.m +++ b/Samples/Templating-Sample/Templating-Sample/ViewController.m @@ -68,8 +68,8 @@ - (PPCameraCoordinator *)coordinatorWithError:(NSError **)error { /** 2. Setup the license key */ // Visit www.microblink.com to get the license key for your app - settings.licenseSettings.licenseKey = @"Z6IRXYP2-ZTPVW6QN-JGIGNUUZ-MOA4ZXBP-NYMTPA3F-LTHWKXGP-MVOM7RMK-62PU3B3D"; - // License key is valid temporarily until 2018-01-18 + settings.licenseSettings.licenseKey = @"AES7OIOA-W6WMCGBE-H5NQJGK7-MOCUOXGP-MVOM6ZK4-Z5SVZT3F-LTHWL7BJ-YSHLEKEB"; + // License key is valid temporarily until 2018-03-01 /**********************************************************************************************************************/ diff --git a/Samples/pdf417-sample/pdf417-sample/ViewController.m b/Samples/pdf417-sample/pdf417-sample/ViewController.m index 2a0baa54b..3bf6121fc 100644 --- a/Samples/pdf417-sample/pdf417-sample/ViewController.m +++ b/Samples/pdf417-sample/pdf417-sample/ViewController.m @@ -55,8 +55,8 @@ - (PPCameraCoordinator *)coordinatorWithError:(NSError **)error { /** 2. Setup the license key */ // Visit www.microblink.com to get the license key for your app - settings.licenseSettings.licenseKey = @"TNRQO24V-6E4HMKQP-WU2E4GY2-CV5A5BRU-GABUGWJA-ZD3ZSSLX-KQEEJQB3-IQOOQTMO"; - // license key is valid temporarily - until 2018-01-18 + settings.licenseSettings.licenseKey = @"KUGZRDAV-PMIPKKO2-G22VPDD7-YI4Y6AKL-PXXF3WGZ-3HM5TWOZ-3HM5S6PR-GP5POGXC"; + // license key is valid temporarily - until 2018-03-01 /** diff --git a/Transition guide.md b/Transition guide.md index 0c2d9549c..cd52a07b8 100644 --- a/Transition guide.md +++ b/Transition guide.md @@ -1,3 +1,7 @@ +## 2.14.0 + +- Removed `imageDPI` property on `PPTemplatingRecognizerSettings` + ## 2.13.0 - `PPDocumentDetectorResult` does not contain information about screen orientation any more diff --git a/buildCommit.txt b/buildCommit.txt index 9db61141c..b34a2b0f0 100644 --- a/buildCommit.txt +++ b/buildCommit.txt @@ -1 +1 @@ -Built from core repository commit d9dc5936f5aa42d5336f19674d647d6741035ea7 +Built from core repository commit a30c08d35b81a802ff841a8c01319439f5d97840