Skip to content

Commit

Permalink
Merge pull request #44 from blinkinput/jenkins/master-build
Browse files Browse the repository at this point in the history
Jenkins/master build
  • Loading branch information
dCubelic authored Jun 10, 2019
2 parents 4730ac8 + 1f05c72 commit 3a8ab33
Show file tree
Hide file tree
Showing 459 changed files with 8,983 additions and 10,132 deletions.
2 changes: 1 addition & 1 deletion .swift-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0
5.0
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: objective-c
osx_image: xcode9.3
osx_image: xcode10.2

install: true
before_install: ./travis/before_script.sh
Expand Down
31 changes: 30 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Release notes

## 4.1.0

- Updates and addtitions
- updated overlay view controllers with new icons for close and torch buttons
- switched to using HTTPS in podspec for Cocoapods
- enabled capturing high resolution camera frames:
When custom UI integration is performed, use - `(void)captureHighResImage:(MBCaptureHighResImage)highResoulutionImageCaptured on MBRecognizerRunnerViewController`
When using provided scan overlay view controllers, high resolution full camera frames taken at the moment of successful scan are returned if this option is enabled through `MBOverlaySettings`.
- Added support for checking if scanning is unsupported for camera type on `MBRecognizerRunnerViewController`
- Added `reconfigureRecognizers` method to `MBBaseOverlayViewController`, enabling it on all it's subclasses

- Minor API changes
- renamed MicroBlink.framework to Microblink.framework
- renamed MicroBlink.bundle to Microblink.bundle
- `isScanningUnsupportedForCameraType:` is now class method of `MBMicroblinkSDK`

- Bugfixes
- templating recognizers no longer execute callbacks with valid state once they are valid on every frame even if nothing is 'detected'
- fixed a crash which happened when scanning region was set before overlay view controller loaded, but after it was initialized
- fixed missing init in `MBDotsResultSubview` for Swift
- fix memory issue while using current frame grabber
- updated overlay view controllers for iPhone X Series
- Fixed bug where SDK crashed with exception when the user wanted to use custom resource bundle
- Calling `reconfigureRecognizers` before showing camera now correctly applies supplied recognizers
- Fixed autorotation of overlays and `MBRecognizerRunnerViewController`
- Fixed localization issues with some overlays
- Fixed constraint errors on `MBDocumentVerificationOverlayViewController`
- Various other bug fixes and improvements

## 4.0.0

- new API, which is not backward compatible. Please check [README](README.md) and updated demo applications for more information, but the gist of it is:
Expand Down Expand Up @@ -315,4 +344,4 @@
- Initial documentation added
- Implemented Two sample apps
- One for simple integration showing how OcrRecognizer can easily be included in the app
- One with custom UI for FormScanning with Price, IBAN and Reference number parsing
- One with custom UI for FormScanning with Price, IBAN and Reference number parsing
Binary file added MicroBlink.bundle/Close.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MicroBlink.bundle/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MicroBlink.bundle/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified MicroBlink.bundle/Info.plist
Binary file not shown.
11 changes: 11 additions & 0 deletions MicroBlink.bundle/en.strings
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,14 @@
"photopay_light_on" = "Light";
"photopay_light_off" = "Light";
"photopay_camera_permission_denied" = "{font:@Medium}%@{/font} does not have permission to use the camera.\n\nPlease go to:\n• {font:@Medium}Settings{/font}\n• {font:@Medium}%@{/font}\n• Make sure that {font:@Medium}Camera{/font} is enabled";
"photopay_id_position_tooltip" = "Position ID card in this Frame";
"photopay_glare_status" = "Slightly move ID to eliminate glare.";
"blink_card_front_message" = "Scan the front side.";
"blink_card_back_message" = "Scan the back side.";
"blink_card_done_message" = "Done scanning.";

"photopay_front_verification_document" = "Place the front side of the document in the frame and wait for automatic scan.";
"photopay_back_verification_document" = "Place the back side of the document in the frame and wait for automatic scan.";
"photopay_front_splash_verification_document" = "Document front side";
"photopay_back_splash_verification_document" = "Document back side";
"photopay_done_splash_verification_document" = "Document scanning done";
Binary file added MicroBlink.bundle/ic_flash_off.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MicroBlink.bundle/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MicroBlink.bundle/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MicroBlink.bundle/ic_flash_on.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MicroBlink.bundle/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MicroBlink.bundle/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified MicroBlink.bundle/model_arabic.zzip
Binary file not shown.
Binary file modified MicroBlink.bundle/model_general_blink_ocr.zzip
Binary file not shown.
Binary file modified MicroBlink.bundle/model_micr.zzip
Binary file not shown.
Binary file modified MicroBlink.bundle/model_mrtd.zzip
Binary file not shown.
Binary file not shown.
Binary file removed MicroBlink.bundle/nn_model_BlinkInputOcr_kobe.zzip
Binary file not shown.
6 changes: 3 additions & 3 deletions MicroBlink.framework/Headers/MBAmountParser.h
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
//
// MBAmountParser.h
// MicroBlinkDev
// MicroblinkDev
//
// Created by Jura Skrlec on 09/03/2018.
//

