Skip to content

Commit

Permalink
updated to version v2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dino.gustin committed Jun 30, 2016
1 parent 1351bef commit 0728517
Show file tree
Hide file tree
Showing 29 changed files with 754 additions and 64 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## 2.2.0

- iOS updates:
- Added recognizer for Singapore ID
- Added recognizer for Austrian ID
- Added recognizer for Czech ID

- iOS bugfixes:
- PPOcrEngineOptions are now applyed correctly when set

## 2.1.0

- iOS updates:
Expand Down
58 changes: 58 additions & 0 deletions MicroBlink.framework/Headers/PPAusIDBackRecognizerResult.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
//
// PPAusIDBackRecognizerResult.h
// BlinkIdFramework
//
// Created by Dino on 30/06/16.
// Copyright © 2016 MicroBlink Ltd. All rights reserved.
//

#import "PPBlinkOcrRecognizerResult.h"

/**
* Class representing values obtained when scanning back side of Austrian ID
*/
PP_CLASS_AVAILABLE_IOS(6.0) @interface PPAusIDBackRecognizerResult : PPBlinkOcrRecognizerResult

/**
* Returns the issuing authority of the Austrian ID.
* @return issuing authority of the Austrian ID.
*/
- (NSString *)issuingAuthority;

/**
* Returns the place of birth of the Austrian ID owner.
* @return place of birth of the Austrian ID owner.
*/
- (NSString *)placeOfBirth;

/**
* Returns the principal residence of the Austrian ID owner.
* @return principal residence of the Austrian ID owner.
*/
- (NSString *)principalResidence;

/**
* Returns the height of the Austrian ID owner.
* @return height of the Austrian ID owner.
*/
- (NSString *)height;

/**
* Returns the date of issue of the Austrian ID.
* @return date of issue of the Austrian ID.
*/
- (NSString *)dateOfIssue;

/**
* Returns the eye color of the Austrian ID owner.
* @return eye color of the Austrian ID owner.
*/
- (NSString *)eyeColor;

/**
* Returns the document number of the Austrian ID.
* @return document number of the Austrian ID.
*/
- (NSString *)documentNumber;

@end
33 changes: 33 additions & 0 deletions MicroBlink.framework/Headers/PPAusIDBackRecognizerSettings.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
//
// PPAusIDBackRecognizerSettings.h
// BlinkIdFramework
//
// Created by Dino on 30/06/16.
// Copyright © 2016 MicroBlink Ltd. All rights reserved.
//

#import "PPRecognizerSettings.h"

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

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

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

@end
46 changes: 46 additions & 0 deletions MicroBlink.framework/Headers/PPAusIDFrontRecognizerResult.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
//
// PPAusIDFrontRecognizerResult.h
// BlinkIdFramework
//
// Created by Dino on 30/06/16.
// Copyright © 2016 MicroBlink Ltd. All rights reserved.
//

#import "PPBlinkOcrRecognizerResult.h"

/**
* Class representing values obtained when scanning front side of Austrian ID
*/
PP_CLASS_AVAILABLE_IOS(6.0) @interface PPAusIDFrontRecognizerResult : PPBlinkOcrRecognizerResult

/**
* Returns the first name of the Austrian ID owner.
* @return first name of the Austrian ID owner.
*/
- (NSString *)firstName;

/**
* Returns the last name of the Austrian ID owner.
* @return last name of the Austrian ID owner.
*/
- (NSString *)lastName;

/**
* Returns the document number of the Austrian ID.
* @return document number of the Austrian ID.
*/
- (NSString *)documentNumber;

/**
* Returns the date of birth of the Austrian ID owner.
* @return date of birth of the Austrian ID owner.
*/
- (NSString *)dateOfBirth;

/**
* Returns the sex of the Austrian ID owner.
* @return sex of the Austrian ID owner.
*/
- (NSString *)sex;

@end
63 changes: 63 additions & 0 deletions MicroBlink.framework/Headers/PPAusIDFrontRecognizerSettings.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
//
// PPAusIDFrontRecognizerSettings.h
// BlinkIdFramework
//
// Created by Dino on 30/06/16.
// Copyright © 2016 MicroBlink Ltd. All rights reserved.
//

#import "PPRecognizerSettings.h"

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

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

/**
* Name of the image sent to didOutputMetadata method of scanDelegate object that contains signature.
* This image will be sent to scan delegate during recognition process if displaying of face image
* is enabled via displaySignatureImage property and receiving of dewarpedImage in MetadataSettings is enabled.
*/
@property (nonatomic, readonly) NSString* ID_SIGNATURE;

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

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

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

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

@end
6 changes: 3 additions & 3 deletions MicroBlink.framework/Headers/PPBaseOverlayViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
NS_ASSUME_NONNULL_BEGIN

/**
* Common base class for PhotoPay default overlay view controllers
* Common base class for default overlay view controllers
*/
PP_CLASS_AVAILABLE_IOS(6.0) @interface PPBaseOverlayViewController : PPOverlayViewController

/**
* Registers a subview for overlay events.
* Registers a subview for PPOverlaySubview protocol events.
*/
- (void)registerOverlaySubview:(UIView<PPOverlaySubview>*)subview;

