diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d44daa82..d8e6b7a74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +##2.3.0 + +- iOS updates: + - Added German ID recognizer + - Added Slovakian ID recognizer + - Improved performance of Croatian ID recognizer + +##2.2.1 + +- iOS fixes: + - Fixed problems with string localizations + ##2.2.1 - iOS fixes: diff --git a/MicroBlink.bundle/IDCard.png b/MicroBlink.bundle/IDCard.png index e1e101ad4..727aeb17b 100644 Binary files a/MicroBlink.bundle/IDCard.png and b/MicroBlink.bundle/IDCard.png differ diff --git a/MicroBlink.bundle/IDCard@2x.png b/MicroBlink.bundle/IDCard@2x.png index a8cf72305..946ff80d9 100644 Binary files a/MicroBlink.bundle/IDCard@2x.png and b/MicroBlink.bundle/IDCard@2x.png differ diff --git a/MicroBlink.bundle/Info.plist b/MicroBlink.bundle/Info.plist index b7ca0908d..6101e7181 100644 Binary files a/MicroBlink.bundle/Info.plist and b/MicroBlink.bundle/Info.plist differ diff --git a/MicroBlink.bundle/No Camera-100.png b/MicroBlink.bundle/No Camera-100.png index 73160f156..00c355cec 100644 Binary files a/MicroBlink.bundle/No Camera-100.png and b/MicroBlink.bundle/No Camera-100.png differ diff --git a/MicroBlink.bundle/cro_id_confusions.zzip b/MicroBlink.bundle/cro_id_confusions.zzip new file mode 100644 index 000000000..5dd0b6eb5 Binary files /dev/null and b/MicroBlink.bundle/cro_id_confusions.zzip differ diff --git a/MicroBlink.bundle/cro_id_dictionary.zzip b/MicroBlink.bundle/cro_id_dictionary.zzip new file mode 100644 index 000000000..4556040a6 Binary files /dev/null and b/MicroBlink.bundle/cro_id_dictionary.zzip differ diff --git a/MicroBlink.bundle/en.strings b/MicroBlink.bundle/en.strings index 7b996f0ef..a51a51560 100644 Binary files a/MicroBlink.bundle/en.strings and b/MicroBlink.bundle/en.strings differ diff --git a/MicroBlink.bundle/ocr_model.zzip b/MicroBlink.bundle/ocr_model.zzip index 49374c28e..713bf4723 100644 Binary files a/MicroBlink.bundle/ocr_model.zzip and b/MicroBlink.bundle/ocr_model.zzip differ diff --git a/MicroBlink.bundle/torchoff.png b/MicroBlink.bundle/torchoff.png index 614723bb7..2710dc350 100644 Binary files a/MicroBlink.bundle/torchoff.png and b/MicroBlink.bundle/torchoff.png differ diff --git a/MicroBlink.bundle/torchoff@2x.png b/MicroBlink.bundle/torchoff@2x.png index 3fd76a349..55d19199d 100644 Binary files a/MicroBlink.bundle/torchoff@2x.png and b/MicroBlink.bundle/torchoff@2x.png differ diff --git a/MicroBlink.bundle/torchoff_pressed.png b/MicroBlink.bundle/torchoff_pressed.png index 6aea122a8..1a506f34c 100644 Binary files a/MicroBlink.bundle/torchoff_pressed.png and b/MicroBlink.bundle/torchoff_pressed.png differ diff --git a/MicroBlink.bundle/torchoff_pressed@2x.png b/MicroBlink.bundle/torchoff_pressed@2x.png index 543e1a1d4..51bf4a521 100644 Binary files a/MicroBlink.bundle/torchoff_pressed@2x.png and b/MicroBlink.bundle/torchoff_pressed@2x.png differ diff --git a/MicroBlink.bundle/torchon.png b/MicroBlink.bundle/torchon.png index 66c4e1173..bea756564 100644 Binary files a/MicroBlink.bundle/torchon.png and b/MicroBlink.bundle/torchon.png differ diff --git a/MicroBlink.bundle/torchon@2x.png b/MicroBlink.bundle/torchon@2x.png index 852053123..f619345b3 100644 Binary files a/MicroBlink.bundle/torchon@2x.png and b/MicroBlink.bundle/torchon@2x.png differ diff --git a/MicroBlink.bundle/torchon_pressed.png b/MicroBlink.bundle/torchon_pressed.png index e73bdb159..1bbac3cc6 100644 Binary files a/MicroBlink.bundle/torchon_pressed.png and b/MicroBlink.bundle/torchon_pressed.png differ diff --git a/MicroBlink.bundle/torchon_pressed@2x.png b/MicroBlink.bundle/torchon_pressed@2x.png index 9e59e4d25..96055bd61 100644 Binary files a/MicroBlink.bundle/torchon_pressed@2x.png and b/MicroBlink.bundle/torchon_pressed@2x.png differ diff --git a/MicroBlink.framework/Headers/PPBlinkIDRecognizers.h b/MicroBlink.framework/Headers/PPBlinkIDRecognizers.h index 4918561df..72c8be5df 100644 --- a/MicroBlink.framework/Headers/PPBlinkIDRecognizers.h +++ b/MicroBlink.framework/Headers/PPBlinkIDRecognizers.h @@ -25,11 +25,9 @@ #import "PPBlinkOcrRecognizerSettings.h" #import "PPBlinkOcrRecognizerResult.h" -// CroID Front +// Croatia #import "PPCroIDFrontRecognizerSettings.h" #import "PPCroIDFrontRecognizerResult.h" - -// CroID Back #import "PPCroIDBackRecognizerSettings.h" #import "PPCroIDBackRecognizerResult.h" @@ -45,10 +43,22 @@ #import "PPAusIDBackRecognizerSettings.h" #import "PPAusIDBackRecognizerResult.h" +// Germany +#import "PPGermanIdFrontRecognizerSettings.h" +#import "PPGermanIdFrontRecognizerResult.h" +#import "PPGermanIdMrzRecognizerSettings.h" +#import "PPGermanIdMrzRecognizerResult.h" + // Singapore #import "PPSingaporeIDRecognizerSettings.h" #import "PPSingaporeIDRecognizerResult.h" +// Slovakia +#import "PPSlovakIdFrontRecognizerSettings.h" +#import "PPSlovakIdFrontRecognizerResult.h" +#import "PPSlovakIdBackRecognizerSettings.h" +#import "PPSlovakIdBackRecognizerResult.h" + // Detectors #import "PPDocumentDetectorResult.h" #import "PPDocumentDetectorSettings.h" diff --git a/MicroBlink.framework/Headers/PPCroIDBackRecognizerSettings.h b/MicroBlink.framework/Headers/PPCroIDBackRecognizerSettings.h index 908d63ab5..42d2351d0 100644 --- a/MicroBlink.framework/Headers/PPCroIDBackRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPCroIDBackRecognizerSettings.h @@ -46,7 +46,7 @@ PP_CLASS_AVAILABLE_IOS(6.0) @interface PPCroIDBackRecognizerSettings : PPRecogni * * Default: NO */ -@property (nonatomic, assign) BOOL displayFullDOcumentImage; +@property (nonatomic, assign) BOOL displayFullDocumentImage; @end diff --git a/MicroBlink.framework/Headers/PPDetectorSettings.h b/MicroBlink.framework/Headers/PPDetectorSettings.h index 9fac61e3b..61c1ee6b4 100644 --- a/MicroBlink.framework/Headers/PPDetectorSettings.h +++ b/MicroBlink.framework/Headers/PPDetectorSettings.h @@ -14,7 +14,6 @@ NS_ASSUME_NONNULL_BEGIN /** * MicroBlink scanning libraries run detector objects to find objects on image. - * Each detector is configured with PPDetectorSettings object. * This class is common superclass for each of the Detector settings. */ PP_CLASS_AVAILABLE_IOS(6.0) @interface PPDetectorSettings : NSObject diff --git a/MicroBlink.framework/Headers/PPEudlCountry.h b/MicroBlink.framework/Headers/PPEudlCountry.h index 5a0f0905a..61c9be5b8 100644 --- a/MicroBlink.framework/Headers/PPEudlCountry.h +++ b/MicroBlink.framework/Headers/PPEudlCountry.h @@ -23,6 +23,11 @@ typedef NS_ENUM(NSUInteger, PPEudlCountry) { */ PPEudlCountryGermany, + /** + * Austrian driver's licenses + */ + PPEudlCountryAustria, + /** * Any EU DL */ diff --git a/MicroBlink.framework/Headers/PPGermanIdFrontRecognizerResult.h b/MicroBlink.framework/Headers/PPGermanIdFrontRecognizerResult.h new file mode 100644 index 000000000..08b99c38a --- /dev/null +++ b/MicroBlink.framework/Headers/PPGermanIdFrontRecognizerResult.h @@ -0,0 +1,62 @@ +// +// PPGermanIdFrontRecognizerResult.h +// BlinkIdFramework +// +// Created by Dino on 22/08/16. +// Copyright © 2016 MicroBlink Ltd. All rights reserved. +// + +#import "PPBlinkOcrRecognizerResult.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * Class representing values obtained when scanning front side of German ID + */ +PP_CLASS_AVAILABLE_IOS(6.0) @interface PPGermanIdFrontRecognizerResult : PPBlinkOcrRecognizerResult + +/** + * Returns the first name of the German ID owner. + * @return the first name of the German ID owner. + */ +- (NSString *)firstName; + +/** + * Returns the last name of the German ID owner. + * @return the last name of the German ID owner. + */ +- (NSString *)lastName; + +/** + * Returns nationality of the German ID owner. + * @return nationality of the German ID owner + */ +- (NSString *)nationality; + +/** + * Returns the date of birth of German ID owner + * @return the date of birth of German ID owner + */ +- (NSString *)dateOfBirth; + +/** + * Returns the place of birth of the German ID + * @return the place of birth of the German ID + */ +- (NSString *)placeOfBirth; + +/** + * Returns the document date of expiry of the German ID + * @return the document date of expiry of the German ID + */ +- (NSString *)dateOfExpiry; + +/** + * Returns the document number of the German ID + * @return the document number of the German ID + */ +- (NSString *)documentNumber; + +@end + +NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPGermanIdFrontRecognizerSettings.h b/MicroBlink.framework/Headers/PPGermanIdFrontRecognizerSettings.h new file mode 100644 index 000000000..2e043849d --- /dev/null +++ b/MicroBlink.framework/Headers/PPGermanIdFrontRecognizerSettings.h @@ -0,0 +1,109 @@ +// +// PPGermanIdFrontRecognizerSettings.h +// BlinkIdFramework +// +// Created by Dino on 22/08/16. +// Copyright © 2016 MicroBlink Ltd. All rights reserved. +// + +#import "PPRecognizerSettings.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * Settings class for configuring German ID Front Recognizer + * + * CroIDFront recognizer is used for scanning front side of German ID. + */ +PP_CLASS_AVAILABLE_IOS(6.0) @interface PPGermanIdFrontRecognizerSettings : 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. + */ +@property (nonatomic, readonly) 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. + */ +@property (nonatomic, readonly) 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. + */ +@property (nonatomic, readonly) NSString* FULL_DOCUMENT_IMAGE; + +/** + * Defines if owner's first name should be extracted from German ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractFirstName; + +/** + * Defines if owner's last name should be extracted from German ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractLastName; + +/** + * Defines if owner's place of birth should be extracted from German ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractPlaceOfBirth; + +/** + * Defines if owner's nationality should be extracted from German ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractNationality; + +/** + * Defines if owner's date of birth should be extracted from German ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractDateOfBirth; + +/** + * Defines if date of expiry should be extracted from German ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractDateOfExpiry; + +/** + * 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/PPGermanIdMrzRecognizerResult.h b/MicroBlink.framework/Headers/PPGermanIdMrzRecognizerResult.h new file mode 100644 index 000000000..37ec001d8 --- /dev/null +++ b/MicroBlink.framework/Headers/PPGermanIdMrzRecognizerResult.h @@ -0,0 +1,50 @@ +// +// PPGermanIdMrzRecognizerResult.h +// BlinkIdFramework +// +// Created by Dino on 22/08/16. +// Copyright © 2016 MicroBlink Ltd. All rights reserved. +// + +#import "PPBlinkOcrRecognizerResult.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * Class representing values obtained when scanning MRZ of German ID + */ +PP_CLASS_AVAILABLE_IOS(6.0) @interface PPGermanIdMrzRecognizerResult : PPBlinkOcrRecognizerResult + +/** + * Returns the eye color of the German ID owner. + * @return the eye color of the German ID owner. + */ +- (NSString *)eyeColor; + +/** + * Returns the height of the German ID owner. + * @return the height of the German ID owner. + */ +- (NSString *)height; + +/** + * Returns the date of issue of the ID. + * @return the date of issue of the ID. + */ +- (NSString *)dateOfIssue; + +/** + * Returns the issuing authority of the German ID. + * @return the issuing authority of the German ID. + */ +- (NSString *)authority; + +/** + * Returns the address of the German ID owner. + * @return the address of the German ID owner. + */ +- (NSString *)address; + +@end + +NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPGermanIdMrzRecognizerSettings.h b/MicroBlink.framework/Headers/PPGermanIdMrzRecognizerSettings.h new file mode 100644 index 000000000..458b39745 --- /dev/null +++ b/MicroBlink.framework/Headers/PPGermanIdMrzRecognizerSettings.h @@ -0,0 +1,117 @@ +// +// PPGermanIdMrzRecognizerSettings.h +// BlinkIdFramework +// +// Created by Dino on 22/08/16. +// Copyright © 2016 MicroBlink Ltd. All rights reserved. +// + +#import "PPRecognizerSettings.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * Settings class for configuring German ID MRZ Recognizer + * + * GermanIdMrz recognizer is used for scanning back side of German ID. + */ +PP_CLASS_AVAILABLE_IOS(6.0) @interface PPGermanIdMrzRecognizerSettings : 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. + */ +@property (nonatomic, readonly) 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. + */ +@property (nonatomic, readonly) 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. + */ +@property (nonatomic, readonly) NSString* FULL_DOCUMENT_IMAGE; + +/** + * Name of the image sent to didOutputMetadata method of scanDelegate object that contains MRZ. + * This image will be sent to scan delegate during recognition process if displaying of MRZ image + * is enabled via displayMrzImage property and receiving of dewarpedImage in MetadataSettings is enabled. + */ +@property (nonatomic, readonly) NSString* MRZ_IMAGE; + +/** + * Defines if owner's eye color should be extracted from German ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractEyeColor; + +/** + * Defines if owner's height should be extracted from German ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractEyeHeight; + +/** + * Defines if owner's date of issue should be extracted from German ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractDateOfIssue; + +/** + * Defines if authority should be extracted from German ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractAuthority; + +/** + * Defines if owner's address should be extracted from German ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractAddress; + +/** + * Sets whether MRZ 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 displayMrzImage; + +/** + * 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/PPQuadDetectorSettings.h b/MicroBlink.framework/Headers/PPQuadDetectorSettings.h index f64f56519..58d58e568 100644 --- a/MicroBlink.framework/Headers/PPQuadDetectorSettings.h +++ b/MicroBlink.framework/Headers/PPQuadDetectorSettings.h @@ -14,6 +14,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Settings for Quad detector, used for rectangular objects. + * This class is an abstract class. */ PP_CLASS_AVAILABLE_IOS(6.0) @interface PPQuadDetectorSettings : PPDetectorSettings diff --git a/MicroBlink.framework/Headers/PPSlovakIdBackRecognizerResult.h b/MicroBlink.framework/Headers/PPSlovakIdBackRecognizerResult.h new file mode 100644 index 000000000..878759d48 --- /dev/null +++ b/MicroBlink.framework/Headers/PPSlovakIdBackRecognizerResult.h @@ -0,0 +1,44 @@ +// +// PPSlovakIdBackRecognizerResult.h +// BlinkIdFramework +// +// Created by Dino on 22/08/16. +// Copyright © 2016 MicroBlink Ltd. All rights reserved. +// + +#import "PPBlinkOcrRecognizerResult.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * Class representing values obtained when scanning front side of Slovak ID + */ +PP_CLASS_AVAILABLE_IOS(6.0) @interface PPSlovakIdBackRecognizerResult : PPBlinkOcrRecognizerResult + +/** + * Returns the address of the Slovakian ID owner. + * @return the address of the Slovakian ID owner. + */ +- (NSString *)address; + +/** + * Returns the surname at birth of the Slovakian ID owner. + * @return the surname at birth of the Slovakian ID owner. + */ +- (NSString *)surnameAtBirth; + +/** + * Returns the place of birth of the Slovakian ID owner. + * @return the place of birth of the Slovakian ID owner. + */ +- (NSString *)placeOfBirth; + +/** + * Returns the special remarks of the Slovakian ID owner. + * @return the special remarks of the Slovakian ID owner. + */ +- (NSString *)specialRemarks; + +@end + +NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPSlovakIdBackRecognizerSettings.h b/MicroBlink.framework/Headers/PPSlovakIdBackRecognizerSettings.h new file mode 100644 index 000000000..8a226941a --- /dev/null +++ b/MicroBlink.framework/Headers/PPSlovakIdBackRecognizerSettings.h @@ -0,0 +1,61 @@ +// +// PPSlovakIdBackRecognizerSettings.h +// BlinkIdFramework +// +// Created by Dino on 22/08/16. +// Copyright © 2016 MicroBlink Ltd. All rights reserved. +// + +#import "PPRecognizerSettings.h" + +/** + * Settings class for configuring Slovakian Back ID Recognizer + * + * Slovakian Back ID recognizer is used for scanning back side of Slovakian ID. + */ +PP_CLASS_AVAILABLE_IOS(6.0) @interface PPSlovakIdBackRecognizerSettings : 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. + */ +@property (nonatomic, readonly) NSString* FULL_DOCUMENT_IMAGE; + +/** + * Defines if owner's address should be extracted from Slovakian ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractAddress; + +/** + * Defines if owner's surname at birth should be extracted from Slovakian ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractSurnameAtBirth; + +/** + * Defines if owner's place of birth should be extracted from Slovakian ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractPlaceOfBirth; + +/** + * Defines if owner's special remarks should be extracted from Slovakian ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractSpecialRemarks; + +/** + * Sets whether full 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) BOOL displayFullDocumentImage; + +@end \ No newline at end of file diff --git a/MicroBlink.framework/Headers/PPSlovakIdFrontRecognizerResult.h b/MicroBlink.framework/Headers/PPSlovakIdFrontRecognizerResult.h new file mode 100644 index 000000000..f0357f7df --- /dev/null +++ b/MicroBlink.framework/Headers/PPSlovakIdFrontRecognizerResult.h @@ -0,0 +1,80 @@ +// +// PPSlovakIdFrontRecognizerResult.h +// BlinkIdFramework +// +// Created by Dino on 22/08/16. +// Copyright © 2016 MicroBlink Ltd. All rights reserved. +// + +#import "PPBlinkOcrRecognizerResult.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * Class representing values obtained when scanning front side of Slovak ID + */ +PP_CLASS_AVAILABLE_IOS(6.0) @interface PPSlovakIdFrontRecognizerResult : PPBlinkOcrRecognizerResult + +/** + * Returns the first name of the Slovakian ID owner. + * @return the first name of the Slovakian ID owner. + */ +- (NSString *)firstName; + +/** + * Returns the last name of the Slovakian ID owner. + * @return the last name of the Slovakian ID owner. + */ +- (NSString *)lastName; + +/** + * Returns the sex of the Slovakian ID owner. + * @return the sex of the Slovakian ID owner. + */ +- (NSString *)sex; + +/** + * Returns the nationality of the Slovakian ID owner. + * @return the nationality of the Slovakian ID owner. + */ +- (NSString *)nationality; + +/** + * Returns the date of birth of the Slovakian ID owner. + * @return the date of birth of the Slovakian ID owner. + */ +- (NSString *)dateOfBirth; + +/** + * Returns the date of expiry of the Slovakian ID. + * @return the date of expiry of the Slovakian ID. + */ +- (NSString *)dateOfExpiry; + +/** + * Returns the date of issue of the Slovakian ID. + * @return the date of issue of the Slovakian ID. + */ +- (NSString *)dateOfIssue; + +/** + * Returns the issuing authority of the ID. + * @return the issuing authority of the ID. + */ +- (NSString *)issuedBy; + +/** + * Returns the personal number of the Slovakian ID owner. + * @return the personal number of the Slovakian ID owner. + */ +- (NSString *)personalNumber; + +/** + * Returns the document number of the Slovakian ID. + * @return the document number of the Slovakian ID. + */ +- (NSString *)documentNumber; + +@end + +NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPSlovakIdFrontRecognizerSettings.h b/MicroBlink.framework/Headers/PPSlovakIdFrontRecognizerSettings.h new file mode 100644 index 000000000..0be22e61b --- /dev/null +++ b/MicroBlink.framework/Headers/PPSlovakIdFrontRecognizerSettings.h @@ -0,0 +1,105 @@ +// +// PPSlovakIdFrontRecognizerSettings.h +// BlinkIdFramework +// +// Created by Dino on 22/08/16. +// Copyright © 2016 MicroBlink Ltd. All rights reserved. +// + +#import "PPRecognizerSettings.h" + +/** + * Settings class for configuring Slovakian Front ID Recognizer + * + * Slovakian Front ID recognizer is used for scanning front side of Slovakian ID. + */ +PP_CLASS_AVAILABLE_IOS(6.0) @interface PPSlovakIdFrontRecognizerSettings : 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. + */ +@property (nonatomic, readonly) 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. + */ +@property (nonatomic, readonly) 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. + */ +@property (nonatomic, readonly) NSString* FULL_DOCUMENT_IMAGE; + +/** + * Defines if owner's sex should be extracted from Slovakian ID + * + * Default: YES + */ +@property (nonatomic,assign) BOOL extractSex; + +/** + * Defines if owner's nationality should be extracted from Slovakian ID + * + * Default: YES + */ +@property (nonatomic,assign) BOOL extractNationality; + +/** + * Defines if owner's date of birth should be extracted from Slovakian ID + * + * Default: YES + */ +@property (nonatomic,assign) BOOL extractDateOfBirth; + +/** + * Defines if ID's date of expiry should be extracted + * + * Default: YES + */ +@property (nonatomic,assign) BOOL extractDateOfExpiry; + +/** + * Defines if ID's date of issue should be extracted + * + * Default: YES + */ +@property (nonatomic,assign) BOOL extractDateOfIssue; + +/** + * Defines if issuing authority should be extracted from Slovakian ID + * + * Default: YES + */ +@property (nonatomic,assign) BOOL extractIssuedBy; + +/** + * 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. + * + * Default: NO + */ +@property (nonatomic) BOOL displayFacePhoto; + +/** + * Sets whether signature photo 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) BOOL displaySignaturePhoto; + +/** + * Sets whether full 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) BOOL displayFullDocumentImage; + +@end diff --git a/MicroBlink.framework/Headers/PPViewControllerFactory.h b/MicroBlink.framework/Headers/PPViewControllerFactory.h index cb5280aa8..b525bc906 100644 --- a/MicroBlink.framework/Headers/PPViewControllerFactory.h +++ b/MicroBlink.framework/Headers/PPViewControllerFactory.h @@ -17,8 +17,11 @@ NS_ASSUME_NONNULL_BEGIN -PP_CLASS_AVAILABLE_IOS(6.0) -@interface PPViewControllerFactory : NSObject +/** + * Factory class containing static methods for creating camera view controllers. + * Camera view controllers created this way will be managed internally by the SDK, and input frames will be processed. + */ +PP_CLASS_AVAILABLE_IOS(6.0) @interface PPViewControllerFactory : NSObject /**------------------------------------------*/ /** @name Creating Scanning view controllers */ diff --git a/MicroBlink.framework/Info.plist b/MicroBlink.framework/Info.plist index b1ae3b075..60ccab2c3 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 91182b265..ad27c246d 100644 --- a/MicroBlink.framework/MicroBlink +++ b/MicroBlink.framework/MicroBlink @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4caef537db6f4ee2d8496831048cb4e3da65ab285846c6eaca550fdaebe70b1d -size 118056192 +oid sha256:8624eeb39bfbb609e3ba6649bdc7cca99f60557f47b6627b7e0b67640f96f096 +size 119868512 diff --git a/PPBlinkID.podspec b/PPBlinkID.podspec index f7ca373d9..88c3c33d1 100644 --- a/PPBlinkID.podspec +++ b/PPBlinkID.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "PPBlinkID" - s.version = "2.2.1" + s.version = "2.3.0" s.summary = "A delightful component for barcode scanning" s.homepage = "http://microblink.com" @@ -31,7 +31,7 @@ Pod::Spec.new do |s| s.source = { :git => 'https://github.com/BlinkID/blinkid-ios.git', - :tag => 'v2.2.1' + :tag => 'v2.3.0' } s.platform = :ios diff --git a/README.md b/README.md index 85f0e5d1e..91f323147 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ pod try PPBlinkID ```ruby platform :ios, '7.0' -pod 'PPBlinkID', '~> 2.2.1' +pod 'PPBlinkID', '~> 2.3.0' ``` ## Requirements diff --git a/Release notes.md b/Release notes.md index 3d44daa82..d8e6b7a74 100644 --- a/Release notes.md +++ b/Release notes.md @@ -1,3 +1,15 @@ +##2.3.0 + +- iOS updates: + - Added German ID recognizer + - Added Slovakian ID recognizer + - Improved performance of Croatian ID recognizer + +##2.2.1 + +- iOS fixes: + - Fixed problems with string localizations + ##2.2.1 - iOS fixes: diff --git a/Transition guide.md b/Transition guide.md index 30a4523ee..1bf7fa8bb 100644 --- a/Transition guide.md +++ b/Transition guide.md @@ -1,3 +1,7 @@ +## 2.3.0 + +- No backwards incompatible changes. See Release notes for new features. + ## 2.2.1 - No backwards incompatible changes. See Release notes for new features. diff --git a/buildCommit.txt b/buildCommit.txt index 4b9b11b8f..ae5b24461 100644 --- a/buildCommit.txt +++ b/buildCommit.txt @@ -1 +1 @@ -Built from core repository commit 31511ce7fc9150dda92dba0033bfb24e4977b0d9 +Built from core repository commit 627d3b80030f1a0a8362434bd0990acbe7b73e51