#import <Foundation/Foundation.h>
#import "MBMicroBlinkDefines.h"
#import "MBMicroblinkDefines.h"
#import "MBParser.h"
#import "MBAmountParserResult.h"
#import "MBMicroBlinkInitialization.h"
#import "MBMicroblinkInitialization.h"

NS_ASSUME_NONNULL_BEGIN

Expand Down
4 changes: 2 additions & 2 deletions MicroBlink.framework/Headers/MBAmountParserResult.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
//
// MBAmountParserResult.h
// MicroBlinkDev
// MicroblinkDev
//
// Created by Jura Skrlec on 09/03/2018.
//

#import <Foundation/Foundation.h>

#import "MBMicroBlinkDefines.h"
#import "MBMicroblinkDefines.h"
#import "MBParserResult.h"

NS_ASSUME_NONNULL_BEGIN
Expand Down
19 changes: 19 additions & 0 deletions MicroBlink.framework/Headers/MBBarcodeEntities.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//
// Microblink.h
// MicroblinkFramework
//
// Created by Dino Gustin on 06/06/18.
// Copyright (c) 2012 Microblink Ltd. All rights reserved.
//

// Pdf417
#import "MBPdf417Recognizer.h"
#import "MBPdf417RecognizerResult.h"

// SimNumber
#import "MBSimNumberRecognizer.h"
#import "MBSimNumberRecognizerResult.h"

// Barcode
#import "MBBarcodeRecognizer.h"
#import "MBBarcodeRecognizerResult.h"
12 changes: 11 additions & 1 deletion MicroBlink.framework/Headers/MBBarcodeOverlaySettings.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MBBarcodeUISettings.h
// MicroBlink
// Microblink
//
// Created by Dino Gustin on 04/05/2018.
//
Expand All @@ -15,8 +15,18 @@ NS_ASSUME_NONNULL_BEGIN
MB_CLASS_AVAILABLE_IOS(8.0)
@interface MBBarcodeOverlaySettings : MBBaseOverlaySettings

/**
* If YES, viewfinder (4 corner markers) will move when payslip is detected
*
* Default: YES
*/
@property (nonatomic, assign) BOOL displayBarcodeDots;

/**
* If YES; view finder will be displayed
*
* Default: YES
*/
@property (nonatomic, assign) BOOL displayViewfinder;

@end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// BarcodeFramework
//
// Created by Jura on 22/12/13.
// Copyright (c) 2015 MicroBlink Ltd. All rights reserved.
// Copyright (c) 2015 Microblink Ltd. All rights reserved.
//

#import "MBBaseOverlayViewController.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MBBarcodeOverlayViewControllerDelegate.h
// MicroBlinkDev
// MicroblinkDev
//
// Created by Jura Skrlec on 17/01/2018.
//
Expand Down
31 changes: 17 additions & 14 deletions MicroBlink.framework/Headers/MBBarcodeRecognizer.h
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
//
// MBBarcodeRecognizer.h
// MicroBlinkDev
// MicroblinkDev
//
// Created by Jura Skrlec on 28/11/2017.
//

#import <Foundation/Foundation.h>

#import "MBMicroBlinkDefines.h"
#import "MBMicroblinkDefines.h"
#import "MBRecognizer.h"
#import "MBBarcodeRecognizerResult.h"
#import "MBMicroBlinkInitialization.h"
#import "MBMicroblinkInitialization.h"

NS_ASSUME_NONNULL_BEGIN

Expand All @@ -33,7 +33,7 @@ MB_INIT
*
* Default: NO
*/
@property (nonatomic, assign) BOOL scanAztec;
@property (nonatomic, assign) BOOL scanAztecCode;

/**
* Set this to YES to scan Code 128 1D barcodes
Expand Down Expand Up @@ -61,42 +61,42 @@ MB_INIT
*
* Default: NO
*/
@property (nonatomic, assign) BOOL scanEAN13;
@property (nonatomic, assign) BOOL scanEan13;

/**
* Set this to YES to scan EAN8 barcodes
*
* Default: NO
*/
@property (nonatomic, assign) BOOL scanEAN8;
@property (nonatomic, assign) BOOL scanEan8;

/**
* Set this to YES to scan ITF barcodes
*
* Default: NO
*/
@property (nonatomic, assign) BOOL scanITF;
@property (nonatomic, assign) BOOL scanItf;

/**
* Set this to YES to scan QR barcodes
*
* Default: NO
*/
@property (nonatomic, assign) BOOL scanQR;
@property (nonatomic, assign) BOOL scanQrCode;

