-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #117 from BlinkID/feature/v2.13.0
Feature/v2.13.0
- Loading branch information
Showing
44 changed files
with
950 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
// | ||
// PPBaseOcrEngineOptions.h | ||
// BlinkInputDev | ||
// | ||
// Created by Jura Skrlec on 09/08/2017. | ||
// | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
#import "PPMicroBlinkDefines.h" | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
/** | ||
* Options used for OCR process. These options enable you to customize how some OCR parsers work. | ||
* For example, you can set character whitelists, character height, supported fonts etc. | ||
*/ | ||
PP_CLASS_AVAILABLE_IOS(6.0) | ||
@interface PPBaseOcrEngineOptions : NSObject | ||
|
||
/** | ||
* Minimal height of the line of text given in pixels. All chars smaller than this value will be ignored. | ||
* | ||
* Setting the minimal line height can reduce the noise in OCR results. | ||
* | ||
* Default: 10 | ||
*/ | ||
@property (nonatomic, assign) NSUInteger minimalLineHeight; | ||
|
||
/** | ||
* Maximal height of the line of text given in pixels. | ||
* | ||
* Setting the maximal line height can reduce the noise in OCR results. | ||
* | ||
* Default: 200 | ||
*/ | ||
@property (nonatomic, assign) NSUInteger maximalLineHeight; | ||
|
||
/** | ||
* Maximal chars expected on the image. | ||
* | ||
* Setting this value can speed up the OCR processing because all images with more chars than specified will be ignored | ||
* (becuase in most cases they are noise) | ||
* | ||
* Default: 3000 | ||
*/ | ||
@property (nonatomic, assign) NSUInteger maxCharsExpected; | ||
|
||
/** | ||
* Specifies if the additional image processing which drops the background colors should be performed. | ||
* | ||
* Use this if you have black text on color backgrounds. | ||
* If you have black text on white background, using this is not needed as it slows down processing. | ||
* If you have color text, don't use it at all because color dropout will remove the text. | ||
* | ||
* Default: NO | ||
*/ | ||
@property (nonatomic, assign) BOOL colorDropoutEnabled; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
MicroBlink.framework/Headers/PPGlareStatusOverlaySubview.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// | ||
// PPGlareStatusOverlaySubview.h | ||
// MicroBlinkDev | ||
// | ||
// Created by Jura Skrlec on 14/09/2017. | ||
// | ||
// | ||
|
||
#import "PPOverlaySubview.h" | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
/** | ||
* Overlay subview presenting the status of glare detection. | ||
* The subview is presented as translucent view with detection status label in the center of ID Card View Finder View | ||
*/ | ||
PP_CLASS_AVAILABLE_IOS(6.0) | ||
@interface PPGlareStatusOverlaySubview : PPOverlaySubview | ||
|
||
@property (nonatomic) UILabel *label; | ||
|
||
- (instancetype)init NS_UNAVAILABLE; | ||
|
||
- (instancetype)initWithCoder:(NSCoder *)aDecoder NS_UNAVAILABLE; | ||
|
||
- (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.