diff --git a/CHANGELOG.md b/CHANGELOG.md index e433cbe1..7ce80b6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,37 @@ +## 2.12.0 + +- Updates and additions + - Added Australian Driver Licence Recognizer `PPAustraliaDLFrontRecognizerResult` and `PPAustraliaDLFrontRecognizerSettings` for state Victoria + - Added Swiss ID Back Recognizer `PPSwissIDBackRecognizerResult` and `PPSwissIDBackRecognizerSettings` + - Added Swiss ID Front Recognizer `PPSwissIDFrontRecognizerResult` and `PPSwissIDFrontRecognizerSettings` + - Added reading of mirrored QR codes + - Added `PPMrzFilter` protocol and delegate `mrzFilter` on `PPMrtdRecognizerSettings` + - Determines whether document should be processed or it is filtered out, based on its MRZ (Machine Readable Zone) + - Introduced `GlareDetector` which is by default used in all recognizers whose settings implement `GlareDetectorOptions`: + - When glare is detected, OCR will not be performed on the affected document position to prevent errors in the extracted data + - If the glare detector is used and obtaining of glare metadata is enabled in `MetadataSettings` + - Glare detector can be disabled by using `detectGlare` property on the recognizer settings + - Added `PPQuadDetectorResultWithSize` which inherits existing `PPQuadDetectorResult` + - It's subclasses are `PPDocumentDetectorResult` and `PPMrtdDetectorResult` + - Returns information about physical size (height) in inches of the detected location when physical size is known + +- Minor API changes + - `PPBlinkOcrRecognizerResult` and `PPBlinkOcrRecognizerSettings` are now deprecated. Use `PPDetectorRecognizerResult` and `PPDetectorRecognizerSettings` for templating or `PPBlinkInputRecognizerResult` and `PPBlinkInputRecognizerSettings` for segment scan + - removed option to scan 1D Code39 and Code128 barcodes on US Driver's licenses that contain those barcodes alongside PDF417 barcode + +- Bugfixes: + - Fixed crash which sometimes happened while scanning MRTD documents + - Fixed returning valid data for MRZ based recognizers when not all fields outside MRZ have been scanned + - Fixed crash in QR code which happened periodically in all recognizers + - Fixed autorotation of overlay view controller + - Fixed scanning return result type of `PPDetectorRecognizerSettings` when initialized with `PPMrtdDetectorSettings` - returning `PPMrtdDetectorResult` + +- Improvements in ID scanning performance: + - Date parsing improvements + - Better extraction of fields on back side of the Croatian ID card + - Improved reading of issuing authority on Croatian ID back side + - Improved USDLRecognizer - added support for new USDL standard + ## 2.11.0 - Updates and additions diff --git a/MicroBlink.bundle/Info.plist b/MicroBlink.bundle/Info.plist index 543ff21e..64514d2d 100644 Binary files a/MicroBlink.bundle/Info.plist and b/MicroBlink.bundle/Info.plist differ diff --git a/MicroBlink.bundle/cro_authority_dictionary.zzip b/MicroBlink.bundle/cro_authority_dictionary.zzip index 3bbb0a8f..83c43aa5 100644 Binary files a/MicroBlink.bundle/cro_authority_dictionary.zzip and b/MicroBlink.bundle/cro_authority_dictionary.zzip differ diff --git a/MicroBlink.framework/Headers/PPAusIDBackRecognizerSettings.h b/MicroBlink.framework/Headers/PPAusIDBackRecognizerSettings.h index cff7b7b9..a2494e2f 100644 --- a/MicroBlink.framework/Headers/PPAusIDBackRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPAusIDBackRecognizerSettings.h @@ -31,4 +31,11 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic) BOOL displayFullDocumentImage; +/** + * Defines if glare detection should be turned on/off for front side of Austrian ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end diff --git a/MicroBlink.framework/Headers/PPAusIDCombinedRecognizerSettings.h b/MicroBlink.framework/Headers/PPAusIDCombinedRecognizerSettings.h index 07493030..dee203f2 100644 --- a/MicroBlink.framework/Headers/PPAusIDCombinedRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPAusIDCombinedRecognizerSettings.h @@ -11,9 +11,9 @@ NS_ASSUME_NONNULL_BEGIN /** - * Settings class for configuring German ID Combined Recognizer. + * Settings class for configuring Austrian ID Combined Recognizer. * - * German Combined ID recognizer is used for scanning both front and back side of german IDs. + * Austrian Combined ID recognizer is used for scanning both front and back side of Austrian IDs. */ PP_CLASS_AVAILABLE_IOS(6.0) @@ -91,6 +91,14 @@ PP_CLASS_AVAILABLE_IOS(6.0) * Default: NO */ @property (nonatomic, assign) BOOL encodeFullDocumentPhoto; + +/** + * Defines if glare detection should be turned on/off for both front and back side of Austrian IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPAusIDFrontRecognizerResult.h b/MicroBlink.framework/Headers/PPAusIDFrontRecognizerResult.h index 8d915acd..01f41f94 100644 --- a/MicroBlink.framework/Headers/PPAusIDFrontRecognizerResult.h +++ b/MicroBlink.framework/Headers/PPAusIDFrontRecognizerResult.h @@ -6,13 +6,13 @@ // Copyright © 2016 MicroBlink Ltd. All rights reserved. // -#import "PPBlinkOcrRecognizerResult.h" +#import "PPDetectorRecognizerResult.h" /** * Class representing values obtained when scanning front side of Austrian ID */ PP_CLASS_AVAILABLE_IOS(6.0) -@interface PPAusIDFrontRecognizerResult : PPBlinkOcrRecognizerResult +@interface PPAusIDFrontRecognizerResult : PPDetectorRecognizerResult /** * The first name of the Austrian ID owner. diff --git a/MicroBlink.framework/Headers/PPAusIDFrontRecognizerSettings.h b/MicroBlink.framework/Headers/PPAusIDFrontRecognizerSettings.h index 2575df3b..2bd36330 100644 --- a/MicroBlink.framework/Headers/PPAusIDFrontRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPAusIDFrontRecognizerSettings.h @@ -61,4 +61,11 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic) BOOL displayFullDocumentImage; +/** + * Defines if glare detection should be turned on/off for front side of Austrian ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end diff --git a/MicroBlink.framework/Headers/PPAusPassportRecognizerResult.h b/MicroBlink.framework/Headers/PPAusPassportRecognizerResult.h index 9e3c1a22..008a2a73 100644 --- a/MicroBlink.framework/Headers/PPAusPassportRecognizerResult.h +++ b/MicroBlink.framework/Headers/PPAusPassportRecognizerResult.h @@ -6,13 +6,13 @@ // // -#import "PPBlinkOcrRecognizerResult.h" +#import "PPDetectorRecognizerResult.h" /** * Class representing values obtained when scanning of Austrian Passport */ PP_CLASS_AVAILABLE_IOS(6.0) -@interface PPAusPassportRecognizerResult : PPBlinkOcrRecognizerResult +@interface PPAusPassportRecognizerResult : PPDetectorRecognizerResult /** * The surname of the Austrian Passport owner. diff --git a/MicroBlink.framework/Headers/PPAusPassportRecognizerSettings.h b/MicroBlink.framework/Headers/PPAusPassportRecognizerSettings.h index 8bcb3b65..c0c5ef6f 100644 --- a/MicroBlink.framework/Headers/PPAusPassportRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPAusPassportRecognizerSettings.h @@ -140,6 +140,13 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) BOOL returnFullDocumentPhoto; +/** + * Defines if glare detection should be turned on/off for Austrian Passport + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPAustraliaDLFrontRecognizerResult.h b/MicroBlink.framework/Headers/PPAustraliaDLFrontRecognizerResult.h new file mode 100644 index 00000000..ca6775eb --- /dev/null +++ b/MicroBlink.framework/Headers/PPAustraliaDLFrontRecognizerResult.h @@ -0,0 +1,57 @@ +// +// PPAustraliaDLFrontRecognizerResult.h +// MicroBlinkDev +// +// Created by Jura Skrlec on 06/09/2017. +// +// + +#import "PPDetectorRecognizerResult.h" + +/** + * Class representing values obtained when scanning front side of Australian DL + */ +PP_CLASS_AVAILABLE_IOS(6.0) +@interface PPAustraliaDLFrontRecognizerResult : PPDetectorRecognizerResult + +/** + * The first name of the Australian DL owner. + */ +@property (nonatomic, readonly, nullable) NSString *name; + +/** + * The licence type of Australian DL. + */ +@property (nonatomic, readonly, nullable) NSString *licenceType; + +/** + * 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 date of birth of Australian DL owner in DD.MM.yyyy format. + */ +@property (nonatomic, readonly, nullable) NSString *rawDateOfBirth; + +/** + * The date of birth of Australian DL owner + */ +@property (nonatomic, readonly, nullable) NSDate *dateOfBirth; + +/** + * 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/PPAustraliaDLFrontRecognizerSettings.h b/MicroBlink.framework/Headers/PPAustraliaDLFrontRecognizerSettings.h new file mode 100644 index 00000000..c69af400 --- /dev/null +++ b/MicroBlink.framework/Headers/PPAustraliaDLFrontRecognizerSettings.h @@ -0,0 +1,98 @@ +// +// PPAustraliaDLFrontRecognizerSettings.h +// MicroBlinkDev +// +// Created by Jura Skrlec on 06/09/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 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 PPAustraliaDLFrontRecognizerSettings : 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 sex of Australian DL owner should be extracted + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractAddress; + +/** + * Defines if citizenship of Australian DL owner should be extracted + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractLicenceNumber; + +/** + * Defines if date of birth of Australian DL owner should be extracted + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractDateOfBirth; + +/** + * Defines if date of expiry should be extracted from Australian DL + * + * 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/PPBlinkIDRecognizers.h b/MicroBlink.framework/Headers/PPBlinkIDRecognizers.h index a933362b..c1c8b8b4 100644 --- a/MicroBlink.framework/Headers/PPBlinkIDRecognizers.h +++ b/MicroBlink.framework/Headers/PPBlinkIDRecognizers.h @@ -19,6 +19,10 @@ #import "PPAusIDCombinedRecognizerSettings.h" #import "PPAusIDCombinedRecognizerResult.h" +// Australia +#import "PPAustraliaDLFrontRecognizerSettings.h" +#import "PPAustraliaDLFrontRecognizerResult.h" + // Croatia #import "PPCroIDBackRecognizerSettings.h" #import "PPCroIDBackRecognizerResult.h" @@ -68,6 +72,7 @@ #import "PPMrtdRecognizerResult.h" #import "PPMrtdCombinedRecognizerSettings.h" #import "PPMrtdCombinedRecognizerResult.h" +#import "PPMrzFilter.h" // Romania #import "PPRomanianIDFrontRecognizerSettings.h" @@ -110,6 +115,10 @@ #import "PPSlovenianIDCombinedRecognizerResult.h" // Switzerland +#import "PPSwissIDBackRecognizerSettings.h" +#import "PPSwissIDBackRecognizerResult.h" +#import "PPSwissIDFrontRecognizerSettings.h" +#import "PPSwissIDFrontRecognizerResult.h" #import "PPSwissPassportRecognizerSettings.h" #import "PPSwissPassportRecognizerResult.h" diff --git a/MicroBlink.framework/Headers/PPBlinkInputRecognizerResult.h b/MicroBlink.framework/Headers/PPBlinkInputRecognizerResult.h new file mode 100644 index 00000000..1bf4f948 --- /dev/null +++ b/MicroBlink.framework/Headers/PPBlinkInputRecognizerResult.h @@ -0,0 +1,20 @@ +// +// PPBlinkInputRecognizerResult.h +// MicroBlinkDev +// +// Created by Jura Skrlec on 03/08/2017. +// +// + +#import "PPSegmentRecognizerResult.h" +#import "PPOcrLayout.h" + +/** + * Result of scanning with Blink Input Recognizer + * + * For each parser group, the result contains one Ocr Layout, and one or more parsed results. + */ +PP_CLASS_AVAILABLE_IOS(6.0) +@interface PPBlinkInputRecognizerResult : PPSegmentRecognizerResult + +@end diff --git a/MicroBlink.framework/Headers/PPBlinkInputRecognizerSettings.h b/MicroBlink.framework/Headers/PPBlinkInputRecognizerSettings.h new file mode 100644 index 00000000..eccf974a --- /dev/null +++ b/MicroBlink.framework/Headers/PPBlinkInputRecognizerSettings.h @@ -0,0 +1,34 @@ +// +// PPBlinkInputRecognizerSettings.h +// MicroBlinkDev +// +// Created by Jura Skrlec on 03/08/2017. +// +// + +#import "PPSegmentRecognizerSettings.h" + +#import "PPOcrParserFactory.h" + +// Parser for raw text +#import "PPRawOcrParserFactory.h" + +// Regex parser +#import "PPRegexOcrParserFactory.h" + +// Generic Parsers +#import "PPDateOcrParserFactory.h" +#import "PPEmailOcrParserFactory.h" +#import "PPIbanOcrParserFactory.h" +#import "PPPriceOcrParserFactory.h" +#import "PPLicensePlatesParserFactory.h" +#import "PPVinOcrParserFactory.h" +#import "PPTopUpOcrParserFactory.h" + +/** + * Base class for BlinkInput API and general OCR recognition. + */ +PP_CLASS_AVAILABLE_IOS(6.0) +@interface PPBlinkInputRecognizerSettings : PPSegmentRecognizerSettings + +@end diff --git a/MicroBlink.framework/Headers/PPBlinkInputRecognizers.h b/MicroBlink.framework/Headers/PPBlinkInputRecognizers.h index e4cecd8a..a56d58cf 100644 --- a/MicroBlink.framework/Headers/PPBlinkInputRecognizers.h +++ b/MicroBlink.framework/Headers/PPBlinkInputRecognizers.h @@ -17,6 +17,10 @@ #import "PPDetectorRecognizerSettings.h" #import "PPDetectorRecognizerResult.h" +/** BlinkInput */ +#import "PPBlinkInputRecognizerSettings.h" +#import "PPBlinkInputRecognizerResult.h" + // Vin #import "PPVinRecognizerSettings.h" #import "PPVinRecognizerResult.h" diff --git a/MicroBlink.framework/Headers/PPBlinkOcrRecognizerResult.h b/MicroBlink.framework/Headers/PPBlinkOcrRecognizerResult.h index 1081d321..96d6b09b 100644 --- a/MicroBlink.framework/Headers/PPBlinkOcrRecognizerResult.h +++ b/MicroBlink.framework/Headers/PPBlinkOcrRecognizerResult.h @@ -14,7 +14,7 @@ * * For each parser group, the result contains one Ocr Layout, and one or more parsed results. */ -PP_CLASS_AVAILABLE_IOS(6.0) +PP_CLASS_DEPRECATED_IOS(1_0, 5_10_0, "Use PPDetectorRecognizerResult for templating or PPBlinkInputRecognizerResult segment scan") @interface PPBlinkOcrRecognizerResult : PPTemplatingRecognizerResult @end diff --git a/MicroBlink.framework/Headers/PPBlinkOcrRecognizerSettings.h b/MicroBlink.framework/Headers/PPBlinkOcrRecognizerSettings.h index f61dd205..6576b7d3 100644 --- a/MicroBlink.framework/Headers/PPBlinkOcrRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPBlinkOcrRecognizerSettings.h @@ -33,7 +33,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Class used for OCR or Templating API */ -PP_CLASS_AVAILABLE_IOS(6.0) +PP_CLASS_DEPRECATED_IOS(1_0, 5_10_0, "Use PPDetectorRecognizerSettings for templating API or PPBlinkInputRecognizerSettings for Segment scan") @interface PPBlinkOcrRecognizerSettings : PPTemplatingRecognizerSettings - (instancetype)init; @@ -59,6 +59,28 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic) id documentClassifier; +/** + * Sets array of PPDecodingInfo to be used when PPDocumentClassifer outputs a selected result. + * + * @see PPDocumentClassifier + * + * @param decodingInfos Decoding infos to be used when PPDocumentClassifier outputs selected result + * @param classifierResult Output from PPDocumentClassifer + */ +- (void)setDecodingInfoSet:(NSArray *)decodingInfos forClassifierResult:(NSString *)classifierResult; + +/** + * Removes all decoding infos for a given classifier result. + * + * @param classifierResult Removes all decoding infos linked to specified classifier result + */ +- (void)removeDecodingInfoSetForClassifierResult:(NSString *)classifierResult; + +/** + * Removes all present decoding info + */ +- (void)removeAllDecodingInfoSets; + @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPCroIDBackRecognizerSettings.h b/MicroBlink.framework/Headers/PPCroIDBackRecognizerSettings.h index 3bc393e1..7fbc1960 100644 --- a/MicroBlink.framework/Headers/PPCroIDBackRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPCroIDBackRecognizerSettings.h @@ -49,6 +49,13 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) BOOL displayFullDocumentImage; +/** + * Defines if glare detection should be turned on/off for back side of Croatian IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPCroIDCombinedRecognizerSettings.h b/MicroBlink.framework/Headers/PPCroIDCombinedRecognizerSettings.h index 3a36b42d..a34df6b6 100644 --- a/MicroBlink.framework/Headers/PPCroIDCombinedRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPCroIDCombinedRecognizerSettings.h @@ -92,6 +92,12 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) BOOL encodeFullDocumentPhoto; +/** + * Defines if glare detection should be turned on/off for both front and back side of Croatian IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; @end diff --git a/MicroBlink.framework/Headers/PPCroIDFrontRecognizerResult.h b/MicroBlink.framework/Headers/PPCroIDFrontRecognizerResult.h index 39bcbded..158470d6 100644 --- a/MicroBlink.framework/Headers/PPCroIDFrontRecognizerResult.h +++ b/MicroBlink.framework/Headers/PPCroIDFrontRecognizerResult.h @@ -6,13 +6,13 @@ // Copyright © 2016 MicroBlink Ltd. All rights reserved. // -#import "PPBlinkOcrRecognizerResult.h" +#import "PPDetectorRecognizerResult.h" /** * Class representing values obtained when scanning front side of Croatian ID */ PP_CLASS_AVAILABLE_IOS(6.0) -@interface PPCroIDFrontRecognizerResult : PPBlinkOcrRecognizerResult +@interface PPCroIDFrontRecognizerResult : PPDetectorRecognizerResult /** * The first name of the Croatian ID owner. diff --git a/MicroBlink.framework/Headers/PPCroIDFrontRecognizerSettings.h b/MicroBlink.framework/Headers/PPCroIDFrontRecognizerSettings.h index 3ade7874..fa31b8fa 100644 --- a/MicroBlink.framework/Headers/PPCroIDFrontRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPCroIDFrontRecognizerSettings.h @@ -93,6 +93,13 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) BOOL displayFullDocumentImage; +/** + * Defines if glare detection should be turned on/off for front side of Croatian IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPCzIDBackRecognizerSettings.h b/MicroBlink.framework/Headers/PPCzIDBackRecognizerSettings.h index bdd97692..1834df80 100644 --- a/MicroBlink.framework/Headers/PPCzIDBackRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPCzIDBackRecognizerSettings.h @@ -31,4 +31,11 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic) BOOL displayFullDocumentImage; +/** + * Defines if glare detection should be turned on/off for back side of Czech IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end diff --git a/MicroBlink.framework/Headers/PPCzIDCombinedRecognizerSettings.h b/MicroBlink.framework/Headers/PPCzIDCombinedRecognizerSettings.h index 6494a713..1a6a4ebf 100644 --- a/MicroBlink.framework/Headers/PPCzIDCombinedRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPCzIDCombinedRecognizerSettings.h @@ -91,6 +91,13 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) BOOL encodeFullDocumentPhoto; +/** + * Defines if glare detection should be turned on/off for both front and back side of Czech IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPCzIDFrontRecognizerResult.h b/MicroBlink.framework/Headers/PPCzIDFrontRecognizerResult.h index 221b6b04..2f031372 100644 --- a/MicroBlink.framework/Headers/PPCzIDFrontRecognizerResult.h +++ b/MicroBlink.framework/Headers/PPCzIDFrontRecognizerResult.h @@ -6,13 +6,13 @@ // Copyright © 2016 MicroBlink Ltd. All rights reserved. // -#import "PPBlinkOcrRecognizerResult.h" +#import "PPDetectorRecognizerResult.h" /** * Class representing values obtained when scanning front side of Czech ID */ PP_CLASS_AVAILABLE_IOS(6.0) -@interface PPCzIDFrontRecognizerResult : PPBlinkOcrRecognizerResult +@interface PPCzIDFrontRecognizerResult : PPDetectorRecognizerResult /** * The ID card number of the Czech ID. diff --git a/MicroBlink.framework/Headers/PPCzIDFrontRecognizerSettings.h b/MicroBlink.framework/Headers/PPCzIDFrontRecognizerSettings.h index 31c91a31..fb46252d 100644 --- a/MicroBlink.framework/Headers/PPCzIDFrontRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPCzIDFrontRecognizerSettings.h @@ -61,4 +61,11 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic) BOOL displayFullDocumentImage; +/** + * Defines if glare detection should be turned on/off for front side of Czech IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end diff --git a/MicroBlink.framework/Headers/PPDetectorRecognizerResult.h b/MicroBlink.framework/Headers/PPDetectorRecognizerResult.h index 7a996d03..661834b3 100644 --- a/MicroBlink.framework/Headers/PPDetectorRecognizerResult.h +++ b/MicroBlink.framework/Headers/PPDetectorRecognizerResult.h @@ -6,7 +6,7 @@ // Copyright © 2015 MicroBlink Ltd. All rights reserved. // -#import "PPRecognizerResult.h" +#import "PPTemplatingRecognizerResult.h" #import "PPDetectorResult.h" #import "PPQuadDetectorResult.h" @@ -20,7 +20,7 @@ * Recognizer wrapper for PPDetectorResult */ PP_CLASS_AVAILABLE_IOS(6.0) -@interface PPDetectorRecognizerResult : PPRecognizerResult +@interface PPDetectorRecognizerResult : PPTemplatingRecognizerResult /** * The detector result. The type of the detector result depends on the DetectorSettings used when initializing diff --git a/MicroBlink.framework/Headers/PPDetectorRecognizerSettings.h b/MicroBlink.framework/Headers/PPDetectorRecognizerSettings.h index 014aaa8a..44086033 100644 --- a/MicroBlink.framework/Headers/PPDetectorRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPDetectorRecognizerSettings.h @@ -6,7 +6,7 @@ // Copyright © 2015 MicroBlink Ltd. All rights reserved. // -#import "PPRecognizerSettings.h" +#import "PPTemplatingRecognizerSettings.h" #import "PPDetectorSettings.h" @@ -24,7 +24,7 @@ NS_ASSUME_NONNULL_BEGIN * If multiple detectors are needed, please check PPMultiDetectorSettings. */ PP_CLASS_AVAILABLE_IOS(6.0) -@interface PPDetectorRecognizerSettings : PPRecognizerSettings +@interface PPDetectorRecognizerSettings : PPTemplatingRecognizerSettings /** * Initializes the recognizer with desired detector settings. @@ -36,6 +36,13 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ - (instancetype)init NS_UNAVAILABLE; +/** + * With this enabled, documents will be processed twice: once regulary and second time flipped upside down. + * + * Default: NO + */ +@property (nonatomic) BOOL allowFlippedRecognition; + @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPDocumentDetectorResult.h b/MicroBlink.framework/Headers/PPDocumentDetectorResult.h index 2b2c1b0b..4f3184a5 100644 --- a/MicroBlink.framework/Headers/PPDocumentDetectorResult.h +++ b/MicroBlink.framework/Headers/PPDocumentDetectorResult.h @@ -6,7 +6,7 @@ // Copyright © 2016 MicroBlink Ltd. All rights reserved. // -#import "PPQuadDetectorResult.h" +#import "PPQuadDetectorResultWithSize.h" #import "PPDocumentSpecification.h" @@ -16,7 +16,7 @@ NS_ASSUME_NONNULL_BEGIN * Result of a document detector (used to detector various rectangular objects). */ PP_CLASS_AVAILABLE_IOS(6.0) -@interface PPDocumentDetectorResult : PPQuadDetectorResult +@interface PPDocumentDetectorResult : PPQuadDetectorResultWithSize /** * Aspect ratio of detected document. diff --git a/MicroBlink.framework/Headers/PPDocumentSpecification.h b/MicroBlink.framework/Headers/PPDocumentSpecification.h index 0dc944be..8685ccb8 100644 --- a/MicroBlink.framework/Headers/PPDocumentSpecification.h +++ b/MicroBlink.framework/Headers/PPDocumentSpecification.h @@ -97,7 +97,7 @@ PP_CLASS_AVAILABLE_IOS(6.0) * * @return initialized object */ -- (instancetype)initWithAspectRatio:(CGFloat)aspectRatio decodingInfo:(NSArray *)decodingInfoArray; +- (instancetype)initWithAspectRatio:(CGFloat)aspectRatio decodingInfo:(NSArray *)decodingInfoArray physicalSizeInInches:(CGFloat)physicalSizeInInches; // unavailable initializer @@ -166,6 +166,12 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) PPRange yRange; + +/** + * Physical size of document in inches + */ +@property (nonatomic, assign, readonly) CGFloat physicalSizeInInches; + @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPGermanIDBackRecognizerSettings.h b/MicroBlink.framework/Headers/PPGermanIDBackRecognizerSettings.h index 8cf45118..f3ce4f7b 100644 --- a/MicroBlink.framework/Headers/PPGermanIDBackRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPGermanIDBackRecognizerSettings.h @@ -60,6 +60,12 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic) BOOL returnFullDocumentPhoto; +/** + * Defines if glare detection should be turned on/off for back side of German IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; @end diff --git a/MicroBlink.framework/Headers/PPGermanIDCombinedRecognizerSettings.h b/MicroBlink.framework/Headers/PPGermanIDCombinedRecognizerSettings.h index af7505d8..c751261f 100644 --- a/MicroBlink.framework/Headers/PPGermanIDCombinedRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPGermanIDCombinedRecognizerSettings.h @@ -91,6 +91,13 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) BOOL encodeFullDocumentPhoto; +/** + * Defines if glare detection should be turned on/off for both front and back sides of German IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPGermanIDFrontRecognizerResult.h b/MicroBlink.framework/Headers/PPGermanIDFrontRecognizerResult.h index 76659555..870dcde2 100644 --- a/MicroBlink.framework/Headers/PPGermanIDFrontRecognizerResult.h +++ b/MicroBlink.framework/Headers/PPGermanIDFrontRecognizerResult.h @@ -6,13 +6,13 @@ // Copyright © 2016 MicroBlink Ltd. All rights reserved. // -#import "PPBlinkOcrRecognizerResult.h" +#import "PPDetectorRecognizerResult.h" /** * Class representing values obtained when scanning front side of German ID */ PP_CLASS_AVAILABLE_IOS(6.0) -@interface PPGermanIDFrontRecognizerResult : PPBlinkOcrRecognizerResult +@interface PPGermanIDFrontRecognizerResult : PPDetectorRecognizerResult /** * The first name of the German ID owner. diff --git a/MicroBlink.framework/Headers/PPGermanIDFrontRecognizerSettings.h b/MicroBlink.framework/Headers/PPGermanIDFrontRecognizerSettings.h index 7dd9bab7..276934d9 100644 --- a/MicroBlink.framework/Headers/PPGermanIDFrontRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPGermanIDFrontRecognizerSettings.h @@ -98,6 +98,13 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) BOOL displayFullDocumentImage; +/** + * Defines if glare detection should be turned on/off for front side of German IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPGermanOldIDRecognizerSettings.h b/MicroBlink.framework/Headers/PPGermanOldIDRecognizerSettings.h index 7ec622f5..f945da44 100644 --- a/MicroBlink.framework/Headers/PPGermanOldIDRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPGermanOldIDRecognizerSettings.h @@ -63,6 +63,13 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) BOOL returnFullDocumentPhoto; +/** + * Defines if glare detection should be turned on/off for old German IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPGermanPassportRecognizerResult.h b/MicroBlink.framework/Headers/PPGermanPassportRecognizerResult.h index 51ff74d6..fe582a5c 100644 --- a/MicroBlink.framework/Headers/PPGermanPassportRecognizerResult.h +++ b/MicroBlink.framework/Headers/PPGermanPassportRecognizerResult.h @@ -6,13 +6,13 @@ // Copyright © 2016 MicroBlink Ltd. All rights reserved. // -#import "PPBlinkOcrRecognizerResult.h" +#import "PPDetectorRecognizerResult.h" /** * Class representing values obtained when scanning front side of German ID */ PP_CLASS_AVAILABLE_IOS(6.0) -@interface PPGermanPassportRecognizerResult : PPBlinkOcrRecognizerResult +@interface PPGermanPassportRecognizerResult : PPDetectorRecognizerResult /** * The surname of the German Passport owner. diff --git a/MicroBlink.framework/Headers/PPGermanPassportRecognizerSettings.h b/MicroBlink.framework/Headers/PPGermanPassportRecognizerSettings.h index 6f549d35..2379bf1a 100644 --- a/MicroBlink.framework/Headers/PPGermanPassportRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPGermanPassportRecognizerSettings.h @@ -105,6 +105,13 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) BOOL returnFullDocumentPhoto; +/** + * Defines if glare detection should be turned on/off for German Passport. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPMrtdCombinedRecognizerSettings.h b/MicroBlink.framework/Headers/PPMrtdCombinedRecognizerSettings.h index 84323e7e..52426e1b 100644 --- a/MicroBlink.framework/Headers/PPMrtdCombinedRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPMrtdCombinedRecognizerSettings.h @@ -13,7 +13,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Settings class for configuring MRTD Combined Recognizer. * - * MRTD Combined recognizer is used for scanning both front and back side of german IDs. + * MRTD Combined recognizer is used for scanning both front and back side of generic IDs. */ PP_CLASS_AVAILABLE_IOS(6.0) @interface PPMrtdCombinedRecognizerSettings : PPCombinedRecognizerSettings @@ -91,6 +91,13 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) BOOL encodeFullDocumentPhoto; +/** + * Defines if glare detection should be turned on/off for front and back side of generic ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPMrtdDetectorResult.h b/MicroBlink.framework/Headers/PPMrtdDetectorResult.h index 4ad7fe27..12784a72 100644 --- a/MicroBlink.framework/Headers/PPMrtdDetectorResult.h +++ b/MicroBlink.framework/Headers/PPMrtdDetectorResult.h @@ -6,7 +6,7 @@ // Copyright © 2016 MicroBlink Ltd. All rights reserved. // -#import "PPQuadDetectorResult.h" +#import "PPQuadDetectorResultWithSize.h" NS_ASSUME_NONNULL_BEGIN @@ -42,23 +42,13 @@ typedef NS_ENUM(NSUInteger, PPMrtdDetectionCode) { * Result of MRTD detector */ PP_CLASS_AVAILABLE_IOS(6.0) -@interface PPMrtdDetectorResult : PPQuadDetectorResult +@interface PPMrtdDetectorResult : PPQuadDetectorResultWithSize /** * Detection code of MRTD detection */ @property (nonatomic) PPMrtdDetectionCode mrtdDetectionCode; -/** - * Number of characters per line - */ -@property (nonatomic) NSArray *elementsCountPerLine; - -/** - * Confidence in detector result - */ -@property (nonatomic) CGFloat confidence; - @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPMrtdRecognizerSettings.h b/MicroBlink.framework/Headers/PPMrtdRecognizerSettings.h index 524610b4..198cc710 100644 --- a/MicroBlink.framework/Headers/PPMrtdRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPMrtdRecognizerSettings.h @@ -7,6 +7,7 @@ // #import "PPTemplatingRecognizerSettings.h" +#import "PPMrzFilter.h" NS_ASSUME_NONNULL_BEGIN @@ -86,6 +87,13 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) BOOL dewarpFullDocument; +/** + * Delegate for mrz filter. + * + * Default: nil + */ +@property (nonatomic, weak) id mrzFilter; + @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPMrzFilter.h b/MicroBlink.framework/Headers/PPMrzFilter.h new file mode 100644 index 00000000..e9da2f80 --- /dev/null +++ b/MicroBlink.framework/Headers/PPMrzFilter.h @@ -0,0 +1,25 @@ +// +// PPMrzFilter.h +// MicroBlinkDev +// +// Created by Jura Skrlec on 28/08/2017. +// +// + + +#import "PPMicroBlinkDefines.h" +#import "PPMrtdRecognizerResult.h" + +/** + * Protocol used for mrz filtering. + * Filtering is used for better filtering of different documet types + */ +@protocol PPMrzFilter + +/** + * Method for setting mrz filter from PPMrtdRecognizerResult. + * The returning BOOL determines if scanned document is filtered correctly for that document. + */ +- (BOOL)mrzFilterForResult:(PPMrtdRecognizerResult *)result; + +@end diff --git a/MicroBlink.framework/Headers/PPQuadDetectorResultWithSize.h b/MicroBlink.framework/Headers/PPQuadDetectorResultWithSize.h new file mode 100644 index 00000000..3226b414 --- /dev/null +++ b/MicroBlink.framework/Headers/PPQuadDetectorResultWithSize.h @@ -0,0 +1,24 @@ +// +// PPQuadDetectorResultWithSize.h +// MicroBlinkDev +// +// Created by Jura Skrlec on 30/08/2017. +// +// + +#import "PPQuadDetectorResult.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * Result of the detection of a Quad detector. + * Quad results are results of detecting various rectangular objects. + */ +PP_CLASS_AVAILABLE_IOS(6.0) +@interface PPQuadDetectorResultWithSize : PPQuadDetectorResult + +@property (nonatomic, assign) CGFloat physicalSizeInInches; + +@end + +NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPRomanianIDFrontRecognizerSettings.h b/MicroBlink.framework/Headers/PPRomanianIDFrontRecognizerSettings.h index 96c8113a..3c6d9f47 100644 --- a/MicroBlink.framework/Headers/PPRomanianIDFrontRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPRomanianIDFrontRecognizerSettings.h @@ -116,4 +116,11 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) BOOL encodeFullDocumentImage; +/** + * Defines if glare detection should be turned on/off for front side of Romanian IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end diff --git a/MicroBlink.framework/Headers/PPSegmentRecognizerResult.h b/MicroBlink.framework/Headers/PPSegmentRecognizerResult.h new file mode 100644 index 00000000..b57c0f04 --- /dev/null +++ b/MicroBlink.framework/Headers/PPSegmentRecognizerResult.h @@ -0,0 +1,97 @@ +// +// PPSegmentRecognizerResult.h +// MicroBlinkDev +// +// Created by Jura Skrlec on 03/08/2017. +// +// + +#import "PPRecognizerResult.h" +#import "PPOcrLayout.h" + +/** + * Result of scanning with OCR Recognizer + * + * For each parser group, the result contains one Ocr Layout, and one or more parsed results. + */ +PP_CLASS_AVAILABLE_IOS(6.0) +@interface PPSegmentRecognizerResult : PPRecognizerResult + +/** + * If only default parser group is used, this method returns the OCR layout for this parser group + * + * @return OCR layout for default parser group + */ +- (PPOcrLayout *_Nullable)ocrLayout; + +/** + * If only default parser group is used, this method returns parsed string from the default parser group + * + * @param name name of the parser responsible for parsing the wanted string + * + * @return parsed string + */ +- (NSString *_Nullable)parsedResultForName:(NSString *_Nonnull)name; + +/** + * If only default parser group is used, this method returns parsed object from the default parser group + * For example, date parser represented with PPDateOcrParserFactory can return parsed date here as + * NSDate object. It is always possible to obtain parsed result as raw string by using {@link parsedResultForName:} + * method. + * + * @param name name of the parser responsible for parsing the wanted string + * + * @return parsed object + */ +- (NSObject *_Nullable)specificParsedResultForName:(NSString *_Nonnull)name; + +/** + * Retrieves OCR layout from arbitrary parser groups + * + * @param parserGroup parser group name + * + * @return OCR layout for given parser group + */ +- (PPOcrLayout *_Nullable)ocrLayoutForParserGroup:(NSString *_Nonnull)parserGroup; + +/** + * Retrieves parsed string from given parser group + * + * @param name name of the parser responsible for parsing the wanted string + * @param parserGroup parser group name + * + * @return parsed string + */ +- (NSString *_Nullable)parsedResultForName:(NSString *_Nonnull)name parserGroup:(NSString *_Nonnull)parserGroup; + +/** + * Retrieves parsed boolean from given parser group + * + * @param name name of the parser responsible for parsing the wanted string + * @param parserGroup parser group name + * + * @return parsed string + */ +- (NSNumber *_Nullable)boolParsedResultForName:(NSString *_Nonnull)name parserGroup:(NSString *_Nonnull)parserGroup; + +/** + * Retrieves parsed object from given parser group + * + * @param name name of the parser responsible for parsing the wanted string + * @param parserGroup parser group name + * + * @return parsed object + */ +- (NSObject *_Nullable)specificParsedResultForName:(NSString *_Nonnull)name parserGroup:(NSString *_Nonnull)parserGroup; + +/** + * Retrieves raw parsed object from given parser group + * + * @param name name of the parser responsible for parsing the wanted string + * @param parserGroup parser group name + * + * @return raw parsed object + */ +- (NSString *_Nullable)rawParsedResultForName:(NSString *_Nonnull)name parserGroup:(NSString *_Nonnull)parserGroup; + +@end diff --git a/MicroBlink.framework/Headers/PPSegmentRecognizerSettings.h b/MicroBlink.framework/Headers/PPSegmentRecognizerSettings.h new file mode 100644 index 00000000..feccb975 --- /dev/null +++ b/MicroBlink.framework/Headers/PPSegmentRecognizerSettings.h @@ -0,0 +1,77 @@ +// +// PPSegmentRecognizerSettings.h +// MicroBlinkDev +// +// Created by Jura Skrlec on 03/08/2017. +// +// + +#import "PPRecognizerSettings.h" +#import "PPOcrParserFactory.h" +#import "PPDecodingInfo.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * Base class for Segment API and general OCR recognition. + */ +PP_CLASS_AVAILABLE_IOS(6.0) +@interface PPSegmentRecognizerSettings : PPRecognizerSettings + +/** + * Adds OCR parser. Parser results will be fetched by parser name. + * + * Parsers added this way are added to default group. + * + * @param factory Parser to be added + * @param name ID of the parser to be added. Output of this parser can be fetched by this name + */ +- (void)addOcrParser:(PPOcrParserFactory *)factory name:(NSString *)name; + +/** + * Adds OCR parser to group. Parser results will be fetched by parser name and group. + * Adding more parsers to same group will result in changing character whitelist of parsers but will also slightly increase performance + * since only one recognition will be done on the same image. + * + * It is advised to keep similar parsers (i.e. first and last name parsers) in same groups + * and parsers with different character sets in different groups (i.e. amount parser and email parser). + * + * If using Templating API, parser groups also denote which parsers will be used for specific PPDecodingInfo (group name and uniqueId have + * to be same). + * + * @param factory Parser to be added + * @param name Name/ID of the parser to be added. Output of this parser can be fetched by this name + * @param group Group name/ID of the parser to be added + */ +- (void)addOcrParser:(PPOcrParserFactory *)factory name:(NSString *)name group:(NSString *)group; + +/** + * Removes parser with given name. + * + * @param name Name/ID of the parser to be removed + */ +- (void)removeOcrParserWithName:(NSString *)name; + +/** + * Removes parser with given name from group. + * + * @param parser Name/ID of the parser to be removed + * @param group Group name/ID of the parser to be removed + */ +- (void)removeOcrParserWithName:(NSString *)parser fromGroup:(NSString *)group; + +/** + * Removes all parsers from a given group. + * + * @param group name/ID in which all parsers will be removed + */ +- (void)clearParsersInGroup:(NSString *)group; + +/** + * Removes all present parsers. + */ +- (void)clearAllParsers; + +@end + +NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPSerbianIDBackRecognizerSettings.h b/MicroBlink.framework/Headers/PPSerbianIDBackRecognizerSettings.h index ab399f67..73dbf48d 100644 --- a/MicroBlink.framework/Headers/PPSerbianIDBackRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPSerbianIDBackRecognizerSettings.h @@ -31,4 +31,11 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) BOOL displayFullDocumentImage; +/** + * Defines if glare detection should be turned on/off for back side of Serbian IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end diff --git a/MicroBlink.framework/Headers/PPSerbianIDCombinedRecognizerSettings.h b/MicroBlink.framework/Headers/PPSerbianIDCombinedRecognizerSettings.h index cf7d1fc0..a34ea562 100644 --- a/MicroBlink.framework/Headers/PPSerbianIDCombinedRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPSerbianIDCombinedRecognizerSettings.h @@ -91,6 +91,13 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) BOOL encodeFullDocumentPhoto; +/** + * Defines if glare detection should be turned on/off for both front and back side of Serbian IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPSerbianIDFrontRecognizerResult.h b/MicroBlink.framework/Headers/PPSerbianIDFrontRecognizerResult.h index a2e53c94..61db38a5 100644 --- a/MicroBlink.framework/Headers/PPSerbianIDFrontRecognizerResult.h +++ b/MicroBlink.framework/Headers/PPSerbianIDFrontRecognizerResult.h @@ -6,13 +6,13 @@ // Copyright © 2016 MicroBlink Ltd. All rights reserved. // -#import "PPBlinkOcrRecognizerResult.h" +#import "PPDetectorRecognizerResult.h" /** * Class representing values obtained when scanning front side side of Serbian ID */ PP_CLASS_AVAILABLE_IOS(6.0) -@interface PPSerbianIDFrontRecognizerResult : PPBlinkOcrRecognizerResult +@interface PPSerbianIDFrontRecognizerResult : PPDetectorRecognizerResult /** * The issuing date of the Serbian ID. diff --git a/MicroBlink.framework/Headers/PPSerbianIDFrontRecognizerSettings.h b/MicroBlink.framework/Headers/PPSerbianIDFrontRecognizerSettings.h index e0267f8d..278b0986 100644 --- a/MicroBlink.framework/Headers/PPSerbianIDFrontRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPSerbianIDFrontRecognizerSettings.h @@ -75,4 +75,11 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) BOOL displayFullDocumentImage; +/** + * Defines if glare detection should be turned on/off for front side of Serbian IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end diff --git a/MicroBlink.framework/Headers/PPSingaporeIDBackRecognizerResult.h b/MicroBlink.framework/Headers/PPSingaporeIDBackRecognizerResult.h index b9e567b9..a493f3f5 100644 --- a/MicroBlink.framework/Headers/PPSingaporeIDBackRecognizerResult.h +++ b/MicroBlink.framework/Headers/PPSingaporeIDBackRecognizerResult.h @@ -6,14 +6,14 @@ // Copyright © 2016 MicroBlink Ltd. All rights reserved. // -#import "PPBlinkOcrRecognizerResult.h" +#import "PPDetectorRecognizerResult.h" /** * Class representing values obtained when scanning Singapore ID. * Both front and back side can be scanned but the results will be different for each side */ PP_CLASS_AVAILABLE_IOS(6.0) -@interface PPSingaporeIDBackRecognizerResult : PPBlinkOcrRecognizerResult +@interface PPSingaporeIDBackRecognizerResult : PPDetectorRecognizerResult /** * The identity card number of the Singapore ID. diff --git a/MicroBlink.framework/Headers/PPSingaporeIDBackRecognizerSettings.h b/MicroBlink.framework/Headers/PPSingaporeIDBackRecognizerSettings.h index 27fe2572..7b9ec979 100644 --- a/MicroBlink.framework/Headers/PPSingaporeIDBackRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPSingaporeIDBackRecognizerSettings.h @@ -47,4 +47,11 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic) BOOL displayFullDocumentImage; +/** + * Defines if glare detection should be turned on/off for back side of Singapore IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end diff --git a/MicroBlink.framework/Headers/PPSingaporeIDCombinedRecognizerSettings.h b/MicroBlink.framework/Headers/PPSingaporeIDCombinedRecognizerSettings.h index e3a9e962..c943fc80 100644 --- a/MicroBlink.framework/Headers/PPSingaporeIDCombinedRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPSingaporeIDCombinedRecognizerSettings.h @@ -70,6 +70,13 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) BOOL encodeFullDocumentPhoto; +/** + * Defines if glare detection should be turned on/off for both front and back side of Singapore IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPSingaporeIDFrontRecognizerResult.h b/MicroBlink.framework/Headers/PPSingaporeIDFrontRecognizerResult.h index 81845e28..df8ad393 100644 --- a/MicroBlink.framework/Headers/PPSingaporeIDFrontRecognizerResult.h +++ b/MicroBlink.framework/Headers/PPSingaporeIDFrontRecognizerResult.h @@ -6,13 +6,13 @@ // Copyright © 2016 MicroBlink Ltd. All rights reserved. // -#import "PPBlinkOcrRecognizerResult.h" +#import "PPDetectorRecognizerResult.h" /** * Class representing values obtained when scanning front side of Singapore ID. */ PP_CLASS_AVAILABLE_IOS(6.0) -@interface PPSingaporeIDFrontRecognizerResult : PPBlinkOcrRecognizerResult +@interface PPSingaporeIDFrontRecognizerResult : PPDetectorRecognizerResult /** * The identity card number of the Singapore ID. diff --git a/MicroBlink.framework/Headers/PPSingaporeIDFrontRecognizerSettings.h b/MicroBlink.framework/Headers/PPSingaporeIDFrontRecognizerSettings.h index 5553984d..d346056a 100644 --- a/MicroBlink.framework/Headers/PPSingaporeIDFrontRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPSingaporeIDFrontRecognizerSettings.h @@ -74,4 +74,11 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic) BOOL displayFullDocumentImage; +/** + * Defines if glare detection should be turned on/off for for side of Singapore IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end diff --git a/MicroBlink.framework/Headers/PPSlovakIDBackRecognizerSettings.h b/MicroBlink.framework/Headers/PPSlovakIDBackRecognizerSettings.h index 700c3340..ada4335c 100644 --- a/MicroBlink.framework/Headers/PPSlovakIDBackRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPSlovakIDBackRecognizerSettings.h @@ -52,5 +52,12 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic) BOOL displayFullDocumentImage; +/** + * Defines if glare detection should be turned on/off for back side of Slovak IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end diff --git a/MicroBlink.framework/Headers/PPSlovakIDCombinedRecognizerSettings.h b/MicroBlink.framework/Headers/PPSlovakIDCombinedRecognizerSettings.h index cb54e3d1..fb2cddd1 100644 --- a/MicroBlink.framework/Headers/PPSlovakIDCombinedRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPSlovakIDCombinedRecognizerSettings.h @@ -161,6 +161,13 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) BOOL encodeFullDocumentPhoto; +/** + * Defines if glare detection should be turned on/off for both front and back side of Slovak IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPSlovakIDFrontRecognizerResult.h b/MicroBlink.framework/Headers/PPSlovakIDFrontRecognizerResult.h index c54bc096..001ee984 100644 --- a/MicroBlink.framework/Headers/PPSlovakIDFrontRecognizerResult.h +++ b/MicroBlink.framework/Headers/PPSlovakIDFrontRecognizerResult.h @@ -6,13 +6,13 @@ // Copyright © 2016 MicroBlink Ltd. All rights reserved. // -#import "PPBlinkOcrRecognizerResult.h" +#import "PPDetectorRecognizerResult.h" /** * Class representing values obtained when scanning front side of Slovak ID */ PP_CLASS_AVAILABLE_IOS(6.0) -@interface PPSlovakIDFrontRecognizerResult : PPBlinkOcrRecognizerResult +@interface PPSlovakIDFrontRecognizerResult : PPDetectorRecognizerResult /** * The first name of the Slovakian ID owner. diff --git a/MicroBlink.framework/Headers/PPSlovakIDFrontRecognizerSettings.h b/MicroBlink.framework/Headers/PPSlovakIDFrontRecognizerSettings.h index f8d9e11f..5943be2f 100644 --- a/MicroBlink.framework/Headers/PPSlovakIDFrontRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPSlovakIDFrontRecognizerSettings.h @@ -110,4 +110,11 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic) BOOL displayFullDocumentImage; +/** + * Defines if glare detection should be turned on/off for front side of Slovak IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end diff --git a/MicroBlink.framework/Headers/PPSlovenianIDBackRecognizerSettings.h b/MicroBlink.framework/Headers/PPSlovenianIDBackRecognizerSettings.h index 0a29e895..adc28b21 100644 --- a/MicroBlink.framework/Headers/PPSlovenianIDBackRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPSlovenianIDBackRecognizerSettings.h @@ -45,4 +45,11 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) BOOL displayFullDocumentImage; +/** + * Defines if glare detection should be turned on/off for back side of Slovenian IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end diff --git a/MicroBlink.framework/Headers/PPSlovenianIDCombinedRecognizerSettings.h b/MicroBlink.framework/Headers/PPSlovenianIDCombinedRecognizerSettings.h index 6e759f53..0af45cbd 100644 --- a/MicroBlink.framework/Headers/PPSlovenianIDCombinedRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPSlovenianIDCombinedRecognizerSettings.h @@ -91,6 +91,13 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) BOOL encodeFullDocumentPhoto; +/** + * Defines if glare detection should be turned on/off for both front and back side of Slovenian IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPSlovenianIDFrontRecognizerResult.h b/MicroBlink.framework/Headers/PPSlovenianIDFrontRecognizerResult.h index cacfbc5d..decdcbe7 100644 --- a/MicroBlink.framework/Headers/PPSlovenianIDFrontRecognizerResult.h +++ b/MicroBlink.framework/Headers/PPSlovenianIDFrontRecognizerResult.h @@ -6,13 +6,13 @@ // Copyright © 2016 MicroBlink Ltd. All rights reserved. // -#import "PPBlinkOcrRecognizerResult.h" +#import "PPDetectorRecognizerResult.h" /** * Class representing values obtained when scanning front side side of Slovenian ID */ PP_CLASS_AVAILABLE_IOS(6.0) -@interface PPSlovenianIDFrontRecognizerResult : PPBlinkOcrRecognizerResult +@interface PPSlovenianIDFrontRecognizerResult : PPDetectorRecognizerResult /** * The first name of the Slovenian ID owner. diff --git a/MicroBlink.framework/Headers/PPSlovenianIDFrontRecognizerSettings.h b/MicroBlink.framework/Headers/PPSlovenianIDFrontRecognizerSettings.h index 33fdf072..3f9c8f6b 100644 --- a/MicroBlink.framework/Headers/PPSlovenianIDFrontRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPSlovenianIDFrontRecognizerSettings.h @@ -89,4 +89,11 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) BOOL displayFullDocumentImage; +/** + * Defines if glare detection should be turned on/off for front side of Slovenian IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end diff --git a/MicroBlink.framework/Headers/PPSwissIDBackRecognizerResult.h b/MicroBlink.framework/Headers/PPSwissIDBackRecognizerResult.h new file mode 100644 index 00000000..f1d7b497 --- /dev/null +++ b/MicroBlink.framework/Headers/PPSwissIDBackRecognizerResult.h @@ -0,0 +1,57 @@ +// +// PPSwissIDBackRecognizerResult.h +// MicroBlinkDev +// +// Created by Jura Skrlec on 04/08/2017. +// +// + +#import "PPMrtdRecognizerResult.h" + +/** + * Result of scanning with Swiss ID Back side recognizer + */ +PP_CLASS_AVAILABLE_IOS(6.0) +@interface PPSwissIDBackRecognizerResult : PPMrtdRecognizerResult + +/** + * The address of the Swiss ID owner. + */ +@property (nonatomic, readonly, nullable) NSString *placeOfOrigin; + +/** + * The address of the Swiss ID owner. + */ +@property (nonatomic, readonly, nullable) NSString *height; + +/** + * The issuing authority of Swiss ID. + */ +@property (nonatomic, readonly, nullable) NSString *issuingAuthority; + +/** + * The document date of issue of the Swiss ID in DD.MM.yyyy format. + */ +@property (nonatomic, readonly, nullable) NSString *rawDocumentDateOfIssue; + +/** + * The document date of issue of the Swiss ID. + */ +@property (nonatomic, readonly, nullable) NSDate *documentDateOfIssue; + +/** + * The document date of issue of the Swiss ID in DD.MM.yyyy format. + */ +@property (nonatomic, readonly, nullable) NSString *rawDocumentDateOfExpiry; + +/** + * The document date of issue of the Swiss ID. + */ +@property (nonatomic, readonly, nullable) NSDate *documentDateOfExpiry; + +/** + * The address of the Swiss ID owner. + */ +@property (nonatomic, readonly, nullable) NSString *sex; + +@end diff --git a/MicroBlink.framework/Headers/PPSwissIDBackRecognizerSettings.h b/MicroBlink.framework/Headers/PPSwissIDBackRecognizerSettings.h new file mode 100644 index 00000000..60ad29f9 --- /dev/null +++ b/MicroBlink.framework/Headers/PPSwissIDBackRecognizerSettings.h @@ -0,0 +1,89 @@ +// +// PPSwissIDBackRecognizerSettings.h +// MicroBlinkDev +// +// Created by Jura Skrlec on 04/08/2017. +// +// + +#import "PPRecognizerSettings.h" + + +NS_ASSUME_NONNULL_BEGIN + +/** + * Settings class for configuring Swiss Back ID Recognizer. + * + * Swiss Back ID recognizer is used for scanning back side of Swiss ID. It always extracts + * MRZ zone and address of ID holder while extracting other elements is optional. + */ +PP_CLASS_AVAILABLE_IOS(6.0) +@interface PPSwissIDBackRecognizerSettings : 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 face image + * is enabled via displayFullDocumentImage property and receiving of dewarpedImage in MetadataSettings is enabled. + */ ++ (NSString *)FULL_DOCUMENT_IMAGE; + +/** + * Defines if issuing authority of Swiss ID should be extracted + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractIssuingAuthority; + +/** + * Defines if date of issue of Swiss ID should be extracted + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractDateOfIssue; + +/** + * Defines if date of expiry of Swiss ID should be extracted + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractDateOfExpiry; + +/** + * Defines if place of origin of Swiss ID holder should be extracted + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractPlaceOfOrigin; + +/** + * Defines if height of Swiss ID holder should be extracted + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractHeight; + +/** + * Defines if sex of Swiss ID folder should be extracted + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractSex; + +/** + * 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 back side of Swiss IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + +@end + +NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPSwissIDFrontRecognizerResult.h b/MicroBlink.framework/Headers/PPSwissIDFrontRecognizerResult.h new file mode 100644 index 00000000..37fb406e --- /dev/null +++ b/MicroBlink.framework/Headers/PPSwissIDFrontRecognizerResult.h @@ -0,0 +1,37 @@ +// +// PPSwissIDFrontRecognizerResult.h +// MicroBlinkDev +// +// Created by Jura Skrlec on 04/09/2017. +// +// + +#import "PPDetectorRecognizerResult.h" + +/** + * Class representing values obtained when scanning front side of Swiss ID + */ +PP_CLASS_AVAILABLE_IOS(6.0) +@interface PPSwissIDFrontRecognizerResult : PPDetectorRecognizerResult + +/** + * The first name of the Swiss ID owner. + */ +@property (nonatomic, readonly, nullable) NSString *firstName; + +/** + * The last name of the Swiss ID owner. + */ +@property (nonatomic, readonly, nullable) NSString *lastName; + +/** + * The date of birth of the Swiss ID owner in dd.MM.yyyy format. + */ +@property (nonatomic, readonly, nullable) NSString *rawDateOfBirth; + +/** + * The date of birth of the Swiss ID owner. + */ +@property (nonatomic, readonly, nullable) NSDate *dateOfBirth; + +@end diff --git a/MicroBlink.framework/Headers/PPSwissIDFrontRecognizerSettings.h b/MicroBlink.framework/Headers/PPSwissIDFrontRecognizerSettings.h new file mode 100644 index 00000000..fcc92846 --- /dev/null +++ b/MicroBlink.framework/Headers/PPSwissIDFrontRecognizerSettings.h @@ -0,0 +1,85 @@ +// +// PPSwissIDFrontRecognizerSettings.h +// MicroBlinkDev +// +// Created by Jura Skrlec on 04/09/2017. +// +// + +#import "PPRecognizerSettings.h" + +/** + * Settings class for configuring Swiss Front ID Recognizer. + * + * Swiss Front ID recognizer is used for scanning front side of Swiss ID. + */ +PP_CLASS_AVAILABLE_IOS(6.0) +@interface PPSwissIDFrontRecognizerSettings : 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 owner's first name should be extracted from Swiss ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractFirstName; + +/** + * Defines if owner's last name should be extracted from Swiss ID + * + * Default: YES + */ +@property (nonatomic, assign) BOOL extractLastName; + +/** + * 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; + +/** + * Defines if glare detection should be turned on/off for front side of Swiss IDs. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + +@end diff --git a/MicroBlink.framework/Headers/PPSwissPassportRecognizerResult.h b/MicroBlink.framework/Headers/PPSwissPassportRecognizerResult.h index 437bc6f2..1f6ec7c0 100644 --- a/MicroBlink.framework/Headers/PPSwissPassportRecognizerResult.h +++ b/MicroBlink.framework/Headers/PPSwissPassportRecognizerResult.h @@ -6,13 +6,13 @@ // // -#import "PPBlinkOcrRecognizerResult.h" +#import "PPDetectorRecognizerResult.h" /** * Class representing values obtained when scanning of Swiss Passport */ PP_CLASS_AVAILABLE_IOS(6.0) -@interface PPSwissPassportRecognizerResult : PPBlinkOcrRecognizerResult +@interface PPSwissPassportRecognizerResult : PPDetectorRecognizerResult /** * The surname of the Swiss Passport owner. diff --git a/MicroBlink.framework/Headers/PPSwissPassportRecognizerSettings.h b/MicroBlink.framework/Headers/PPSwissPassportRecognizerSettings.h index fd9dc774..c58a4e98 100644 --- a/MicroBlink.framework/Headers/PPSwissPassportRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPSwissPassportRecognizerSettings.h @@ -118,6 +118,13 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) BOOL returnFullDocumentPhoto; +/** + * Defines if glare detection should be turned on/off for Swiss Passports. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPTemplatingRecognizerResult.h b/MicroBlink.framework/Headers/PPTemplatingRecognizerResult.h index 92e39a01..855ef203 100644 --- a/MicroBlink.framework/Headers/PPTemplatingRecognizerResult.h +++ b/MicroBlink.framework/Headers/PPTemplatingRecognizerResult.h @@ -6,7 +6,7 @@ // Copyright (c) 2014 MicroBlink Ltd. All rights reserved. // -#import "PPRecognizerResult.h" +#import "PPSegmentRecognizerResult.h" #import "PPOcrLayout.h" /** @@ -15,84 +15,7 @@ * For each parser group, the result contains one Ocr Layout, and one or more parsed results. */ PP_CLASS_AVAILABLE_IOS(6.0) -@interface PPTemplatingRecognizerResult : PPRecognizerResult - -/** - * If only default parser group is used, this method returns the OCR layout for this parser group - * - * @return OCR layout for default parser group - */ -- (PPOcrLayout *_Nullable)ocrLayout; - -/** - * If only default parser group is used, this method returns parsed string from the default parser group - * - * @param name name of the parser responsible for parsing the wanted string - * - * @return parsed string - */ -- (NSString *_Nullable)parsedResultForName:(NSString *_Nonnull)name; - -/** - * If only default parser group is used, this method returns parsed object from the default parser group - * For example, date parser represented with PPDateOcrParserFactory can return parsed date here as - * NSDate object. It is always possible to obtain parsed result as raw string by using {@link parsedResultForName:} - * method. - * - * @param name name of the parser responsible for parsing the wanted string - * - * @return parsed object - */ -- (NSObject *_Nullable)specificParsedResultForName:(NSString *_Nonnull)name; - -/** - * Retrieves OCR layout from arbitrary parser groups - * - * @param parserGroup parser group name - * - * @return OCR layout for given parser group - */ -- (PPOcrLayout *_Nullable)ocrLayoutForParserGroup:(NSString *_Nonnull)parserGroup; - -/** - * Retrieves parsed string from given parser group - * - * @param name name of the parser responsible for parsing the wanted string - * @param parserGroup parser group name - * - * @return parsed string - */ -- (NSString *_Nullable)parsedResultForName:(NSString *_Nonnull)name parserGroup:(NSString *_Nonnull)parserGroup; - -/** - * Retrieves parsed boolean from given parser group - * - * @param name name of the parser responsible for parsing the wanted string - * @param parserGroup parser group name - * - * @return parsed string - */ -- (NSNumber *_Nullable)boolParsedResultForName:(NSString *_Nonnull)name parserGroup:(NSString *_Nonnull)parserGroup; - -/** - * Retrieves parsed object from given parser group - * - * @param name name of the parser responsible for parsing the wanted string - * @param parserGroup parser group name - * - * @return parsed object - */ -- (NSObject *_Nullable)specificParsedResultForName:(NSString *_Nonnull)name parserGroup:(NSString *_Nonnull)parserGroup; - -/** - * Retrieves raw parsed object from given parser group - * - * @param name name of the parser responsible for parsing the wanted string - * @param parserGroup parser group name - * - * @return raw parsed object - */ -- (NSString *_Nullable)rawParsedResultForName:(NSString *_Nonnull)name parserGroup:(NSString *_Nonnull)parserGroup; +@interface PPTemplatingRecognizerResult : PPSegmentRecognizerResult /** * Returns result of document classification, if any. diff --git a/MicroBlink.framework/Headers/PPTemplatingRecognizerSettings.h b/MicroBlink.framework/Headers/PPTemplatingRecognizerSettings.h index 1f045e36..f2737f7f 100644 --- a/MicroBlink.framework/Headers/PPTemplatingRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPTemplatingRecognizerSettings.h @@ -6,7 +6,7 @@ // Copyright © 2016 MicroBlink Ltd. All rights reserved. // -#import "PPRecognizerSettings.h" +#import "PPSegmentRecognizerSettings.h" #import "PPOcrParserFactory.h" #import "PPDecodingInfo.h" @@ -16,64 +16,10 @@ NS_ASSUME_NONNULL_BEGIN * Base class for Templating API and general OCR recognition. */ PP_CLASS_AVAILABLE_IOS(6.0) -@interface PPTemplatingRecognizerSettings : PPRecognizerSettings +@interface PPTemplatingRecognizerSettings : PPSegmentRecognizerSettings @property (nonatomic) BOOL allowUnparsedResults; -/** - * Adds OCR parser. Parser results will be fetched by parser name. - * - * Parsers added this way are added to default group. - * - * @param factory Parser to be added - * @param name ID of the parser to be added. Output of this parser can be fetched by this name - */ -- (void)addOcrParser:(PPOcrParserFactory *)factory name:(NSString *)name; - -/** - * Adds OCR parser to group. Parser results will be fetched by parser name and group. - * Adding more parsers to same group will result in changing character whitelist of parsers but will also slightly increase performance - * since only one recognition will be done on the same image. - * - * It is advised to keep similar parsers (i.e. first and last name parsers) in same groups - * and parsers with different character sets in different groups (i.e. amount parser and email parser). - * - * If using Templating API, parser groups also denote which parsers will be used for specific PPDecodingInfo (group name and uniqueId have - * to be same). - * - * @param factory Parser to be added - * @param name Name/ID of the parser to be added. Output of this parser can be fetched by this name - * @param group Group name/ID of the parser to be added - */ -- (void)addOcrParser:(PPOcrParserFactory *)factory name:(NSString *)name group:(NSString *)group; - -/** - * Removes parser with given name. - * - * @param name Name/ID of the parser to be removed - */ -- (void)removeOcrParserWithName:(NSString *)name; - -/** - * Removes parser with given name from group. - * - * @param parser Name/ID of the parser to be removed - * @param group Group name/ID of the parser to be removed - */ -- (void)removeOcrParserWithName:(NSString *)parser fromGroup:(NSString *)group; - -/** - * Removes all parsers from a given group. - * - * @param group name/ID in which all parsers will be removed - */ -- (void)clearParsersInGroup:(NSString *)group; - -/** - * Removes all present parsers. - */ -- (void)clearAllParsers; - /** * Sets array of PPDecodingInfo to be used when PPDocumentClassifer outputs a selected result. * @@ -96,6 +42,20 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ - (void)removeAllDecodingInfoSets; +/** + * Defines if glare detection should be turned on/off for Templating Recognizer. + * + * Default: YES + */ +@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 22a7c235..36bf53ef 100644 --- a/MicroBlink.framework/Headers/PPUsdlRecognizerResult.h +++ b/MicroBlink.framework/Headers/PPUsdlRecognizerResult.h @@ -922,16 +922,6 @@ PP_EXTERN NSString *_Nonnull const kPPSecurityVersion; */ PP_EXTERN NSString *_Nonnull const kPPPdf417; -/** - Raw code128 result - */ -PP_EXTERN NSString *_Nonnull const kPPCode128; - -/** - Raw code39 result - */ -PP_EXTERN NSString *_Nonnull const kPPCode39; - #pragma mark - PPUsdlRecognizerResult implementation /** diff --git a/MicroBlink.framework/Headers/PPUsdlRecognizerSettings.h b/MicroBlink.framework/Headers/PPUsdlRecognizerSettings.h index 07624a46..0d5f0c4c 100644 --- a/MicroBlink.framework/Headers/PPUsdlRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPUsdlRecognizerSettings.h @@ -38,14 +38,6 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic) BOOL allowNullQuietZone; -/** - * Set this to YES if you want to scan 1D barcodes if they are present on the DL. - * If NO, just PDF417 barcode will be scanned. - * - * Default: NO - */ -@property (nonatomic) BOOL scan1DCodes; - @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Headers/PPiKadRecognizerResult.h b/MicroBlink.framework/Headers/PPiKadRecognizerResult.h index b5dd13d4..877d82c3 100644 --- a/MicroBlink.framework/Headers/PPiKadRecognizerResult.h +++ b/MicroBlink.framework/Headers/PPiKadRecognizerResult.h @@ -6,13 +6,13 @@ // Copyright © 2016 MicroBlink Ltd. All rights reserved. // -#import "PPBlinkOcrRecognizerResult.h" +#import "PPDetectorRecognizerResult.h" /** * Class representing values obtained when scanning front side of iKad */ PP_CLASS_AVAILABLE_IOS(6.0) -@interface PPiKadRecognizerResult : PPBlinkOcrRecognizerResult +@interface PPiKadRecognizerResult : PPDetectorRecognizerResult /** * The name of the iKad owner. diff --git a/MicroBlink.framework/Headers/PPiKadRecognizerSettings.h b/MicroBlink.framework/Headers/PPiKadRecognizerSettings.h index 79734009..90643d70 100644 --- a/MicroBlink.framework/Headers/PPiKadRecognizerSettings.h +++ b/MicroBlink.framework/Headers/PPiKadRecognizerSettings.h @@ -97,6 +97,13 @@ PP_CLASS_AVAILABLE_IOS(6.0) */ @property (nonatomic, assign) BOOL displayFullDocumentImage; +/** + * Defines if glare detection should be turned on/off for Malaysian iKad. + * + * Default: YES + */ +@property (nonatomic, assign) BOOL detectGlare; + @end NS_ASSUME_NONNULL_END diff --git a/MicroBlink.framework/Info.plist b/MicroBlink.framework/Info.plist index fbcd4ace..cf940b02 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 305e1d81..a7a04695 100755 --- a/MicroBlink.framework/MicroBlink +++ b/MicroBlink.framework/MicroBlink @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f970ba88bfe75f06c30f766d9f0939b7d82db0e750828c22fd99d88e34600209 -size 100857360 +oid sha256:f8790a544786bee87f97432e203d24c154f75edf00db7bac76ff13d27a4ba2f0 +size 96361328 diff --git a/MicroBlink.framework/_CodeSignature/CodeResources b/MicroBlink.framework/_CodeSignature/CodeResources index 4c37f6d7..5d087b51 100644 --- a/MicroBlink.framework/_CodeSignature/CodeResources +++ b/MicroBlink.framework/_CodeSignature/CodeResources @@ -18,7 +18,7 @@ Headers/PPAusIDBackRecognizerSettings.h - IRCHp5MnupuWJdPE3PTINFPB1i8= + +doDA7MF/lcmpkaYCG0T+yTn6VA= Headers/PPAusIDCombinedRecognizerResult.h @@ -26,23 +26,31 @@ Headers/PPAusIDCombinedRecognizerSettings.h - xFT2Rkcer9GZah008Q2zPhU3g2Y= + ZeSt7Pf5SFtrVqNZ18FTu+AA6xo= Headers/PPAusIDFrontRecognizerResult.h - fO4++9J7uO/Umz3wiIFYosPkrug= + JH8cQ1JHmVA7PY1ghv9dqYco7lA= Headers/PPAusIDFrontRecognizerSettings.h - Xb0StcYWpiPm8rwYc8jS8uZZvUI= + PaJ3Rxcf/oIrsBTWZSygQCzLYs4= Headers/PPAusPassportRecognizerResult.h - cM6XDSKmQLcfO657oS6vCzYpYgI= + qDvEFwnIDwKwBlbQ+6Z37HKuyME= Headers/PPAusPassportRecognizerSettings.h - w9WtebK5qf+88tHsa3uPfoAVOzU= + SZ6beppb1qq4QyVK7Fb90w1HXNU= + + Headers/PPAustraliaDLFrontRecognizerResult.h + + HNTG+V/WsN/aBcTxpCaJBMsDHDI= + + Headers/PPAustraliaDLFrontRecognizerSettings.h + + 16pwdlaUQPrM0eji/JxjVuDUemQ= Headers/PPAztecRecognizerResult.h @@ -94,19 +102,27 @@ Headers/PPBlinkIDRecognizers.h - RvQP2cPgfrTq4wBOpToF8CBAcR0= + X8qXL7myZ4n6ReJ6tzDVrGe41WY= + + Headers/PPBlinkInputRecognizerResult.h + + VL/1EtsFviSPw4PrRQ4od9YigY4= + + Headers/PPBlinkInputRecognizerSettings.h + + tLiqODdxvmppA9mWVL8fv24/Ro4= Headers/PPBlinkInputRecognizers.h - xLyi+0n+upLIep4lTIu+VDPcldQ= + /yWULw3fU81zUGiqeNJGOfH8V7E= Headers/PPBlinkOcrRecognizerResult.h - NntQJxkA0LCGEqZVkUZ85bD+WYE= + dgt0bf30MLTFCs1IJMyOaX1/lmY= Headers/PPBlinkOcrRecognizerSettings.h - OWiABsmo9cZB097CF2QqjAWMVOs= + cDs2ky3ZSuuqk/r3Qn4ykZUJfL8= Headers/PPBlurredFieldOfViewOverlaySubview.h @@ -138,7 +154,7 @@ Headers/PPCroIDBackRecognizerSettings.h - cqorkf3K7EgQTQ/SbykppQZy4pg= + WX9eaz92ukSpx3/jI1acLJFjuoM= Headers/PPCroIDCombinedRecognizerResult.h @@ -146,15 +162,15 @@ Headers/PPCroIDCombinedRecognizerSettings.h - a+hop6Ewm91pMs/54TjMMXRfixk= + F8HNzUdfUwmwltiu6uMANPt19Dg= Headers/PPCroIDFrontRecognizerResult.h - 2DtVRDazvLQP3/rdkFQ1U6tL5rI= + a25hvkeuKuypq3lneHYHYCDwDe0= Headers/PPCroIDFrontRecognizerSettings.h - 00AdPO12EpMFjC89wa41lNEYSMs= + SFp8Q6Z28HCZOY25SNuUjwEABfY= Headers/PPCzIDBackRecognizerResult.h @@ -162,7 +178,7 @@ Headers/PPCzIDBackRecognizerSettings.h - gR77VLPQHnTJJAcPWh0B8073ryk= + Q1aFWOLanlqsIvjoNCe6MVpxFlo= Headers/PPCzIDCombinedRecognizerResult.h @@ -170,15 +186,15 @@ Headers/PPCzIDCombinedRecognizerSettings.h - t7ZcO2FDq/W0Zok/PZEh55FqVtQ= + SSAFhOLcnU8BChueO2u3/M0M0KE= Headers/PPCzIDFrontRecognizerResult.h - 5a1ePEN7PtoxWAavE3uQ2guBWnc= + J9Y5JOqiSQvQF1WSLn2WKEPM9Zc= Headers/PPCzIDFrontRecognizerSettings.h - 36w40VMVqCohusX7a7KhIQmXGAk= + H7KRy0ScGOEhf6VOF1Jy6WA+0pY= Headers/PPDateOcrParserFactory.h @@ -198,11 +214,11 @@ Headers/PPDetectorRecognizerResult.h - BF5F7oR+2qGFF2M3qtl1CZpoeW8= + T3Ryy7MIo3JN1G7TqkFNONf9nZs= Headers/PPDetectorRecognizerSettings.h - hIiX55py59h5eppBOPLldfoDrlI= + nE4/kBczD08zVTlYcxgumdL5PAo= Headers/PPDetectorResult.h @@ -218,7 +234,7 @@ Headers/PPDocumentDetectorResult.h - oc4TLgLJyyVci6VnoW72tS7cueo= + me7kifPhY5AG54dWfAnVbMXzBR0= Headers/PPDocumentDetectorSettings.h @@ -234,7 +250,7 @@ Headers/PPDocumentSpecification.h - K3IT4fpKQovS0oASzXehsQyfufQ= + 9xer5yB+7BMUVEbTpJQkFwyicO0= Headers/PPDotsOverlaySubview.h @@ -282,7 +298,7 @@ Headers/PPGermanIDBackRecognizerSettings.h - uHfqiFuxqaJhvTgjAttMFOrWUQ4= + sFaMtV7c3MPjoEtmTV8DHjw+wKk= Headers/PPGermanIDCombinedRecognizerResult.h @@ -290,15 +306,15 @@ Headers/PPGermanIDCombinedRecognizerSettings.h - G5OEtpj8afZGmCUltdtdPsvU1Ks= + e3IdlrhWVIEm1q3v5szPURd+TxU= Headers/PPGermanIDFrontRecognizerResult.h - HTfDbPsdlSCwETTz8uBaeGYjECE= + pEsyjdpxmjm+I02mmWW5TkjJb8k= Headers/PPGermanIDFrontRecognizerSettings.h - GDjaTi5ncd+bN7EMt8zbVThSyXw= + JggQFu2GA9vXp78AaTbLm5bxH0s= Headers/PPGermanOldIDRecognizerResult.h @@ -306,15 +322,15 @@ Headers/PPGermanOldIDRecognizerSettings.h - qOgH0XgO6c7hTuEQdhBLkL10SOM= + rM//RiJYH3jOGi0OTiCw0zHkP3w= Headers/PPGermanPassportRecognizerResult.h - Pqo1bRWxtFpOlafD5bPYcYulZic= + E06GxkN9FljrygYIYkFI3NbVA7s= Headers/PPGermanPassportRecognizerSettings.h - 7L/WFEHd7/WEX5zx5uuSO6a2sys= + bNBWahyYaJ80B9gM6bZQU0gVkyg= Headers/PPIDCardOverlayViewController.h @@ -390,11 +406,11 @@ Headers/PPMrtdCombinedRecognizerSettings.h - FRkcgtDTsvPmBAAPzhe53+4JJRA= + 2NHmt4BH84iBx3Fkvjs84OobZ88= Headers/PPMrtdDetectorResult.h - RZIlLDSQlJYRhLsMUswpswcXUTk= + 5oq1Kl86NymqhmRxClef6myAdGs= Headers/PPMrtdDetectorSettings.h @@ -410,7 +426,11 @@ Headers/PPMrtdRecognizerSettings.h - JkYbLpjO7X/IalJJ/o2TddHhTxw= + ZrABIaIui/Vhalqg4HPZ8S7HWUk= + + Headers/PPMrzFilter.h + + 1RxhNJthiRdH2r5NhIj5WPifmxM= Headers/PPMultiDetectorResult.h @@ -496,6 +516,10 @@ iQqMTyvKwLZtMyyZcL27N0UYFNE= + Headers/PPQuadDetectorResultWithSize.h + + d7AEAkHjFz71xRqxtW7xBj9xets= + Headers/PPQuadDetectorSettings.h Q5oFEFl68FEgAKamwUHexswVOcY= @@ -534,7 +558,7 @@ Headers/PPRomanianIDFrontRecognizerSettings.h - w2wSUUc0FZ38iwXVsJ14UQutFOY= + JcchpxT6K5ogMYtcmkLj6NNsHGg= Headers/PPScanSettings.h @@ -548,6 +572,14 @@ kNUcJDe76PvpcqxfxWArdna6JiU= + Headers/PPSegmentRecognizerResult.h + + mJEbPm9XQpsLpWwC1kLBWZ5nb68= + + Headers/PPSegmentRecognizerSettings.h + + pLh4pLF+nFv7p6hPjEmKWc7Qbcs= + Headers/PPSegmentScanOverlayViewController.h VnkQeME0H3QeirEPB4as/BqINVE= @@ -558,7 +590,7 @@ Headers/PPSerbianIDBackRecognizerSettings.h - 0BxNwuXTQTlPrX1zqnDGpVzgayw= + GRoE+8Orhebn9agdgb8Nl5ZN94E= Headers/PPSerbianIDCombinedRecognizerResult.h @@ -566,15 +598,15 @@ Headers/PPSerbianIDCombinedRecognizerSettings.h - T7Ut6cf3D9DhJhywVb6/e/FBsBY= + r5BHN7looUvI0CMhvce14TZanws= Headers/PPSerbianIDFrontRecognizerResult.h - GqqPZNkVlwlu3mayIVbDXoWzxe8= + 9Fg2fLc+HHbKjbQTXFkWrEjuaBo= Headers/PPSerbianIDFrontRecognizerSettings.h - 7kBvOSqXhK2/uLjFrAPVG6pqCyo= + 4KNCKc4vD4lnUN2RSbc6r5pH4+8= Headers/PPSettings.h @@ -590,11 +622,11 @@ Headers/PPSingaporeIDBackRecognizerResult.h - ZnqQTGhMkvBl9FJNGMcCbJiL+hc= + ONZxTR4FzTOqIbahCD2R4AnVLig= Headers/PPSingaporeIDBackRecognizerSettings.h - 9F73zdJzQoHsns99H5GU33p2Mas= + vHElh2uuxz0yDEJGEcwj4grup0k= Headers/PPSingaporeIDCombinedRecognizerResult.h @@ -602,15 +634,15 @@ Headers/PPSingaporeIDCombinedRecognizerSettings.h - 9/6xyMoSzmqTGpu0nEbzAVGZacQ= + TUFlCe2sPMvsBuy8ZjDBrMoTlNc= Headers/PPSingaporeIDFrontRecognizerResult.h - N1Q2HoPcSBLRgueR63eZRuLXWq8= + SqT3xTqYRt+cURTkKBJwGXQsqtg= Headers/PPSingaporeIDFrontRecognizerSettings.h - wp3s9VK0Mg3TTLmVA0/7Mu1cTqw= + zQ9F11THoE/WVzTktQoq3t24oq4= Headers/PPSlovakIDBackRecognizerResult.h @@ -618,7 +650,7 @@ Headers/PPSlovakIDBackRecognizerSettings.h - /ROdg3ICOZKpxJjpFNSKROzsqJw= + zwHLQUG3eoldEBXMKgXPmygxrWY= Headers/PPSlovakIDCombinedRecognizerResult.h @@ -626,15 +658,15 @@ Headers/PPSlovakIDCombinedRecognizerSettings.h - 9WxmfRpFx60EkI/j3aZEvzJrIZU= + A0mAtzwg+KK5gCHd/6NZbcaLv38= Headers/PPSlovakIDFrontRecognizerResult.h - g1BIoFrmmwh7sbnPfQRRyucXtak= + Vh+QDaEZxETeunHBNLp/vY5136I= Headers/PPSlovakIDFrontRecognizerSettings.h - aDXFscJBoaB6/zgrRasXMWelfCM= + 9wh3Kf3sImBeM+WybMsLiuBT3/A= Headers/PPSlovenianIDBackRecognizerResult.h @@ -642,7 +674,7 @@ Headers/PPSlovenianIDBackRecognizerSettings.h - vaTNYdVTrv+6/wz2I/WJAfRw+2M= + jnDSZU+DwowZ61gCeGBdcD7xglU= Headers/PPSlovenianIDCombinedRecognizerResult.h @@ -650,23 +682,39 @@ Headers/PPSlovenianIDCombinedRecognizerSettings.h - 2Fs13QNoPc24cWFu694mN7McJ5o= + S7q2SJdSoNhuKOd1lHM6s++1G6w= Headers/PPSlovenianIDFrontRecognizerResult.h - x8yr0H7jpjpM8PZW6nqQE5/DWwk= + taIY1B78GdnNOgQ9VFiBUDXJ18E= Headers/PPSlovenianIDFrontRecognizerSettings.h - sVklU9tt9Geac/0VLhXt0lp94Rg= + tkNk/eS5M6aVrJyuQfcgWcWY1mY= + + Headers/PPSwissIDBackRecognizerResult.h + + R8m9VP7Iou7RX3Zx6klFzUiqQEg= + + Headers/PPSwissIDBackRecognizerSettings.h + + hWHy11CSiyvP5wqEz8AGeRFgsyA= + + Headers/PPSwissIDFrontRecognizerResult.h + + sYNAybyVZX2Vu7F+nxITTHhmyOI= + + Headers/PPSwissIDFrontRecognizerSettings.h + + fmDG8e0TDK3WjPLR+92wjoNP06U= Headers/PPSwissPassportRecognizerResult.h - FV8/92Rp5ZHJaqla0dVp/KyFznA= + U+w3C64slepdDddGunpFTuXXRQs= Headers/PPSwissPassportRecognizerSettings.h - GkoAdqzgtCGt2K52WWnHetZxyHU= + t9q6WwQj7rozBjeeEHfSAZO2RiM= Headers/PPTapToFocusOverlaySubview.h @@ -678,11 +726,11 @@ Headers/PPTemplatingRecognizerResult.h - E0Y4kpx7EG2R65XK5XfJrDK7U+E= + LzX6XG/uz06uaT/XtHEOZqe8h3w= Headers/PPTemplatingRecognizerSettings.h - uTkvuCv3i6FK52xCVn3aKBj7Xq0= + 67T9xXOckQi/pTOmUoXLrAjhnBI= Headers/PPTextMetadata.h @@ -710,11 +758,11 @@ Headers/PPUsdlRecognizerResult.h - qJ4FATEGNLDB/dIsKZ0jSpNA3Pw= + Uth+7B74uclp1DlBNNFv5pdUYFM= Headers/PPUsdlRecognizerSettings.h - U4evJ1MKchd+pEzxLdESLAOD+84= + jpwdhZzzSM2SkF0aPdU+pKqxdpc= Headers/PPViewControllerFactory.h @@ -746,15 +794,15 @@ Headers/PPiKadRecognizerResult.h - LxKHr5v+AOJTOapDyvdV2ebJ+MQ= + 1fatFzchF7dSzNwE9fDOLVnLzO8= Headers/PPiKadRecognizerSettings.h - 2HszPF8FQRBNmaeHzthy+zWNv5w= + 691jAX2NRZTEq0CaHHprHIo1bho= Info.plist - f9Aq7AGZQdDNt5GZnljIrOhp80w= + FpIqO08SBK1PmegrW/vi6CqbQxs= Modules/module.modulemap @@ -800,11 +848,11 @@ hash - IRCHp5MnupuWJdPE3PTINFPB1i8= + +doDA7MF/lcmpkaYCG0T+yTn6VA= hash2 - 9wpVC06UWQQB4q+waF789FvfBtbpW2QsuLqfQ1/my+k= + MU68O6/vRGmkXoj5rLUjYWboGmnoSrSGpsK04wC+Qhg= Headers/PPAusIDCombinedRecognizerResult.h @@ -822,55 +870,77 @@ hash - xFT2Rkcer9GZah008Q2zPhU3g2Y= + ZeSt7Pf5SFtrVqNZ18FTu+AA6xo= hash2 - SsH5Nl9JmG8hrEHkq0mM7SSH0/QxOK/WWAwuM9UIb+Y= + tmoR19NSvxMRyezEPMAJlATEyj56/E3jFtTGs4RvvTM= Headers/PPAusIDFrontRecognizerResult.h hash - fO4++9J7uO/Umz3wiIFYosPkrug= + JH8cQ1JHmVA7PY1ghv9dqYco7lA= hash2 - l88vwnFv5vun5EGe4Qgbe//N54lv3S0k+7XOSMNwLUk= + ThzdmJ3lMXmJlH/G5KwCkolwNOtURyJ91O3KgRRhRS8= Headers/PPAusIDFrontRecognizerSettings.h hash - Xb0StcYWpiPm8rwYc8jS8uZZvUI= + PaJ3Rxcf/oIrsBTWZSygQCzLYs4= hash2 - 5NCJFZKMK4IYJtKOfJUCBX/51K8oV0MrW/Rl9JYaFZg= + WWRuL9k3nRVxICgLC/5U4PoNHgk87cjjLBlc5nyXevM= Headers/PPAusPassportRecognizerResult.h hash - cM6XDSKmQLcfO657oS6vCzYpYgI= + qDvEFwnIDwKwBlbQ+6Z37HKuyME= hash2 - fqb9+sQiOufUkuIPS7kB5rzILL2Rmvjn08jJJCaNASY= + ZkxJLfswy7/zZZ00BDqIifpBQtGcqJN2rlu+W9mP/EU= Headers/PPAusPassportRecognizerSettings.h hash - w9WtebK5qf+88tHsa3uPfoAVOzU= + SZ6beppb1qq4QyVK7Fb90w1HXNU= + + hash2 + + WkOXXD2bU1YPlSBH5TZZg+axdU7HXJ8ZQJ0mYBXuti0= + + + Headers/PPAustraliaDLFrontRecognizerResult.h + + hash + + HNTG+V/WsN/aBcTxpCaJBMsDHDI= hash2 - +c0BodY5VBMr97oblofBn2fcstJIiknF3tk6y8sPQpM= + u32pAoMn7gQOq34apzg9jE0FwX3d6wT9aWxwZrqEtWM= + + + Headers/PPAustraliaDLFrontRecognizerSettings.h + + hash + + 16pwdlaUQPrM0eji/JxjVuDUemQ= + + hash2 + + iVYsp8fsVfu+yM0pC1mZ1EiKv+CgPKSHjUBmPDDXGeQ= Headers/PPAztecRecognizerResult.h @@ -1009,44 +1079,66 @@ hash - RvQP2cPgfrTq4wBOpToF8CBAcR0= + X8qXL7myZ4n6ReJ6tzDVrGe41WY= + + hash2 + + GvNpyWH39/smChSlFndsckBBsH5FKt6TulIA6WzhfcI= + + + Headers/PPBlinkInputRecognizerResult.h + + hash + + VL/1EtsFviSPw4PrRQ4od9YigY4= hash2 - zFwvWR3tycts+iFw9d8h4SMCEO/E3sCoukPqes3PVqM= + y1Df1TFCV33RejSpht/CH3hXj90YWcpC1ESdMpLv54Y= + + + Headers/PPBlinkInputRecognizerSettings.h + + hash + + tLiqODdxvmppA9mWVL8fv24/Ro4= + + hash2 + + tNhPYAj0bQ++8/nWGbbpmeEaoVgsb+BY1+k6GtfT8k8= Headers/PPBlinkInputRecognizers.h hash - xLyi+0n+upLIep4lTIu+VDPcldQ= + /yWULw3fU81zUGiqeNJGOfH8V7E= hash2 - GIg3saOx14DaXLmVU+Cn10WyzaYcvGk2BnCskBwnQ/4= + kulORdeGFSm9GUmLPM7W51l/yvBPtssPIJpjFWJ4sDk= Headers/PPBlinkOcrRecognizerResult.h hash - NntQJxkA0LCGEqZVkUZ85bD+WYE= + dgt0bf30MLTFCs1IJMyOaX1/lmY= hash2 - h8gVIlJIMSvZc21dYS+423AFAahKR+ejStEBmy+InkE= + XJ/wGe286BTMt6LfQKvYLST8pUbFeQOa1KU7o+hujaw= Headers/PPBlinkOcrRecognizerSettings.h hash - OWiABsmo9cZB097CF2QqjAWMVOs= + cDs2ky3ZSuuqk/r3Qn4ykZUJfL8= hash2 - kceT9XGmwmPcMwpB0DxweroZin3X974OJxYMHUV6+ts= + B8cMPlCJuv83o5dTyKFtiRlAAIoruau4pllOa0XNSMs= Headers/PPBlurredFieldOfViewOverlaySubview.h @@ -1130,11 +1222,11 @@ hash - cqorkf3K7EgQTQ/SbykppQZy4pg= + WX9eaz92ukSpx3/jI1acLJFjuoM= hash2 - 5pNNs6BoldqST6A6oWk06qd2akk0mNKl1b6M9mSrrEk= + F8Ov/Ic3nWAofrJl6pbqjUbzSOthP6H5iqWtAPF8vKg= Headers/PPCroIDCombinedRecognizerResult.h @@ -1152,33 +1244,33 @@ hash - a+hop6Ewm91pMs/54TjMMXRfixk= + F8HNzUdfUwmwltiu6uMANPt19Dg= hash2 - y7oGRqBQw6A3h6tz7i96LY/Bsi6dxY44k/FEenJYFIM= + f+SyQyxeioEeXBegsY1LPxxLLjkg9fa4gUQcfKjvpPE= Headers/PPCroIDFrontRecognizerResult.h hash - 2DtVRDazvLQP3/rdkFQ1U6tL5rI= + a25hvkeuKuypq3lneHYHYCDwDe0= hash2 - 3xKXwjsglckRe2nUX5EwtLcOlqcs+hR/E1Qk0V3bcdc= + hPR4wQ59dblzN6GAj3u2QLpX8KbRihsqkONuceljxFE= Headers/PPCroIDFrontRecognizerSettings.h hash - 00AdPO12EpMFjC89wa41lNEYSMs= + SFp8Q6Z28HCZOY25SNuUjwEABfY= hash2 - XLkQpYEREsOtzdF8WAF/xe+1YeQP95iJQgwhbXgwMVE= + IEx7SKbteNwrOUkUFeDWigQXB3Gi7OnFfj+2L5iFRxc= Headers/PPCzIDBackRecognizerResult.h @@ -1196,11 +1288,11 @@ hash - gR77VLPQHnTJJAcPWh0B8073ryk= + Q1aFWOLanlqsIvjoNCe6MVpxFlo= hash2 - AourSm/nt+LTZxhbuxd7+JezHwLw4QBoyv199AzBrm8= + g7lK/omvtW9Eeh87eKFV0QeH2NZaFzLkBIAbd5wGSvU= Headers/PPCzIDCombinedRecognizerResult.h @@ -1218,33 +1310,33 @@ hash - t7ZcO2FDq/W0Zok/PZEh55FqVtQ= + SSAFhOLcnU8BChueO2u3/M0M0KE= hash2 - q2kpkLFy4PID77TQlDiE9hTV4b15oxtylphjbEPQID4= + BWHgAgv3mIOFg8X4/gnW2qL1YOhKPpe0w18YW6zk1cE= Headers/PPCzIDFrontRecognizerResult.h hash - 5a1ePEN7PtoxWAavE3uQ2guBWnc= + J9Y5JOqiSQvQF1WSLn2WKEPM9Zc= hash2 - 0EHuMXP015Fcw0OYdmbS4NSXw1855Zq12GK8SkI6rMo= + DA7uENCXiEp7C6YXjDB82RDiFEu8DRms5J1wmxrVqf8= Headers/PPCzIDFrontRecognizerSettings.h hash - 36w40VMVqCohusX7a7KhIQmXGAk= + H7KRy0ScGOEhf6VOF1Jy6WA+0pY= hash2 - mt5PRnv7rP1T3X8IFeSxxXdIS83mER/6Fu+YTQPKg0g= + C9Gy70diqxwlXWFRdC7iChPXkT3hvIFF3Qp9zRe+HgQ= Headers/PPDateOcrParserFactory.h @@ -1295,22 +1387,22 @@ hash - BF5F7oR+2qGFF2M3qtl1CZpoeW8= + T3Ryy7MIo3JN1G7TqkFNONf9nZs= hash2 - X1bxPQAiDggA6VvwA4V4tlpEI8NNvkJt28WO+vruaXo= + 3szI8zQxPcm9HPrUnGHMIUkiH7Si27e6jhIb3m+qlsw= Headers/PPDetectorRecognizerSettings.h hash - hIiX55py59h5eppBOPLldfoDrlI= + nE4/kBczD08zVTlYcxgumdL5PAo= hash2 - frslGlFpc/coRpC4XR+b+kgd27BBdSpr6ekuyHOQY7U= + sEh6IlRzvmFJt9o9U96ZrwTeWwFAUop2ZECOTsyPPpk= Headers/PPDetectorResult.h @@ -1350,11 +1442,11 @@ hash - oc4TLgLJyyVci6VnoW72tS7cueo= + me7kifPhY5AG54dWfAnVbMXzBR0= hash2 - 1YsBPmClEghuD7nnYU39etgoIp4j/UYHoIUDTwnXGZ0= + 4VTIWqAfYubae3Q7iHWQofk9sw1I57DavvFHpwoghwk= Headers/PPDocumentDetectorSettings.h @@ -1394,11 +1486,11 @@ hash - K3IT4fpKQovS0oASzXehsQyfufQ= + 9xer5yB+7BMUVEbTpJQkFwyicO0= hash2 - 5vaVbR46K1aTgTKFSrlMnOUsb+uenD1Nk2fAZbeApnc= + r6HODSikyHWKM7GTYKhq8QZa+Oh8/LfA7TV8FYydUGE= Headers/PPDotsOverlaySubview.h @@ -1526,11 +1618,11 @@ hash - uHfqiFuxqaJhvTgjAttMFOrWUQ4= + sFaMtV7c3MPjoEtmTV8DHjw+wKk= hash2 - 7OClzSuMX/pztsblmgHPNQnd7x4bTC5yTkZpDqq23es= + vIkwTHbUKDYQCWpffHtcRZ9bj+K8XfZJZRcTWLRqhqQ= Headers/PPGermanIDCombinedRecognizerResult.h @@ -1548,33 +1640,33 @@ hash - G5OEtpj8afZGmCUltdtdPsvU1Ks= + e3IdlrhWVIEm1q3v5szPURd+TxU= hash2 - x5+dIxbsOEEv1j7x98Skxm0tJKWsme5KM2uZgrpqNfM= + lIGVUXeJ7PISurKddxfUBHRFgE1PpYwaVhP84PbHc3E= Headers/PPGermanIDFrontRecognizerResult.h hash - HTfDbPsdlSCwETTz8uBaeGYjECE= + pEsyjdpxmjm+I02mmWW5TkjJb8k= hash2 - XDrDAtIAN1rOdu+l0XZyhSm8iiB98vJT0vsN5guVxr8= + 5dQmHnCRH+OCtJp3JckX+jfLxp+g9AtaXOirgCqLwRU= Headers/PPGermanIDFrontRecognizerSettings.h hash - GDjaTi5ncd+bN7EMt8zbVThSyXw= + JggQFu2GA9vXp78AaTbLm5bxH0s= hash2 - MI6CFunvA6+d4jIXC7uLxAwoRgCxNhW3h6HARrBZCyk= + KHTzLaqFku3zNCFjK6p+1sN7Np505H9D5fLzwag6tko= Headers/PPGermanOldIDRecognizerResult.h @@ -1592,33 +1684,33 @@ hash - qOgH0XgO6c7hTuEQdhBLkL10SOM= + rM//RiJYH3jOGi0OTiCw0zHkP3w= hash2 - uXsJPRKsxtCFv3bPB153pTUP642U3Q+/RQBZgew7WXw= + NwzwG78piyHlTiid8XdgBy0X/xUwJDg8Eri+O4cOdCg= Headers/PPGermanPassportRecognizerResult.h hash - Pqo1bRWxtFpOlafD5bPYcYulZic= + E06GxkN9FljrygYIYkFI3NbVA7s= hash2 - 60ORxc0z5zRyFidRfEcBeFUhsvjYWlvoPKsbeqt6cGg= + x4prEsTSWCoU/DCT0smuUlL/4f8NGCK5oAagmm8/zZw= Headers/PPGermanPassportRecognizerSettings.h hash - 7L/WFEHd7/WEX5zx5uuSO6a2sys= + bNBWahyYaJ80B9gM6bZQU0gVkyg= hash2 - G4yedVUTiDDu7V+kE7v9QgZ6sE2lzS2Es13HQtI4pzA= + QmLMkRYunU+Ud+kR14SBtGfvqH4nVTxaMPRbQKD6+ws= Headers/PPIDCardOverlayViewController.h @@ -1823,22 +1915,22 @@ hash - FRkcgtDTsvPmBAAPzhe53+4JJRA= + 2NHmt4BH84iBx3Fkvjs84OobZ88= hash2 - KjbJyeq0sFOPiCYZcOZnqIekeJ98YMkeJOtmtvp4exo= + AQ8eJujyrEFuC4aFlYP05ICdqFZLJb4jR2FMkOMjXR0= Headers/PPMrtdDetectorResult.h hash - RZIlLDSQlJYRhLsMUswpswcXUTk= + 5oq1Kl86NymqhmRxClef6myAdGs= hash2 - Y1X+Skbb4if0c5vz0Tzi67pHI2NtU6p8EsEY/1kO/c8= + XGx++AXI81HSwQ5dj5YJ0rCuxLimuinMwAcW6MsEhSk= Headers/PPMrtdDetectorSettings.h @@ -1878,11 +1970,22 @@ hash - JkYbLpjO7X/IalJJ/o2TddHhTxw= + ZrABIaIui/Vhalqg4HPZ8S7HWUk= + + hash2 + + 3Jul+4EXTmaD6es5Au0/V3TeF8bdx6OW6h3VWJGUNI4= + + + Headers/PPMrzFilter.h + + hash + + 1RxhNJthiRdH2r5NhIj5WPifmxM= hash2 - 0oJQHs471GaC8Chgcm7v868qb5IzRej/zoeQjE5Dya8= + TxXrds7q53EZSMFPNUSivsbAkJBaBdTuKWPYwna2bcw= Headers/PPMultiDetectorResult.h @@ -2116,6 +2219,17 @@ gTWrHwI4mRhaeH//M9KqvORW5myL7Ir4KP5ormoBTVU= + Headers/PPQuadDetectorResultWithSize.h + + hash + + d7AEAkHjFz71xRqxtW7xBj9xets= + + hash2 + + ijC5w7rmM1abOckiPXgPpGALAmyFar1JS4DLC9bkcDo= + + Headers/PPQuadDetectorSettings.h hash @@ -2219,11 +2333,11 @@ hash - w2wSUUc0FZ38iwXVsJ14UQutFOY= + JcchpxT6K5ogMYtcmkLj6NNsHGg= hash2 - Dd4tN0hnE+zcMdOExPyHPZVYfbixtBdr9KEc8GL1ZA4= + zb/DeFq597Qjb+MgA/jbvfMh4Y5P6lqimX2UGVdFtc0= Headers/PPScanSettings.h @@ -2259,6 +2373,28 @@ p7gb20ifsKGqQ67ATz4tHlFqBfIasarnPeNZsY0aPPs= + Headers/PPSegmentRecognizerResult.h + + hash + + mJEbPm9XQpsLpWwC1kLBWZ5nb68= + + hash2 + + qIedGwOEHJwG1Mp1csJpil4me55gKa/+v+8fTP2lfhg= + + + Headers/PPSegmentRecognizerSettings.h + + hash + + pLh4pLF+nFv7p6hPjEmKWc7Qbcs= + + hash2 + + YbDQ7rApV+QAEhDGnYGuQYq3tLoKkISgTfmGmsVGvyQ= + + Headers/PPSegmentScanOverlayViewController.h hash @@ -2285,11 +2421,11 @@ hash - 0BxNwuXTQTlPrX1zqnDGpVzgayw= + GRoE+8Orhebn9agdgb8Nl5ZN94E= hash2 - Lr1Jar51qVluVlRWIoUeP2IaCLeUOJh7UsQtomLsymU= + TyxCGxX7exujFteZ7XVFd0W1aZcZ2xczBR4eUyqKKZ4= Headers/PPSerbianIDCombinedRecognizerResult.h @@ -2307,33 +2443,33 @@ hash - T7Ut6cf3D9DhJhywVb6/e/FBsBY= + r5BHN7looUvI0CMhvce14TZanws= hash2 - m58ekvYoEFKAD96MXbatt1rToo1zhbQc4GMlSIcMn4A= + XfJfQ7NZkuCdw44fauVnlyO25qmlBR17bK3d9dDm3dk= Headers/PPSerbianIDFrontRecognizerResult.h hash - GqqPZNkVlwlu3mayIVbDXoWzxe8= + 9Fg2fLc+HHbKjbQTXFkWrEjuaBo= hash2 - mcCG6fbWsT0kyOiK5yHPowNhgS+gkDOrzmsqFTI+EnI= + IuvNw508AUwxBfDN56zaJTHsEf4KS3r/uc9qnXRuKu8= Headers/PPSerbianIDFrontRecognizerSettings.h hash - 7kBvOSqXhK2/uLjFrAPVG6pqCyo= + 4KNCKc4vD4lnUN2RSbc6r5pH4+8= hash2 - b5hPcKWpjV9hG1wTx/2ENmzYOm6BOAe/dX12M+Mu/zU= + dXBjFiqra7nS3NbFTrGuUlZa7yFqGHgW5b9Drpgy4NI= Headers/PPSettings.h @@ -2373,22 +2509,22 @@ hash - ZnqQTGhMkvBl9FJNGMcCbJiL+hc= + ONZxTR4FzTOqIbahCD2R4AnVLig= hash2 - 31NUub5mlHov+dJeYXDrmMvBrK8sqEGCt9+B7n8Sdho= + zcopBkd6TyEatBuLJzjmEwbiX1l5k5jw9ayZ0Wq2SfQ= Headers/PPSingaporeIDBackRecognizerSettings.h hash - 9F73zdJzQoHsns99H5GU33p2Mas= + vHElh2uuxz0yDEJGEcwj4grup0k= hash2 - ZanTUZqFygbfGSSXWO8l76DPQ9iYtRbC3OF3iAXCxtI= + yyq84FLt0pPJVoBmTbdoZeZyMT8zz7dRmWxN3GtePQc= Headers/PPSingaporeIDCombinedRecognizerResult.h @@ -2406,33 +2542,33 @@ hash - 9/6xyMoSzmqTGpu0nEbzAVGZacQ= + TUFlCe2sPMvsBuy8ZjDBrMoTlNc= hash2 - QHQ5FVCWuiA3S+K0lCTbMh/6PtEU3kFxYt1gZ8z3Zm8= + +Yuya2ZsWHfHuXhzisgdNorVxw10T/JiGTQvd8E/Rao= Headers/PPSingaporeIDFrontRecognizerResult.h hash - N1Q2HoPcSBLRgueR63eZRuLXWq8= + SqT3xTqYRt+cURTkKBJwGXQsqtg= hash2 - mKqrnN+Ww5cdwsD9zE0jAX+WGmv/8TXJniXJewCf9hw= + LeSZTHZoX//bB9mOQGDqhxVCd8nQVtHpdU0pxINwiH4= Headers/PPSingaporeIDFrontRecognizerSettings.h hash - wp3s9VK0Mg3TTLmVA0/7Mu1cTqw= + zQ9F11THoE/WVzTktQoq3t24oq4= hash2 - MafgEhuS3ik+k/kdXZHmRyaLW97NMxjwgdHxfYdcLMo= + J6fvwE2vHpOBn8d11bNOA1HYJ91e4lYtCjmFn50Hync= Headers/PPSlovakIDBackRecognizerResult.h @@ -2450,11 +2586,11 @@ hash - /ROdg3ICOZKpxJjpFNSKROzsqJw= + zwHLQUG3eoldEBXMKgXPmygxrWY= hash2 - A/It/fjc0qRbwJaf6UeNq8QO5JsenZHlVUFg3Hq0zXI= + Dh08mtLNBeOEX46vHRKVPIaNhsYosszoume8F46yp2s= Headers/PPSlovakIDCombinedRecognizerResult.h @@ -2472,33 +2608,33 @@ hash - 9WxmfRpFx60EkI/j3aZEvzJrIZU= + A0mAtzwg+KK5gCHd/6NZbcaLv38= hash2 - FmaXoqYBr9NUIdyzMuxjyoQqQjA6NoSCWE1+nvoOFAo= + Si+OeNqq+Qk0SRsAbIuHlftQQ0EKmG9eKlQFW7OkMhE= Headers/PPSlovakIDFrontRecognizerResult.h hash - g1BIoFrmmwh7sbnPfQRRyucXtak= + Vh+QDaEZxETeunHBNLp/vY5136I= hash2 - B8oRWjMryQ6mY2VKWJZK452p/7QCrZ3gVTvFGahHeaQ= + WqHilfPk8ZZSLytvcwPC8sWmQdTct2ReFe0Wi6cHmj0= Headers/PPSlovakIDFrontRecognizerSettings.h hash - aDXFscJBoaB6/zgrRasXMWelfCM= + 9wh3Kf3sImBeM+WybMsLiuBT3/A= hash2 - jhyxZA8pAJWaOklL3/JY6i+mQ7rjfvOI0+PIKB44wEw= + vd1tjoUteTT02B5MIMNF1HT0zPV89HRDj2yXPGq+I/8= Headers/PPSlovenianIDBackRecognizerResult.h @@ -2516,11 +2652,11 @@ hash - vaTNYdVTrv+6/wz2I/WJAfRw+2M= + jnDSZU+DwowZ61gCeGBdcD7xglU= hash2 - Vh/XNobInRmGwySbjhbtdwwavlHWEz62Wm99hMBMJfI= + 6jrQy7cMkWHDYHM86z/jk0XY5C/aXaRJCh+ax2scHcQ= Headers/PPSlovenianIDCombinedRecognizerResult.h @@ -2538,55 +2674,99 @@ hash - 2Fs13QNoPc24cWFu694mN7McJ5o= + S7q2SJdSoNhuKOd1lHM6s++1G6w= hash2 - SVUWxklbjgozVsNwHYI7BdngdphWSn6VwiS4ENhB4Cg= + 3MOC8rDh9KpUAzdTu00KKLvtTWHSlAN7fxhGGpXYxq0= Headers/PPSlovenianIDFrontRecognizerResult.h hash - x8yr0H7jpjpM8PZW6nqQE5/DWwk= + taIY1B78GdnNOgQ9VFiBUDXJ18E= hash2 - 04RY1qquvxi6pMAaddxXvaXx5e1ug5Q6Q25pR7x2rU0= + qBImnuKlKOb+hIsD7HtV/3HBRgRYep8+zu9zh9yWAi4= Headers/PPSlovenianIDFrontRecognizerSettings.h hash - sVklU9tt9Geac/0VLhXt0lp94Rg= + tkNk/eS5M6aVrJyuQfcgWcWY1mY= + + hash2 + + aq3b7xj7vpg767pQXDTenEVq0cZ9TzQxPfsl5M8KHfk= + + + Headers/PPSwissIDBackRecognizerResult.h + + hash + + R8m9VP7Iou7RX3Zx6klFzUiqQEg= + + hash2 + + ZlOLWXB3ULhpecP6VtgrhIr5iD5+zMmaoY+xbC9c0Q4= + + + Headers/PPSwissIDBackRecognizerSettings.h + + hash + + hWHy11CSiyvP5wqEz8AGeRFgsyA= + + hash2 + + 70QP+HD1ZYmOpAO3A1zksuBLxuKRSGgUCkWVfEqdDGU= + + + Headers/PPSwissIDFrontRecognizerResult.h + + hash + + sYNAybyVZX2Vu7F+nxITTHhmyOI= + + hash2 + + UVFAEyWCFvHnMFeXU9hpy0Uz9EUCJutexQ7nSebiKpU= + + + Headers/PPSwissIDFrontRecognizerSettings.h + + hash + + fmDG8e0TDK3WjPLR+92wjoNP06U= hash2 - 6vKZ5TbpuGO9DlSQJOWvnQwrv2nuycL2g0EtUsSYprk= + 0AfHFfuuXcc9+5iCp0LC/6GB9mDlQsshh0zeoIMCf8I= Headers/PPSwissPassportRecognizerResult.h hash - FV8/92Rp5ZHJaqla0dVp/KyFznA= + U+w3C64slepdDddGunpFTuXXRQs= hash2 - +ZwNii/HY9dQf3NcUEphsnMwMlv+2xCyJ0o14QvQ+nU= + dICzMRpA1k3eFDuvYxz0CSCf9IyJaL0yT57CMOOoXJk= Headers/PPSwissPassportRecognizerSettings.h hash - GkoAdqzgtCGt2K52WWnHetZxyHU= + t9q6WwQj7rozBjeeEHfSAZO2RiM= hash2 - zdKVwsGlWLoKFeekbGi9cflFpuoWN7sLsve2AoJXgsU= + XPN6M2lfvG3K4qPhdxi5z4NHvySOGWs0VKWK9J0HHOw= Headers/PPTapToFocusOverlaySubview.h @@ -2615,22 +2795,22 @@ hash - E0Y4kpx7EG2R65XK5XfJrDK7U+E= + LzX6XG/uz06uaT/XtHEOZqe8h3w= hash2 - nMUzCxhsH7r4WAMH/PCpxdJY1lWyuA1RHxC2/ZFQSZg= + pkDr1aPtvi+AAXdZaRJShYh1JnYfYe1rKnEyjwPoo5c= Headers/PPTemplatingRecognizerSettings.h hash - uTkvuCv3i6FK52xCVn3aKBj7Xq0= + 67T9xXOckQi/pTOmUoXLrAjhnBI= hash2 - b8Fy9vk0f58g4pK08uygCU0C32GYQHtvKTSx0Y9oCls= + mYSoueHxwCUBjXl61rHVXcp40b6E2wTjp1ZnSJ6ASA8= Headers/PPTextMetadata.h @@ -2703,22 +2883,22 @@ hash - qJ4FATEGNLDB/dIsKZ0jSpNA3Pw= + Uth+7B74uclp1DlBNNFv5pdUYFM= hash2 - XyPU8trndvQvPtjOwKBuvJ7Ljqh+RqVCJTCcBO0Em7A= + k6uEarCieu/ZvfHDjJdIluzEl3gW8AGu4gEVM/4hvE4= Headers/PPUsdlRecognizerSettings.h hash - U4evJ1MKchd+pEzxLdESLAOD+84= + jpwdhZzzSM2SkF0aPdU+pKqxdpc= hash2 - UP+KlgBEmKBNnDrXjfAkyV6/Fxs4bX+LM3BYCHY3RH4= + ETGSHKZyr6nte70jQ6Gd3LX6qEW+xPZlM0gYr0ACpT4= Headers/PPViewControllerFactory.h @@ -2802,22 +2982,22 @@ hash - LxKHr5v+AOJTOapDyvdV2ebJ+MQ= + 1fatFzchF7dSzNwE9fDOLVnLzO8= hash2 - aOSbr9dgupPFbTT2qNjVZ21WBW7R3+l5QDHbhA+B/98= + 9veXy19gSj8E82/YLiD+ZXyNLWN/3HK8CvNOM2uNnMc= Headers/PPiKadRecognizerSettings.h hash - 2HszPF8FQRBNmaeHzthy+zWNv5w= + 691jAX2NRZTEq0CaHHprHIo1bho= hash2 - sBWESk/cBBRFkA9ZxJRazEDtC4FdtV4+dcG1cBCtFas= + WWIpHgWaMu/hGCreSlpRaJgy42vIPofsvF8L1EoFojY= Modules/module.modulemap diff --git a/PPBlinkID.podspec b/PPBlinkID.podspec index e8de5f4a..065a19dd 100644 --- a/PPBlinkID.podspec +++ b/PPBlinkID.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "PPBlinkID" - s.version = "2.11.0" + s.version = "2.12.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.11.0' + :tag => 'v2.12.0' } s.platform = :ios diff --git a/README.md b/README.md index 816c4c09..ac271541 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ pod try PPBlinkID platform :ios, '8.0' target 'TargetName' do - pod 'PPBlinkID', '~> 2.11.0' + pod 'PPBlinkID', '~> 2.12.0' end ``` diff --git a/Release notes.md b/Release notes.md index e433cbe1..7ce80b6e 100644 --- a/Release notes.md +++ b/Release notes.md @@ -1,3 +1,37 @@ +## 2.12.0 + +- Updates and additions + - Added Australian Driver Licence Recognizer `PPAustraliaDLFrontRecognizerResult` and `PPAustraliaDLFrontRecognizerSettings` for state Victoria + - Added Swiss ID Back Recognizer `PPSwissIDBackRecognizerResult` and `PPSwissIDBackRecognizerSettings` + - Added Swiss ID Front Recognizer `PPSwissIDFrontRecognizerResult` and `PPSwissIDFrontRecognizerSettings` + - Added reading of mirrored QR codes + - Added `PPMrzFilter` protocol and delegate `mrzFilter` on `PPMrtdRecognizerSettings` + - Determines whether document should be processed or it is filtered out, based on its MRZ (Machine Readable Zone) + - Introduced `GlareDetector` which is by default used in all recognizers whose settings implement `GlareDetectorOptions`: + - When glare is detected, OCR will not be performed on the affected document position to prevent errors in the extracted data + - If the glare detector is used and obtaining of glare metadata is enabled in `MetadataSettings` + - Glare detector can be disabled by using `detectGlare` property on the recognizer settings + - Added `PPQuadDetectorResultWithSize` which inherits existing `PPQuadDetectorResult` + - It's subclasses are `PPDocumentDetectorResult` and `PPMrtdDetectorResult` + - Returns information about physical size (height) in inches of the detected location when physical size is known + +- Minor API changes + - `PPBlinkOcrRecognizerResult` and `PPBlinkOcrRecognizerSettings` are now deprecated. Use `PPDetectorRecognizerResult` and `PPDetectorRecognizerSettings` for templating or `PPBlinkInputRecognizerResult` and `PPBlinkInputRecognizerSettings` for segment scan + - removed option to scan 1D Code39 and Code128 barcodes on US Driver's licenses that contain those barcodes alongside PDF417 barcode + +- Bugfixes: + - Fixed crash which sometimes happened while scanning MRTD documents + - Fixed returning valid data for MRZ based recognizers when not all fields outside MRZ have been scanned + - Fixed crash in QR code which happened periodically in all recognizers + - Fixed autorotation of overlay view controller + - Fixed scanning return result type of `PPDetectorRecognizerSettings` when initialized with `PPMrtdDetectorSettings` - returning `PPMrtdDetectorResult` + +- Improvements in ID scanning performance: + - Date parsing improvements + - Better extraction of fields on back side of the Croatian ID card + - Improved reading of issuing authority on Croatian ID back side + - Improved USDLRecognizer - added support for new USDL standard + ## 2.11.0 - Updates and additions diff --git a/Samples/BlinkOCR-sample/BlinkOCR-sample/ViewController.m b/Samples/BlinkOCR-sample/BlinkOCR-sample/ViewController.m index d87d76a9..e35f13d9 100644 --- a/Samples/BlinkOCR-sample/BlinkOCR-sample/ViewController.m +++ b/Samples/BlinkOCR-sample/BlinkOCR-sample/ViewController.m @@ -68,7 +68,7 @@ - (PPCameraCoordinator *)coordinatorWithError:(NSError **)error { /** 2. Setup the license key */ // Visit www.microblink.com to get the license key for your app - settings.licenseSettings.licenseKey = @"MUPW7QST-TS3RUNTO-5WHPC7CP-W24H2RJX-TS2AMI5Z-LVLMZS5N-O7VW7IWS-VUFXVXVU"; + settings.licenseSettings.licenseKey = @"D4Y6YBOP-GREFNTEL-UWKFLAZX-N4BEHKH7-W4GQ54GO-A5MCWFY4-7J4BFLLW-K6IKPAAJ"; // this license key is valid temporarily until 2017-10-26 @@ -78,7 +78,7 @@ - (PPCameraCoordinator *)coordinatorWithError:(NSError **)error { */ // To specify we want to perform OCR recognition, initialize the OCR recognizer settings - PPBlinkOcrRecognizerSettings *ocrRecognizerSettings = [[PPBlinkOcrRecognizerSettings alloc] init]; + PPBlinkInputRecognizerSettings *ocrRecognizerSettings = [[PPBlinkInputRecognizerSettings alloc] init]; // We want raw OCR parsing @@ -154,8 +154,8 @@ - (void)scanningViewController:(UIViewController *)sca // Collect data from the result for (PPRecognizerResult *result in results) { - if ([result isKindOfClass:[PPBlinkOcrRecognizerResult class]]) { - PPBlinkOcrRecognizerResult *ocrRecognizerResult = (PPBlinkOcrRecognizerResult *)result; + if ([result isKindOfClass:[PPBlinkInputRecognizerResult class]]) { + PPBlinkInputRecognizerResult *ocrRecognizerResult = (PPBlinkInputRecognizerResult *)result; NSLog(@"OCR results are:"); NSLog(@"Raw ocr: %@", [ocrRecognizerResult parsedResultForName:self.rawOcrParserId]); diff --git a/Samples/DirectAPI-sample/DirectAPI-sample/RootViewController.m b/Samples/DirectAPI-sample/DirectAPI-sample/RootViewController.m index a90bb69c..98720965 100644 --- a/Samples/DirectAPI-sample/DirectAPI-sample/RootViewController.m +++ b/Samples/DirectAPI-sample/DirectAPI-sample/RootViewController.m @@ -75,7 +75,7 @@ - (void)createCoordinator { /** 2. Setup the license key */ // Visit www.microblink.com to get the license key for your app - settings.licenseSettings.licenseKey = @"3E3T5LF4-OG72KS6V-HNWFMNB5-CS57DZM6-V2H4EK72-RGNLB5FN-YVJUQG2A-7L24OETG"; + settings.licenseSettings.licenseKey = @"UPCON7FL-PUIGBZWZ-E47VLM2V-XB5EV72N-R7BCX6UJ-TKYPJLOF-KNELWUNQ-7SAPZOXQ"; // license key valid temporarily until 2017-10-26 /** @@ -84,7 +84,7 @@ - (void)createCoordinator { */ // To specify we want to perform OCR recognition, initialize the OCR recognizer settings - PPBlinkOcrRecognizerSettings *ocrRecognizerSettings = [[PPBlinkOcrRecognizerSettings alloc] init]; + PPBlinkInputRecognizerSettings *ocrRecognizerSettings = [[PPBlinkInputRecognizerSettings alloc] init]; // We want raw OCR parsing [ocrRecognizerSettings addOcrParser:[[PPRawOcrParserFactory alloc] init] name:rawOcrParserId]; @@ -106,8 +106,8 @@ - (void)coordinator:(PPCoordinator *)coordinator didOutputResults:(NSArray