/**
* Set this to YES to scan UPCA barcodes
*
* Default: NO
*/
@property (nonatomic, assign) BOOL scanUPCA;
@property (nonatomic, assign) BOOL scanUpca;

/**
* Set this to YES to scan UPCE barcodes
*
* Default: NO
*/
@property (nonatomic, assign) BOOL scanUPCE;
@property (nonatomic, assign) BOOL scanUpce;

/**
* Set this to YES to scan Pdf417 barcodes
Expand All @@ -108,10 +108,9 @@ MB_INIT
/**
* Set this to YES to allow slower, but better image processing.
*
* Defailt: YES
*
* Default: YES
*/
@property (nonatomic, assign) BOOL useSlowerThoroughScan;
@property (nonatomic, assign) BOOL slowerThoroughScan;

/**
* Allow enabling the autodetection of image scale when scanning barcodes.
Expand All @@ -120,12 +119,16 @@ MB_INIT
* resolution images but slows down the recognition process.
*
* NOTE: This setting is applied only for Code39 and Code128 barcode scanning.
*
* Default: YES
*/
@property (nonatomic, assign) BOOL autoScaleDetection;

/**
* Enable reading code39 barcode contents as extended data. For more information about code39
* extended data (a.k.a. full ASCII mode), see https://en.wikipedia.org/wiki/Code_39#Full_ASCII_Code_39
*
* Default: NO
*/
@property (nonatomic, assign) BOOL readCode39AsExtendedData;

Expand Down Expand Up @@ -156,7 +159,7 @@ MB_INIT
*
* Default: NO
*/
@property (nonatomic, assign) BOOL allowNullQuietZone;
@property (nonatomic, assign) BOOL nullQuietZoneAllowed;

@end

Expand Down
10 changes: 5 additions & 5 deletions MicroBlink.framework/Headers/MBBarcodeRecognizerResult.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
//
// MBBarcodeRecognizerResult.h
// MicroBlinkDev
// MicroblinkDev
//
// Created by Jura Skrlec on 28/11/2017.
//

#import <Foundation/Foundation.h>

#import "MBMicroBlinkDefines.h"
#import "MBMicroblinkDefines.h"
#import "MBRecognizerResult.h"
#import "MBBarcodeResult.h"

Expand All @@ -25,18 +25,18 @@ MB_INIT_UNAVAILABLE
/**
* Byte array with result of the scan
*/
- (NSData *_Nullable)data;
@property(nonatomic, strong, readonly, nullable) NSData* rawData;

/**
* Retrieves string content of scanned data
*/
- (NSString *)stringData;
@property(nonatomic, strong, readonly, nullable) NSString* stringData;

/**
* Flag indicating uncertain scanning data
* E.g obtained from damaged barcode.
*/
- (BOOL)isUncertain;
@property(nonatomic, assign, readonly) BOOL uncertain;

/**
* Method which gives string representation for a given PPBarcodeType enum value.
Expand Down
2 changes: 1 addition & 1 deletion MicroBlink.framework/Headers/MBBarcodeResult.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MBBarcodeResult.h
// MicroBlinkDev
// MicroblinkDev
//
// Created by Jura Skrlec on 28/11/2017.
//
Expand Down
23 changes: 23 additions & 0 deletions MicroBlink.framework/Headers/MBBarcodeUIComponents.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
//
// Microblink.h
// MicroblinkFramework
//
// Created by Dino Gustin on 06/06/18.
// Copyright (c) 2012 Microblink Ltd. All rights reserved.
//

// Overlay delegates
#import "MBBarcodeOverlayViewControllerDelegate.h"

// Overlays
#import "MBBarcodeOverlayViewController.h"
#import "MBBarcodeOverlaySettings.h"
#import "MBCustomOverlayViewController.h"

// Overlay subviews
#import "MBDotsSubview.h"
#import "MBDotsResultSubview.h"
#import "MBModernViewfinderSubview.h"
#import "MBTapToFocusSubview.h"
#import "MBResultSubview.h"
#import "MBGlareStatusSubview.h"
20 changes: 1 addition & 19 deletions MicroBlink.framework/Headers/MBBaseOcrEngineOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import <Foundation/Foundation.h>

#import "MBMicroBlinkDefines.h"
#import "MBMicroblinkDefines.h"

NS_ASSUME_NONNULL_BEGIN

Expand All @@ -19,24 +19,6 @@ NS_ASSUME_NONNULL_BEGIN
MB_CLASS_AVAILABLE_IOS(8.0)
@interface MBBaseOcrEngineOptions : 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.
*
Expand Down
2 changes: 1 addition & 1 deletion MicroBlink.framework/Headers/MBBaseOcrOverlaySettings.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MBBaseOcrOverlaySettings.h
// MicroBlink
// Microblink
//
// Created by Dino Gustin on 04/05/2018.
//
Expand Down
Loading

0 comments on commit 3a8ab33

Please sign in to comment.