/**
* Unregisters a subview for overlay events.
* Unregisters a subview for PPOverlaySubview protocol events.
*/
- (void)unregisterOverlaySubview:(UIView<PPOverlaySubview>*)subview;

Expand Down
16 changes: 16 additions & 0 deletions MicroBlink.framework/Headers/PPBlinkIDRecognizers.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,22 @@
#import "PPCroIDBackRecognizerSettings.h"
#import "PPCroIDBackRecognizerResult.h"

// Czech
#import "PPCzIDFrontRecognizerSettings.h"
#import "PPCzIDFrontRecognizerResult.h"
#import "PPCzIDBackRecognizerSettings.h"
#import "PPCzIDBackRecognizerResult.h"

// Austria
#import "PPAusIDFrontRecognizerSettings.h"
#import "PPAusIDFrontRecognizerResult.h"
#import "PPAusIDBackRecognizerSettings.h"
#import "PPAusIDBackRecognizerResult.h"

// Singapore
#import "PPSingaporeIDRecognizerSettings.h"
#import "PPSingaporeIDRecognizerResult.h"

// Use all recognizers from BlinkBarcode
#import "PPBlinkBarcodeRecognizers.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ PP_CLASS_AVAILABLE_IOS(6.0) @interface PPBlinkOcrRecognizerSettings : PPTemplati
@property (nonatomic) PPDetectorSettings *detectorSettings;

/**
* Templating API documents will be processed twice: once regulary and second time flipped upside down.
* With this enabled, Templating API documents will be processed twice: once regulary and second time flipped upside down.
*
* Default: NO
*/
Expand Down
6 changes: 4 additions & 2 deletions MicroBlink.framework/Headers/PPCoordinator.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ PP_CLASS_AVAILABLE_IOS(6.0)
#pragma mark - Direct processing of images

/**
* Processes a PPImage object using current settings.
* Results are passed to a given delegate object.
* Processes a PPImage object synchronously using current settings.
* Since this method is synchronous, calling it from a main thread will switch the call to alternate thread internally and output a warning.
*
* Results are passed a delegate object given upon a creation of PPCoordinator.
*
* @param image image for processing
*/
Expand Down
6 changes: 3 additions & 3 deletions MicroBlink.framework/Headers/PPCroIDFrontRecognizerSettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@ PP_CLASS_AVAILABLE_IOS(6.0) @interface PPCroIDFrontRecognizerSettings : PPRecogn
* This image will be sent to scan delegate during recognition process if displaying of face image
* is enabled via displayFaceImage property and receiving of dewarpedImage in MetadataSettings is enabled.
*/
@property (nonatomic, readonly) NSString* idFace;
@property (nonatomic, readonly) NSString* ID_FACE;

/**
* Name of the image sent to didOutputMetadata method of scanDelegate object that contains signature.
* This image will be sent to scan delegate during recognition process if displaying of face image
* is enabled via displaySignatureImage property and receiving of dewarpedImage in MetadataSettings is enabled.
*/
@property (nonatomic, readonly) NSString* idSignature;
@property (nonatomic, readonly) NSString* ID_SIGNATURE;

/**
* Name of the image sent to didOutputMetadata method of scanDelegate object that contains full document.
* This image will be sent to scan delegate during recognition process if displaying of face image
* This image will be sent to scan delegate during recognition process if displaying of full document image
* is enabled via displayFullDocumentImage property and receiving of dewarpedImage in MetadataSettings is enabled.
*/
@property (nonatomic, readonly) NSString* FULL_DOCUMENT_IMAGE;
Expand Down
34 changes: 34 additions & 0 deletions MicroBlink.framework/Headers/PPCzIDBackRecognizerResult.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
//
// PPCzIDBackRecognizerResult.h
// BlinkIdFramework
//
// Created by Dino on 30/06/16.
// Copyright © 2016 MicroBlink Ltd. All rights reserved.
//

#import "PPBlinkOcrRecognizerResult.h"

/**
* Class representing values obtained when scanning back side of Czech ID
*/
PP_CLASS_AVAILABLE_IOS(6.0) @interface PPCzIDBackRecognizerResult : PPBlinkOcrRecognizerResult

/**
* Returns the issuing authority of the Czech ID.
* @return issuing authority of the Czech ID.
*/
- (NSString *)authority;

/**
* Returns the address of the Czech ID owner.
* @return address of the Czech ID owner.
*/
- (NSString *)address;

/**
* Returns the personal number of the Czech ID owner.
* @return personal number of the Czech ID owner.
*/
- (NSString *)personalNumber;

@end
33 changes: 33 additions & 0 deletions MicroBlink.framework/Headers/PPCzIDBackRecognizerSettings.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
//
// PPCzIDBackRecognizerSettings.h
// BlinkIdFramework
//
// Created by Dino on 30/06/16.
// Copyright © 2016 MicroBlink Ltd. All rights reserved.
//

#import "PPRecognizerSettings.h"

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

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

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

@end
Loading

0 comments on commit 0728517

Please sign in to comment.